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

Support for Cuda 12.1 #329

Open
ammaryasirnaich opened this issue Sep 3, 2024 · 2 comments
Open

Support for Cuda 12.1 #329

ammaryasirnaich opened this issue Sep 3, 2024 · 2 comments

Comments

@ammaryasirnaich
Copy link

I have Cuda 12.1 installed but it seems the framework supports Cuda 11.8, is there any workaround instead of downgrading the Cuda version?

The detected CUDA version (12.1) mismatches the version that was used to compile
PyTorch (11.8). Please make sure to use the same CUDA versions.

@zniihgnexy
Copy link

wierd i have the opposite:

The detected CUDA version (11.8) mismatches the version that was used to compile
PyTorch (12.1). Please make sure to use the same CUDA versions.

did you solve it? if so, could you tell me how do you fix that, many thanks :)

@RFLeijenaar
Copy link

Do you use Conda to install PyTorch by any chance? In that case it might help to remove:

  • cuda-toolkit==12.1 (or any other version).

When you have (in the environment description):

  • pytorch-cuda==12.1

It should already install the correct cudatoolkit version. This fixed the issue for me in building another package.

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

3 participants