-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I have added support for GPU processing for CUDA-enabled GPUs through cupy. Calling ddm.processing.dmm will automatically determine whether cupy is installed properly.
Installation
In order to use cupy, you will need the following requirement: https://docs.cupy.dev/en/stable/install.html#requirements
I have excluded cupy from the environment.yml as not everyone has a GPU and the cuda-toolkit is ~1Gb. In order to install it, add the cuda option to the pip installation of the package.
pip install -e .[dev,cuda]I used these references:
- https://blog.dask.org/2019/01/03/dask-array-gpus-first-steps
- https://stackoverflow.com/questions/56776385/how-to-create-a-dask-array-from-cupy-array
TODO
In order to make use of the dask dashboard, you will need to install dask-cuda. However, this package is currently only available for Linux.
Metadata
Metadata
Assignees
Labels
No labels