Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
diffusers
Commits
0a5948e7
Unverified
Commit
0a5948e7
authored
Jan 26, 2023
by
Will Berman
Committed by
GitHub
Jan 26, 2023
Browse files
remove redundant allow_patterns (#2130)
parent
f653ded7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
src/diffusers/pipelines/pipeline_utils.py
src/diffusers/pipelines/pipeline_utils.py
+0
-3
No files found.
src/diffusers/pipelines/pipeline_utils.py
View file @
0a5948e7
...
@@ -485,10 +485,7 @@ class DiffusionPipeline(ConfigMixin):
...
@@ -485,10 +485,7 @@ class DiffusionPipeline(ConfigMixin):
if
from_flax
:
if
from_flax
:
ignore_patterns
=
[
"*.bin"
,
"*.safetensors"
]
ignore_patterns
=
[
"*.bin"
,
"*.safetensors"
]
allow_patterns
+=
[
allow_patterns
+=
[
SCHEDULER_CONFIG_NAME
,
CONFIG_NAME
,
FLAX_WEIGHTS_NAME
,
FLAX_WEIGHTS_NAME
,
cls
.
config_name
,
]
]
if
custom_pipeline
is
not
None
:
if
custom_pipeline
is
not
None
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment