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

Execution problems while running codes #2

Open
Soothysay opened this issue Apr 15, 2024 · 0 comments
Open

Execution problems while running codes #2

Soothysay opened this issue Apr 15, 2024 · 0 comments

Comments

@Soothysay
Copy link

Hi,
Our team has been trying to run your codes for our experiments. We have issues following the versions given for pytorch, pyg and other pytorch related installations. Our installation details are as follows:

# Install CUDA toolkits, including nvcc, other packages similar to the one we have in the /usr/local/cuda/
conda install -c conda-forge cudatoolkit-dev=10.1.243

# Add the path to the cudatoolkit installed by conda (if needed)
# export PATH=~/.conda/envs/<env_name>/bin:$PATH
# export CPATH=~/.conda/envs/<env_name>/include:$CPATH
# export LD_LIBRARY_PATH=~/.conda/envs/<env_name>/lib64:$LD_LIBRARY_PATH
# export DYLD_LIBRARY_PATH=~/.conda/envs/<env_name>/lib$DYLD_LIBRARY_PATH

# Downgrade pip to get older versions of torch-scatter, otherwise, version not found
python -m pip install pip==20.0.2 

pip install torch==1.4.0 torchvision==0.5.0

export TORCH=1.4.0
export CUDA=cu101

# add --no-index option if not found wheels
pip install torch-scatter==2.0.4 -f https://pytorch-geometric.com/whl/torch-${TORCH}+${CUDA}.html
pip install torch-sparse==0.6.0 -f https://pytorch-geometric.com/whl/torch-${TORCH}+${CUDA}.html
pip install torch-cluster==1.5.2 -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==1.6.3

# OR just
pip install torch-geometric==1.6.3 torch-sparse==0.6.1 torch-scatter==2.0.4 torch-cluster==1.5.4 -f https://pytorch-geometric.com/whl/torch-${TORCH}+${CUDA}.html

The error we get seems to originate from CUDA:
434781580_715681763973712_5166389960750891539_n

Can you help us figure out what we may be doing wrong or what can we do to mitigate this issue? Do you have implementations with higher versions of torch and pyg?

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

1 participant