StoryDiffusion icon indicating copy to clipboard operation
StoryDiffusion copied to clipboard

OSError: Could not find the necessary `safetensors` weights in {'text_encoder/pytorch_model.bin', 'text_encoder_2/pytorch_model.bin', 'vae/diffusion_pytorch_model.bin', 'unet/diffusion_pytorch_model.bin'} (variant=None)

Open huanxve opened this issue 1 year ago • 5 comments

OSError: Could not find the necessary safetensors weights in {'text_encoder/pytorch_model.bin', 'text_encoder_2/pytorch_model.bin', 'vae/diffusion_pytorch_model.bin', 'unet/diffusion_pytorch_model.bin'} (variant=None)

选择Juggernaut,出现如下报错,求解决

huanxve avatar May 08 '24 15:05 huanxve

git pull 最新的代码 然后 运行
python gradio_app_sdxl_specific_id_low_vram.py

Z-YuPeng avatar May 08 '24 16:05 Z-YuPeng

用新的代码gradio_app_sdxl_specific_id_low_vram.py下载还是提示,应该不是梯子的原因把全球节点都试了个遍。

huggingface_hub.utils._errors.LocalEntryNotFoundError: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.

https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/blob/main/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors这个地址也能打开。

hyhuc0079 avatar May 09 '24 00:05 hyhuc0079

git pull 最新的代码 然后 运行 python gradio_app_sdxl_specific_id_low_vram.py

请问更新以后,之前旧版本在.cache中下载的那些巨大的文件是不是就可以删了?或者把他们移到别的盘里?

huanxve avatar May 09 '24 01:05 huanxve

他默认是调用haggingfacehub加载模型的,你直接删除肯定不行 不过你可以修改models.yaml改成你本地的路径

hyhuc0079 avatar May 10 '24 07:05 hyhuc0079

可以先下载stabilityai/stable-diffusion-xl-base-1.0到服务器,然后再运行,下载的话会比较大

shenhongdeng avatar May 15 '24 16:05 shenhongdeng