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

AssertionError: Torch not compiled with CUDA enabled (+Another Issue) #20

Closed
bazookablue opened this issue Sep 30, 2022 · 3 comments
Closed

Comments

@bazookablue
Copy link

Hey! So I've been trying to figure this out for a bit, I'm a bit new to the whole process. I'm using Jupyter notebook to run the runpod cells and I've basically gotten to the training but after a few seconds of running that cell I receive the following error:

image

I've done a bit of google search and can't quite find anything to help me in this situation. Thanks for the help in advanced!

@Waner-Rodrigues
Copy link

Hey bazooka, did you fixed the error? I am getting the same, and I tried everything I could find to fix it and nothing worked

@Vermorxt
Copy link

You need to install the latest torch version to fix the Cuda issue:

pip uninstall torch
pip cache purge
pip install torch -f https://download.pytorch.org/whl/torch_stable.html

pytorch/pytorch#30664 (comment)

@GITAccountForAIdl
Copy link

GITAccountForAIdl commented Oct 28, 2023

Thank you, Vermorxt. I got that 'AssertionError' after I tried to run a newly (to me) installed ComfyUI, which was after I had installed Cuda and CuDNN. Your solution worked (whereas numerous other solutions about which I read did not).

Vermorxt commented:
You need to install the latest torch version to fix the Cuda issue:
pip uninstall torch
pip cache purge
pip install torch -f https://download.pytorch.org/whl/torch_stable.html

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

4 participants