Closed RenzeLou closed 2 years ago
GATConv
makes use of our CUDA kernels in torch-scatter
, while some GNN ops like GraphConv
and RGCNConv
are implemented in pure PyTorch.
As such, it looks like you have installed torch-scatter
with CUDA 11.1 wheels, while your local CUDA version points to 11.4.
Thanks a lot for your kind reply! I will try to solve it.
I have solved this problem by installing multiple cudatoolkits.
Just follow this blog, and install the cuda which is compatible with your torch-scatter: https://towardsdatascience.com/installing-multiple-cuda-cudnn-versions-in-ubuntu-fcb6aa5194e2
Then you can use different versions of cudatoolkits, and there is no need to change any of your environment.
🐛 Bug
Environment
3.9
): 3.8.0torch-scatter
): torch_scatter-2.0.7; torch_sparse-0.6.9; torch_spline_conv-1.2.1; torch_cluster-1.5.9Additional context
Dear authors,
Recently, I tried to use “Graph Attention Networks” with PyG, namely the
GATConv
. However, there is an unexpected error when I try to run it on GPU:Though I understand this message denotes the incompatible of my
libnvrtc-builtins.so
(11.4.152), I am pretty confused ... no such error when I use any other class (e.g.,GraphConv
,RGCNConv
).