Describe the bug
While running the leiden algorithm rsc.tl.leiden(adata, key_added="leiden_res0_25", resolution=0.25 , I got a "CUDA error encountered 101 cudaErrorInvalidDevice invalid device ordinal"
Just setting rmm.reinitialize managed_memory to False resolved the issue
Expected behavior
Just information for other people running into the same error
Environment details (please complete the following information):
- Environment location: Conda running in WSL2
- Linux Distro/Architecture: Ubuntu 22.04.4 LTS
- GPU Model/Driver: [RTX 3070 and driver 31.0.15.5161]
- CUDA: 12.4
- Method of Rapids install: conda