Giter Site home page Giter Site logo

Comments (4)

mrocklin avatar mrocklin commented on September 17, 2024

There isn’t a great answer to your question currently. But if you wanted to do things manually you could skip LocalCUDACluster and create dask workers manually

CUDA_VISIBLE_DEVICES=0 dask-worker ... # use the dask-worker command line arguments as you like
CUDA_VISIBLE_DEVICES=1 dask-worker ... # use the dask-worker command line arguments as you like
dask-scheduler ...

Currently there is a bit of work to make things like LocalCUDACluster more configurable happening here: dask/distributed#2675

In general though, I have no idea what’s going to happen when mixing many processes and GPUs. Maybe this is ok?

from dask-cuda.

chinmaychandak avatar chinmaychandak commented on September 17, 2024

So, I created workers manually. Now, I am able to use both GPUs; however, the throughput is lower than using a single GPU, because some workers go into an unresponsive event loop (and some even crash and fail to restart) either due to GIL issues or moving around large chunks of data.

Not sure why this isn't the case when using a single GPU. Any ideas as to where the problem might be?

from dask-cuda.

mrocklin avatar mrocklin commented on September 17, 2024

Unfortunately not. It could be many things. Without more information I doubt I'll be able to help. Often at this stage the recommendation is to try to reduce down your situation to a minimal reproducible example.

from dask-cuda.

pentschev avatar pentschev commented on September 17, 2024

The problem reported seems largely due to communication bandwidth, which is being worked with UCX-Py, possibly similar to #216. Since this has gone stale anyway, I'm closing. Feel free to reopen if you can provide more details and an example.

from dask-cuda.

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.