We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1634362 commit 37d59f6Copy full SHA for 37d59f6
src/diffusers/models/modeling_utils.py
@@ -1256,7 +1256,7 @@ def _load_pretrained_model(
1256
if hf_quantizer is not None:
1257
missing_keys = hf_quantizer.update_missing_keys(model, missing_keys, prefix="")
1258
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
+ # Some models may have keys that are not in the state by design, removing them before needlessly warning
1260
# the user.
1261
if cls._keys_to_ignore_on_load_unexpected is not None:
1262
for pat in cls._keys_to_ignore_on_load_unexpected:
0 commit comments