Skip to content

Commit

Permalink
[From single file] remove depr warning (#6043)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickvonplaten authored Dec 5, 2023
1 parent eacf5e3 commit 53bc30d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diffusers/loaders/single_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def from_single_file(cls, pretrained_model_link_or_path, **kwargs):
)

if torch_dtype is not None:
pipe.to(torch_dtype=torch_dtype)
pipe.to(dtype=torch_dtype)

return pipe

Expand Down

0 comments on commit 53bc30d

Please sign in to comment.