Skip to content

Add GPU support with cupy and dask #49

@mwakok

Description

@mwakok

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:

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
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions