New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation issue: undefined symbol: __cudaPopCallConfiguration #19
Comments
I am facing the same problem. Did you figure out how to solve the problem? |
Not yet. |
Did you try to download the repo and run python setup.py install? |
Yes, same issue occurs.
|
Does the PyTorch CUDA version Can you make sure the official PyTorch extensions run on your machine? |
Thanks for the tip! The system has multiple
Another problem I was having while testing configurations was failing to sufficiently clean out binaries built with the wrong compiler. For others following along, I found this was enough to clean things:
And then use
Problem solved! |
@rusty1s Thanks for pointing out to check the PyTorch CUDA version and the Cuda version installed on the system. I had Cuda-9.2 installed on my system and with PyTorch 1.0, Cuda-9.0 was getting installed by default. Therefore there was a mismatch. I am using Ubuntu 18.04, therefore I changed to CUDA-10 instead of CUDA-9 in order to avoid mismatch of nvcc compiler & gcc/g++ compilers and then installed Pytorch for CUDA-10.0. After that I followed the same steps as mentioned by @davidbau (with change of cuda-10.0) and everything worked. Thank you both of you. |
Cool that it works now :) |
Thanks for the great response! I have the same problem here, but I am still getting stuck. I am wondering if I could get some suggestions. My PyTorch was installed on a Conda environment. Inside the environment, the CUDA version is:
My cudatoolkit's gives:
Yes, there is a mismatch. I tried your suggestion with However, I cannot find the path of that cudatoolkit. Thanks in Advanced. |
No, you want nvcc for 9.0 not 9.2 since that's the version of cuda you're running inside your environment. Since nvcc doesn't get included in the conda cuda packages, you need to just install it separately. E.g., on ubuntu
|
On linux, when I try to install and use pytorch_scatter, I get
undefined symbol: __cudaPopCallConfiguration
immediately upon importing torch_scatter.Using pytorch 1.0.0 and CUDA 9.0 is on the PATH (and include is on the CPATH):
I've tried uninstalling and resintalling (without cache) on pip
pip install --no-cache-dir torch_scatter
, but the error remains. Any tips?Details - ubuntu 16.04
Environment installed via conda using the following env.yml
The text was updated successfully, but these errors were encountered: