You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been running through the an issue when running AStartNet, raised from torchdrug.
I install the dependencies as follow, from a py3.10 fresh new conda environment
However, after running the basic command CUDA_VISIBLE_DEVICES=0 python script/run.py -c config/transductive/fb15k237_astarnet.yaml --gpus 0
Torchdrug raises the following error message: fatal error: ATen/SparseTensorUtils.h: No such file or directory. Which is a sad but true; however, I don't know what else to try and install and play around multiple dependencies to solve it.
Is it similar in a way from what you did experience?
Thanks
Last callback of the error:
In file included from /home/amolina/miniconda3/lib/python3.11/site-packages/torchdrug-0.2.1-py3.11.egg/torchdrug/layers/functional/extension/rspmm.cu:6:
/home/amolina/miniconda3/lib/python3.11/site-packages/torchdrug-0.2.1-py3.11.egg/torchdrug/layers/functional/extension/rspmm.h:6:10: fatal error: ATen/SparseTensorUtils.h: No such file or directory
6 | #include <ATen/SparseTensorUtils.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
I've checked the commits submitted in the past. In the new version of PyTorch, the SparseTensorUtils.h file has been moved to the ATen/native directory. You can try to modify the header file paths of rspmm.h and spmm.h under torchdrug/layers/functional/extension/:
replace #include <ATen/SparseTensorUtils.h>
with #include <ATen/native/SparseTensorUtils.h>.
I managed to make the code run successfully after making such modifications.
I've been running through the an issue when running AStartNet, raised from torchdrug.
I install the dependencies as follow, from a py3.10 fresh new conda environment
However, after running the basic command
CUDA_VISIBLE_DEVICES=0 python script/run.py -c config/transductive/fb15k237_astarnet.yaml --gpus 0
Torchdrug raises the following error message:
fatal error: ATen/SparseTensorUtils.h: No such file or directory
. Which is a sad but true; however, I don't know what else to try and install and play around multiple dependencies to solve it.Is it similar in a way from what you did experience?
Thanks
Last callback of the error:
The text was updated successfully, but these errors were encountered: