Skip to content

Commit 04ecf0e

Browse files
committed
fix variant
1 parent 1bc953b commit 04ecf0e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/diffusers/models/model_loading_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ def _fetch_index_file_legacy(
358358
revision,
359359
user_agent,
360360
commit_hash,
361+
dduf_entries=None,
361362
):
362363
if is_local:
363364
index_file = Path(
@@ -398,6 +399,7 @@ def _fetch_index_file_legacy(
398399
subfolder=None,
399400
user_agent=user_agent,
400401
commit_hash=commit_hash,
402+
dduf_entries=dduf_entries,
401403
)
402404
index_file = Path(index_file)
403405
deprecation_message = f"This serialization format is now deprecated to standardize the serialization format between `transformers` and `diffusers`. We recommend you to remove the existing files associated with the current variant ({variant}) and re-obtain them by running a `save_pretrained()`."

0 commit comments

Comments
 (0)