StoryDiffusion
StoryDiffusion copied to clipboard
fails to install all necessary files
python3 -m venv venv call .\venv\Scripts\activate pip install -r requirements.txt python app.py python pygradio_app_sdxl_specific_id.py
conda create --name storydiffusion python=3.10 conda activate storydiffusion pip install -U pip
pip install -r requirements.txt
result:
(venv) D:\ai\Video\StoryDiffusion>python gradio_app_sdxl_specific_id.py
WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 2.0.1+cu118 with CUDA 1108 (you have 2.0.1+cpu)
Python 3.10.11 (you have 3.10.11)
Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
Memory-efficient attention, SwiGLU, sparse and more won't be available.
Set XFORMERS_MORE_DETAILS=1 for more details
Loading pipeline components...: 0%| | 0/7 [00:00<?, ?it/s]
Traceback (most recent call last):
File "D:\ai\Video\StoryDiffusion\gradio_app_sdxl_specific_id.py", line 430, in
(venv) D:\ai\Video\StoryDiffusion>python app.py
Traceback (most recent call last):
File "D:\ai\Video\StoryDiffusion\app.py", line 4, in
(venv) D:\ai\Video\StoryDiffusion>
you can try set use_safetensors as True for the first problem. and the second problem may be caused by different operating systems.
So this doesn't run on Windows 11?
We are testing on windows urgently. Also, we very much hope that Windows users who are already running can push a version that is available in Windows.
try to run: pip install torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 xformers --index-url https://download.pytorch.org/whl/cu121 --upgrade
that should take care of the xformers issue at least
for the issue with C:\Users\Windows.cache\huggingface\hub\models--SG161222--RealVisXL_V4.0\snapshots\49740684ab2d8f4f5dcf6c644df2b33388a8ba85\text_encoder
Mine looks like this:
I think I had to download it manually and overwrite it (i might have been out of disk space while it first downloaded)
Hello @Bigfield77 ! From where you download the files and how? because when ever I tried to run the code after download the files manually I am getting this error "safetensors_rust.SafetensorError: Error while deserializing header: HeaderTooLarge"
Thank you.