Torch reports CUDA not available #911
-
hi i went and downloaded cuda_12.1.1_531.14_windows.exe , i installed most of the things but didnt install the display drivers . if not, how do i refresh Torch ? cause the warning is still here another question , is Torch dependent on the Python install and reside in the python folder and is common for everything , or per project , like , is there a torch in my a1111 and another torch in my kohya folder ? thanks |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 3 replies
-
i did the update from yesterday : |
Beta Was this translation helpful? Give feedback.
-
ok , i m trying from scratch with CUDA 11.8 |
Beta Was this translation helpful? Give feedback.
-
ok , with the right cuda (11.8), and the right xformers(0.0.20) , clean install , the good accelerate config , it starts with the GPU this time |
Beta Was this translation helpful? Give feedback.
-
Really appreciate you posting the resolution including pip code. I had a dependency conflict when using the listed versions, so I had to update the torchversion to work with torch 2.0.1. pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 --extra-index-url https://download.pytorch.org/whl/cu118 |
Beta Was this translation helpful? Give feedback.
-
This approach did not work for me. However, as part of the error message I received instructed "The conflict is caused by: To fix this you could try to:
|
Beta Was this translation helpful? Give feedback.
-
even though the the above process allowed everything to load and the the Browser interface launched, I still received this error: I went through many possible solutions, like configuring CUDA_HOME and installing the transformers to the correct version,I still got the same error. It now works by finally doing this: I now have my gpu Hope this helps others |
Beta Was this translation helpful? Give feedback.
ok , with the right cuda (11.8), and the right xformers(0.0.20) , clean install , the good accelerate config , it starts with the GPU this time