Open Yeah2333 opened 1 year ago
Hi @Yeah2333 ,
Thanks for your interest in our library!
As discussed in the issue #236, different CUDA versions are not compatible with each other.
You should make sure that your program has access to the correct version of CUDA, by setting the environment variable CUDA_PATH
to a suitable value - see here for details. (I would tend to prefer keeping compatibility between KeOps and PyTorch, but I do not know how crucial this is.)
Alternatively, a simpler option would be to use our official Docker image via Docker / Singularity, as documented here. You may customize your configuration by tweaking our Dockerfile. On heterogeneous configurations that already contain different versions of CUDA, this is really the recommended, hassle-free option.
What do you think?
I use pip to install pykeops, and system cuda version is 10.2. But i didn't export cuda path in zshrc. So the pytorch using cuda tool kit 11.3 which in conda env. But when import pykeops, there is an error: `Python 3.9.16 (main, Mar 8 2023, 14:00:05) [GCC 11.2.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information.
It seeems error with nvrtcGetCUBINSize. And i find a issue about nvrtcGetCUBINSize is https://github.com/getkeops/keops/issues/236#issue-1184859865.