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

AttributeError: 'NoneType' object has no attribute 'origin' #14

Open
skycr4ft opened this issue Apr 9, 2022 · 5 comments
Open

AttributeError: 'NoneType' object has no attribute 'origin' #14

skycr4ft opened this issue Apr 9, 2022 · 5 comments

Comments

@skycr4ft
Copy link

skycr4ft commented Apr 9, 2022

Hi @rusty1s, thank you for your great contribution to large-scale graph learning. These days I am facing a problem regarding the configuration of GAS. This issue occurs while importing the GAS library. I've tried many ways, shifting the version of torch, cuda, and torch-sparse, to fix it, but none of them make a difference. So I wanna ask you what can I do with it?
issue

@rusty1s
Copy link
Owner

rusty1s commented Apr 9, 2022

This has nothing to do with PyTorch or torch-sparse. Are you sure you installed the PyGAS library (there should exist some *.so files inside torch_geometric_autoscale. Otherwise, please run

pip uninstall torch_geometric_autoscale
pip install --verbose .

and report the log.

@skycr4ft
Copy link
Author

skycr4ft commented Apr 9, 2022

The library is successfully installed (but I don't find some *.so files in the directory you said), and the problem still exists
issue
.

@skycr4ft
Copy link
Author

skycr4ft commented Apr 9, 2022

Ohhh, there are indeed two *.so files, and it looks like these two are causing the problem.
so
lib

@rusty1s
Copy link
Owner

rusty1s commented Apr 9, 2022

Mmh, in case the *.so files exist, importlib should find them as well (in which case find_spec should not return None). Can you do some manual debugging on why these libraries are not found?

@WendyQi-Guo
Copy link

Ohhh, there are indeed two *.so files, and it looks like these two are causing the problem. so lib

Hello, have you been able to resolve this issue? I've encountered the same problem as you.

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

3 participants