InstallationΒΆ

Python >= 3.7

First, you need to install this

pip install glcm-cupy

Then, you need to install CuPy version corresponding to your CUDA version

I recommend using conda-forge as it worked for me :)

conda install -c conda-forge cupy cudatoolkit=<your_CUDA_version>

E.g: For CUDA 11.6,

conda install -c conda-forge cupy cudatoolkit=11.6

To install CuPy manually, see this page

Note

This supports RAPIDS cucim, automatically enabled if installed. RAPIDS Installation Guide