Skip to content

Commit 39f0850

Browse files
committed
update
1 parent bbbc4c0 commit 39f0850

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/diffusers/models/model_loading_utils.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -528,12 +528,7 @@ def load_gguf_checkpoint(gguf_checkpoint_path, return_tensors=False):
528528
return parsed_parameters
529529

530530

531-
def _find_mismatched_keys(
532-
state_dict,
533-
model_state_dict,
534-
loaded_keys,
535-
ignore_mismatched_sizes,
536-
):
531+
def _find_mismatched_keys(state_dict, model_state_dict, loaded_keys, ignore_mismatched_sizes):
537532
mismatched_keys = []
538533
if not ignore_mismatched_sizes:
539534
return mismatched_keys

0 commit comments

Comments
 (0)