Closed xyfffff closed 1 year ago
The segmentation fault seems due to the failed installation of our TSP sampling library. As far as I am aware of, there are two possible causes of your installation issue:
.so
file in the torch_scatter
library. You will have to properly install torch_scatter
before installing our TSP sampling library.torch_sampling/setup.py
might fail to find the path of that .so
file. If so, please search for the file manually and add its path to torch_sampling/setup.py
. Note that there can be two similar .so
files, one for CPU and the other for GPU. Please use the GPU version.If you have any questions, please feel free to let me know.
Hi Ruizhong,
I am encountering persistent installation issues with several packages and am reaching out for assistance. I have attempted various combinations of versions for
pytorch
,scatter
,sparse
,cluster
, andgeometric
, but keep running into errors.The errors vary: sometimes I encounter an issue with
LIB_PATH = os.getenv('LD_LIBRARY_PATH').split(':')[-1]
, other times I face the errortorch_sparse/_convert_cuda.so: undefined symbol: _ZNSt15__exception_ptr13exception_ptr9_M_addrefEv
, and at times I run into a segmentation fault as follows:I am unclear about the root cause of these issues. It could be due to my NVIDIA CUDA version (12.1), my GCC version (11.4), or my operating system (Ubuntu 22.04.2 LTS).
I am unable to install libraries like
scatter
. I am wondering if these libraries are particularly sensitive to hardware configurations? Do you have any suggestions for resolving these issues or any alternative approaches that I might consider?Thank you for your time and assistance.
Best regards, Yifan