Skip to content

Commit

Permalink
Ignore .xml files for Stable Diffusion ORT downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
bk-jc committed Oct 4, 2023
1 parent dbe70f9 commit 6569f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimum/onnxruntime/modeling_diffusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def _from_pretrained(
use_auth_token=use_auth_token,
revision=revision,
allow_patterns=allow_patterns,
ignore_patterns=["*.msgpack", "*.safetensors", "*.bin"],
ignore_patterns=["*.msgpack", "*.safetensors", "*.bin", "*.xml"],
)
new_model_save_dir = Path(model_id)

Expand Down

0 comments on commit 6569f76

Please sign in to comment.