-
Notifications
You must be signed in to change notification settings - Fork 76
KeOps cannot find GPU, but the cuda toolkit has been downloaded #316
Description
When importing pykeops, the warnings are as follows:
[KeOps] Warning :
The default C++ compiler could not be found on your system.
You need to either define the CXX environment variable or a symlink to the g++ command.
For example if g++-8 is the command you can do
import os
os.environ['CXX'] = 'g++-8'
[KeOps] Warning : Cuda libraries were not detected on the system ; using cpu only mode
If I run pykeops.test_torch_bindings(), then the output is:
File "D:\study\software\anaconda3\envs\PyTorch\lib\site-packages\pykeops\torch\generic\generic_red.py", line 77, in forward
myconv = keops_binder["nvrtc" if tagCPUGPU else "cpp"](
KeyError: 'nvrtc'
However, I have installed cuda-toolkit 11.6 in the same python env using conda install -c nvidia/label/cuda-11.6.0 cuda-toolkit. I wonder how I can deal with this issue?