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

Torch not compiled with CUDA enabled #145

Open
8mike opened this issue May 8, 2023 · 1 comment
Open

Torch not compiled with CUDA enabled #145

8mike opened this issue May 8, 2023 · 1 comment

Comments

@8mike
Copy link

8mike commented May 8, 2023

I have tested the installation via

(riffusion) C:\Users\m>pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116

but it all seems to be installed correctly, however I get that error when using CUDA

I am on Windows 10, on RTX2060 and using CUDA 11_6

@mysticallego
Copy link

mysticallego commented Nov 28, 2023

I had to revert the version of torch to get it working:
pip uninstall torch torchaudio torchvision
pip install torch==2.0.1 torchaudio==2.0.2 torchvision==0.15.2 --extra-index-url <whatever version of CUDA (11.8 for me)>
Not sure if this will help in your case but worth a shot I think

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