Open 5shekel opened 10 months ago
Finally! Thanks, tested and at least it loads! (more tests soon) Windows 10.
https://github.com/Stability-AI/generative-models/issues/172#issue-2007613291 Finally got it working with this running on Windows 11, Conda python 3.10 and then hit this missing scripts error then could load a model: https://github.com/Stability-AI/generative-models/issues/93
note: to get the models, d/l from hugginface and place in a new dir named
checkpoints
, inside the repo.
I tried this.
I'm getting (tf) C:\Users\ooo\tor\generative-models>streamlit run simple_video_sample.py
You can now view your Streamlit app in your browser.
Local URL: http://localhost:8501 Network URL: http://192.168.0.244:8501
C:\ProgramData\Miniconda3\envs\tf\lib\site-packages\torchaudio\backend\utils.py:66: UserWarning: No audio backend is available.
warnings.warn("No audio backend is available.")
no module 'xformers'. Processing without...
No SDP backend available, likely because you are running in pytorch versions < 2.0. In fact, you are using PyTorch 1.11.0+cu113. You might want to consider upgrading.
no module 'xformers'. Processing without...
2023-11-26 22:39:43.872 Uncaught app exception
Traceback (most recent call last):
File "C:\ProgramData\Miniconda3\envs\tf\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in _run_script
exec(code, module.dict)
File "C:\Users\ooo\tor\generative-models\simple_video_sample.py", line 278, in
I get this error before and after the weights are in that directory.
@MotorCityCobra you don't have xformers. Edit your requirements file. See step 2
this worked for me. on windows 11 using virtual env (venv).
note the use of
py.exe
to set the correct python version.this is similar to the
conda create -n gen python=3.10.11
if you want to use conda you can skip this stepyou will have to install python-3.10.11-amd64.exe on your windows machine.
edit the
requirements\pt2.txt
to lock some versions.triton
package mention and replace withtxt
fil should end with some likethen run (in powershell)
note: to get the models, d/l from hugginface and place in a new dir named
checkpoints
, inside the repo.i use a symlink from another location on my pc so i dont have to have duplicates.
thanks for information in the open/closed issues for some of these bits. specifically https://github.com/Stability-AI/generative-models/issues/159