Skip to content

Commit

Permalink
Update src/diffusers/loaders/single_file_model.py
Browse files Browse the repository at this point in the history
Co-authored-by: Dhruv Nair <[email protected]>
  • Loading branch information
danhipke and DN6 authored Dec 23, 2024
1 parent a6e3745 commit 6720c51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diffusers/loaders/single_file_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def from_single_file(cls, pretrained_model_link_or_path_or_dict: Optional[str] =

else:
_, unexpected_keys = model.load_state_dict(
diffusers_format_checkpoint, strict=False, disable_mmap=disable_mmap
diffusers_format_checkpoint, strict=False
)

if model._keys_to_ignore_on_load_unexpected is not None:
Expand Down

0 comments on commit 6720c51

Please sign in to comment.