Run locally on desktop rather than online colab? #137
Replies: 3 comments 10 replies
-
hmm. I'm not sure (I don't have a windows machine, and even if I set up a windows machine in CI here, it won't have a GPU) I think as long as you have SOME environment with torch correctly installed and working with GPU, it should be fine (i.e. you get I haven't worked with GPU in a long time (maybe 3 years) so I am sorry I'm unable to help more 😢 . Please let me know if you resolve this, and any steps you had to take. perhaps we can use that to update some instructions for windows users. I would appreciate that a lot. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure if you got this working, but I was able to get pytorch installed using Cuda 11.7 -- I don't think there's a version of pytorch that uses cuda 12 yet. After pip installing stable-diffusion-videos (and the separate cuda 11.7 install) I then had to:
This will install versions of the torch wheels built for cuda 11.7. Everything is working locally in Windows 10 for me now. I'd rather run it in Linux, but the good video card will sadly always be in a Windows machine... |
Beta Was this translation helpful? Give feedback.
-
Sorry for bump of necro thread. What version of python is recommended for the pyenv? My SD is running under 3.10.6, not the newest but it is what they recommend. |
Beta Was this translation helpful? Give feedback.
-
I've tried running this locally on a Windows 11 desktop with Nvidia 3060/12GB. It installs ok, but when I try the "Run locally" python script described in the README, I get the following error:
AssertionError: Torch not compiled with CUDA enabled
I'm running Auto1111 with no issues, and I'm confident that torch must be compiled with CUDA support there as well. Maybe the requirements aren't defined correctly to insure the correct binary for Torch is installed? I did the 'pip install -U stable_diffusion_videos` as directed...
I'm also hoping that this repo could be installed, similar to Auto1111, with a 'git clone' or 'git pull', followed by having a launch script (.bat and/or .sh) rather than going the package route.
Any tips would be appreciated. Also willing to help to make my suggestions possible, just need some guidance.
Beta Was this translation helpful? Give feedback.
All reactions