Coder Social home page Coder Social logo

Comments (2)

zclandry avatar zclandry commented on July 18, 2024

Is there a working Thrust-Free version of the Somoclu Python package available? I am experiencing an issue similar to #89, where the GPU training is slower than the CPU. While I would think that it might benefit from scaling, If I try to use more than a few hundred points, it throws the following error:

terminate called after throwing an instance of 'thrust::system::system_error'
what(): device free failed: an illegal memory access was encountered
Aborted

I am currently doing this with a 512x512 map w/ a feature vector length of 956. I can train with 256 points or so, but trying to 512 fails. With 256 points it is slightly (3 seconds) faster than the dense CPU kernel.

I am currently running Debian Buster, with a M1000M Quadro GPU using the Nvidia 410.48 drivers and CUDA 10.0 installed via the cuda_10.0.130_410.48_linux.run file provided by NVIDIA.

Thanks for any help you might be able to give.

from somoclu.

espg avatar espg commented on July 18, 2024

...any status on this? It seems like Thrust implementation has been taken over by CUDA (see https://www.reddit.com/r/cpp/comments/7erub1/anybody_still_using_thrust/ ), so I'm curious if there's a way to call the updated routines in CUDA without having to fundamentally rewrite the kernels...

My understanding is that this is why the behavior in #89 happens, so it'd be great to use more modern GPU functionality (especially re: memory management).

from somoclu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.