Closed 4rozenwolves closed 10 months ago
I managed to compile it when I downgrade cuda to 11.8.0 instead of 12.1.0 with cudnn to 8.6 instead of 8.8. The same error also happen with python-torch-sparse and is solved similarly.
Interesting. Clever find. Let's keep this issue open so that it has more visibility or until it gets fixed upstream to work with later cuda versions.
Another solution to build python-torch-scatter when using cuda 12.1 is to change to gcc-11 and g++-11 (doesn't work with gcc-12).
It can be done by using sudo ln -sf /usr/bin/gcc-11 /opt/cuda/bin/gcc
and sudo ln -sf /usr/bin/gcc-11 /opt/cuda/bin/gcc
Looks like updates to the dependency stack has resolved any build issues, as I can build just fine.
I got this error when building.