Skip to content

Commit 37d59f6

Browse files
SunMarca-r-r-o-w
andauthored
Update src/diffusers/models/modeling_utils.py
Co-authored-by: Aryan <[email protected]>
1 parent 1634362 commit 37d59f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/models/modeling_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,7 @@ def _load_pretrained_model(
12561256
if hf_quantizer is not None:
12571257
missing_keys = hf_quantizer.update_missing_keys(model, missing_keys, prefix="")
12581258
unexpected_keys = list(set(loaded_keys) - set(expected_keys))
1259-
# # Some models may have keys that are not in the state by design, removing them before needlessly warning
1259+
# Some models may have keys that are not in the state by design, removing them before needlessly warning
12601260
# the user.
12611261
if cls._keys_to_ignore_on_load_unexpected is not None:
12621262
for pat in cls._keys_to_ignore_on_load_unexpected:

0 commit comments

Comments
 (0)