-
Notifications
You must be signed in to change notification settings - Fork 195
Program halts whenever trying to import ogb.graphproppred #39
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
Comments
Hi! |
can you tell me which version of the packages worked for you?
|
I installed python 3.9 along with pytorch and torchvision as follow-
but it is still having the same issue. note that while running the code for the first time, I experience the following error:
I changed it to |
We used these versions for development. It is definitely a good idea to first try with those! Generally, this seems to be a PyG / PyTorch issue... I am sorry but I am afraid that we are not the right source for support. I would assume you get it running with the versions we used. Otherwise, I would suggest that you open an issue on the PyG GitHub. |
Thanks for the help! At last I am able to run the code with small dataset with a few modification to the code. |
Thought of other might get help so posting here my detailed approach:
In In
In Line 44: I applied the following modifications:
|
Hi I am able to run from torch_geometric.data import InMemoryDataset successfully. But whenever I try to import anything from ogb, the program stuck for infinite time. Import code is:
from ogb.graphproppred import Evaluator
I followed the following command to install torch in conda environment:
CUDA=cu113
TORCH=1.11.0
pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-${TORCH}+${CUDA}.html
pip install torch-sparse -f https://pytorch-geometric.com/whl/torch-${TORCH}+${CUDA}.html
pip install torch-cluster -f https://pytorch-geometric.com/whl/torch-${TORCH}+${CUDA}.html
pip install torch-spline-conv -f https://pytorch-geometric.com/whl/torch-${TORCH}+${CUDA}.html
pip install torch-geometric
Note that, I am using Ubuntu. My Nvidia-smi output:
$ nvidia-smi
Wed Apr 20 05:09:04 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.119.03 Driver Version: 450.119.03 CUDA Version: 11.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce GTX 1070 Off | 00000000:01:00.0 On | N/A |
| 27% 36C P8 9W / 151W | 1227MiB / 8116MiB | 1% Default |
| | | N/A
The text was updated successfully, but these errors were encountered: