Open EauDeData opened 1 month ago
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: