diff --git a/src/diffusers/pipeline_utils.py b/src/diffusers/pipeline_utils.py index 23c4b29a53ae..50fbbedc996c 100644 --- a/src/diffusers/pipeline_utils.py +++ b/src/diffusers/pipeline_utils.py @@ -495,6 +495,8 @@ def from_pretrained(cls, pretrained_model_name_or_path: Optional[Union[str, os.P ) if is_safetensors_compatible(info): ignore_patterns.append("*.bin") + else: + ignore_patterns.append("*.safetensors") # download all allow_patterns cached_folder = snapshot_download(