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

CUDA/PyTorch version mismatch #109

Open
buemi opened this issue Jul 31, 2023 · 1 comment
Open

CUDA/PyTorch version mismatch #109

buemi opened this issue Jul 31, 2023 · 1 comment

Comments

@buemi
Copy link

buemi commented Jul 31, 2023

Hi.
I receive this error when I launch the setup.py script:

RuntimeError:
The detected CUDA version (11.7) mismatches the version that was used to compile
PyTorch (10.2). Please make sure to use the same CUDA versions.

I did several tests uninstalling and installing several CUDA and PyTorch versions without success.
What is the correct CUDA/PyTorch versions pair to use?
Note that I followed the instructions to create the correct dependencies by the environment.yaml file and it ends with no errors.

@ChihYuanTeng
Copy link

@buemi The official anaconda installation will install Pytorch 1.10 which is compatible with CUDA 11.3.

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

2 participants