AssertionError: Torch not compiled with CUDA enabled - Possible to update manually? #1323
-
Hey guys, Today Fooocus decided not to work. I'm not sure what happened, but it happened after the latest update. I tried to reinstalled Cuda (have version 12.3). I installed Anaconda and reinstalled PyTorch as that was a recommendation on google. I didn't see how it was connected since the libraries are self contained and I don't believe Fooocus is reaching out to the system's resources. Big surprise. It didn't work. Now i'm stuck. I think redownloading Fooocus might fix it, but man... installing it in the first place took ages, with huge files to download. Is there any way to selectively update these libraries, or why did the tool break like this? Is there some "check everything" update command I should be aware of? Here is the full dump. File "threading.py", line 1016, in bootstrap_inner |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Solved it. my run.bat file had this text in it.
I don't know how it ended up like this. I didn't touch the bat file since installing. But removing ALL this, and just putting in
EDIT: spoke too soon. Now I am getting RuntimeError: Device type privateuseone is not supported for torch.Generator() api when I actually try to generate something. |
Beta Was this translation helpful? Give feedback.
-
you are likely mislead by some bad online tutorials and broken your OS. |
Beta Was this translation helpful? Give feedback.
-
You are right. I just re-downloaded foocus, and copy pasted all the models so I didn't have to redownload everything. Works perfect. Now I know I also don't have to redownload everything. |
Beta Was this translation helpful? Give feedback.
you are likely mislead by some bad online tutorials and broken your OS.
fooocus does not need you install any environment like cuda.
you may try download fooocus again and just run it directly.
please only follow official instructions.