Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question #5

Closed
YBUZYX opened this issue Sep 24, 2024 · 9 comments
Closed

question #5

YBUZYX opened this issue Sep 24, 2024 · 9 comments

Comments

@YBUZYX
Copy link

YBUZYX commented Sep 24, 2024

Hello, dear professor, your work is very good, I have encountered some problems when running the program, can you help me solve it, he has a "Segmentation fault (core dumped)" problem, I have limited ability to solve it, I hope you can help me, thank you very much.

@ddsediri
Copy link
Owner

Hi @YBUZYX,

Thank you for your interest in our work. I saw that you had previously opened and closed an issue on this so I assumed it was resolved.

Can you attach details of your environment? Also, what script are you trying to run and what output are you getting? It would be helpful to get as much information as possible.

Also, please verify you have the following dependencies installed:

Python 3.9
Ubuntu 22.04
CUDA 11.8
PyTorch 2.0.1
PyTorch3D 0.7.4
PyG 2.3.1

Cheers,
Dasith.

@YBUZYX
Copy link
Author

YBUZYX commented Sep 24, 2024

Hello Since my machine supports CUDA11.6 up to CUDA, my pytorch version has also changed, but I don't feel like it's a problem with pytorch and CUDA versions, it may be a problem with other library versions, in addition, the file I'm running is a test file, can you help me solve it Thank you very much
torch 1.13.1+cu116
torch-cluster 1.6.0
torch-geometric 2.6.0
pytorch3d 0.7.4

@ddsediri
Copy link
Owner

ddsediri commented Sep 25, 2024 via email

@YBUZYX
Copy link
Author

YBUZYX commented Sep 25, 2024

Dear professor, there is no error reported, only one sentence, which is Segmentation fault (core dummy)
0ca4e8035593fb3c3d6e725a0ea991d

@ddsediri
Copy link
Owner

ddsediri commented Sep 25, 2024

Hi @YBUZYX can you try just importing torch_geometric using the command python -c "import torch_geometric". The reason is that your PyG version is mismatched and it might cause conflicts with the CUDA version (see here: pyg-team/pytorch_geometric#4363).

Let me know how you go, thanks!

@YBUZYX
Copy link
Author

YBUZYX commented Sep 25, 2024

Dear Professor, you are really impressive. As you speculated, there was an error with it. So, how should I solve it and install which version
d15b384f8145cdb1b139929fee296a6

@ddsediri
Copy link
Owner

ddsediri commented Sep 25, 2024

Ah ok, that seems to be the mis-match issue between PyG and Pytorch+CUDA. Can you follow the instructions at the link below and install the PyG version compatible with your Pytorch and CUDA libraries: https://pytorch-geometric.readthedocs.io/en/latest/install/installation.html#installation-from-wheels

You'll have to uninstall the current PyG package and reinstall it. Not sure if they have a wheel for Pytorch 1.13.1 but you can try something like:
pip install pyg_lib torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-1.13.1+cu116.html

@YBUZYX
Copy link
Author

YBUZYX commented Sep 25, 2024

Great, dear professor. I have solved this problem and found that there is an issue with torch_cluster, which further causes problems with torch_geometric. Thank you very much for your guidance. I wish you a happy life, good health, and a thriving career every day. I look forward to you publishing equally excellent papers.

@ddsediri
Copy link
Owner

That's great that you managed to resolve the issue, good luck with your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants