Closed vinven7 closed 2 years ago
Please make sure that the CUDA version and PyTorch build in your environment are consistent.
A recommended setup is to use conda for managing them:
conda install cudatoolkit=11.1 -c conda-forge
conda install pytorch -c pytorch
You may try this out and see if the problem remains. thanks.
@vinven7 closed the issue for now. please feel free to reopen it if the issue does not get resolved.
I followed all the instructions in the repo to install it from the source. Torch version - 1.10.2 torchtext - 0.11.2 cuda - 11.1
By when I run https://github.com/graph4ai/graph4nlp_demo/blob/main/AAAI2022_demo/semantic_parsing.ipynb
I get the error:
See the full error here:
`[ Using CUDA ] /home/synthesisproject/anaconda3/envs/g4nlp/lib/python3.8/site-packages/graph4nlp_cu111-0.5.5-py3.8.egg/graph4nlp/pytorch/modules/graph_embedding_learning/gat.py:259: UserWarning: The residual option must be False when num_heads > 1 warnings.warn("The residual option must be False when num_heads > 1") /home/synthesisproject/anaconda3/envs/g4nlp/lib/python3.8/site-packages/torch-1.10.2-py3.8-linux-x86_64.egg/torch/cuda/init.py:143: UserWarning: NVIDIA RTX A5000 with CUDA capability sm_86 is not compatible with the current PyTorch installation. The current PyTorch install supports CUDA capabilities sm_37 sm_50 sm_60 sm_70. If you want to use the NVIDIA RTX A5000 GPU with PyTorch, please check the instructions at https://pytorch.org/get-started/locally/
warnings.warn(incompatible_device_warn.format(device_name, capability, " ".join(arch_list), device_name))
RuntimeError Traceback (most recent call last)