Comments (4)
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.
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.
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.
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)
- CI failures and `ConnectionPool` errors HOT 5
- [BUG] Explicit-comms shuffle does not obey `"_partitions"` column HOT 1
- `FutureWarning`s in `LocalCluster` not being raised as errors
- UCX serialization errors after `dumps_task` removal from Distributed HOT 4
- Dask-Cuda running out of memory with Cupy Sobel HOT 8
- Specifying Worker Listen Port HOT 2
- Add a cluster/worker option to log cuDF spilling statistics HOT 1
- Dask LocalCudaCluster compute error when `threads_per_worker` not equal to 1 HOT 5
- Failing tests on `distributed>2023.9.2` HOT 3
- `dask cuda` CLI doesn't work with click 8.0.x
- Add option to use `cudf` spilling with `dask cuda` HOT 2
- Add cli option to enable pytorch to use same memory pool as rapids. HOT 2
- New version bug HOT 3
- Dask-CUDA 23.12.0 requires `rapids-dask-dependency` on PyPI HOT 2
- Support Pandas version 2 HOT 10
- Support "dataframe.query-planning" config in ``dask.dataframe``
- `test_dataframe_shuffle`: (CuPy's?) CUB emits `warning: cuda_runtime_api.h [jitify] File not found` HOT 3
- `dask.dataframe` `DeprecationWarning` turns into error (no `dask.dataframe`) HOT 3
- Broken link in explicit_comms docs HOT 1
- Pin newer pandas version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dask-cuda.