Pytorch version #47
-
Hello, I am currently going through the initial steps of DeepH-pack and have encountered the following error message below during the training phase after loading the processed files (Command: deeph-train --config train.ini). I suspect this error may be related to compatibility issues between our NVIDIA A100 and PyTorch versions. I am currently using PyTorch 1.9.1 with Cuda 11.2, but upon checking the recommended requirements, it appears that PyTorch 1.9.1 is strictly specified. I would greatly appreciate any helpful comments or suggestions regarding this matter. Is it advisable to upgrade the PyTorch version? Your input would be of great help. Thank you! /u/kkang/.local/lib/python3.9/site-packages/torch/cuda/init.py:106: UserWarning: warnings.warn(incompatible_device_warn.format(device_name, capability, " ".join(arch_list), device_name)) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
It seems like there might be an issue with your PyTorch installation. I suggest running the following commands to check the version of PyTorch and the CUDA version: If you find any compatibility issues, it may be advisable to upgrade your PyTorch version or reinstall it to ensure a proper installation. |
Beta Was this translation helpful? Give feedback.
Based on my usage experience, the CUDA version of PyTorch does not need to be exactly the same as the CUDA version on your machine. For example, I have a computer with CUDA 11.4 installed, and I have installed PyTorch with CUDA version 11.1, and it works fine.
The reason I suggest you install PyTorch with CUDA 11.1 is that I checked the pre-compiled binary files provided by PyTorch for version 1.9.1, and they only have CUDA version 11.1 available. You can see this by searching for
torch-1.9.1
on https://download.pytorch.org/whl/torch_stable.html.That's also why you ended up installing the CPU version of PyTorch when you tried to install CUDA version 11.2. If you want to install PyTorch 1…