OSError: Error no file named diffusion_pytorch_model.bin found in directory stable-diffusion-3.5-medium/vae.

#14
by zh19990906 - opened

Traceback (most recent call last):
File "/home/run.py", line 7, in
pipe = StableDiffusionPipeline.from_pretrained(
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 896, in from_pretrained
loaded_sub_model = load_sub_model(
File "/usr/local/lib/python3.10/site-packages/diffusers/pipelines/pipeline_loading_utils.py", line 704, in load_sub_model
loaded_sub_model = load_method(os.path.join(cached_folder, name), **loading_kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/diffusers/models/modeling_utils.py", line 804, in from_pretrained
model_file = _get_model_file(
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/diffusers/utils/hub_utils.py", line 309, in _get_model_file
raise EnvironmentError(
OSError: Error no file named diffusion_pytorch_model.bin found in directory /home/stable-diffusion-3.5-medium/vae.

I think you should check your directory to make sure the file does exist

Sign up or log in to comment