Skip to content

Commit

Permalink
Update modeling_utils.py (#9035)
Browse files Browse the repository at this point in the history
  • Loading branch information
TsingZ0 authored Nov 16, 2024
1 parent c586aad commit 577d2f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diffusers/models/modeling_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ def from_pretrained(cls, pretrained_model_name_or_path: Optional[Union[str, os.P
offload_folder=offload_folder,
offload_state_dict=offload_state_dict,
dtype=torch_dtype,
force_hook=force_hook,
force_hooks=force_hook,
strict=True,
)
model._undo_temp_convert_self_to_deprecated_attention_blocks()
Expand Down

0 comments on commit 577d2f0

Please sign in to comment.