1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

remove redundant allow_patterns (#2130)

This commit is contained in:
Will Berman
2023-01-26 13:22:28 -08:00
committed by GitHub
parent f653ded7ed
commit 0a5948e7f4

View File

@@ -485,10 +485,7 @@ class DiffusionPipeline(ConfigMixin):
if from_flax:
ignore_patterns = ["*.bin", "*.safetensors"]
allow_patterns += [
SCHEDULER_CONFIG_NAME,
CONFIG_NAME,
FLAX_WEIGHTS_NAME,
cls.config_name,
]
if custom_pipeline is not None: