Skip to content

Commit 53bc30d

Browse files
[From single file] remove depr warning (#6043)
1 parent eacf5e3 commit 53bc30d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/loaders/single_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ def from_single_file(cls, pretrained_model_link_or_path, **kwargs):
282282
)
283283

284284
if torch_dtype is not None:
285-
pipe.to(torch_dtype=torch_dtype)
285+
pipe.to(dtype=torch_dtype)
286286

287287
return pipe
288288

0 commit comments

Comments
 (0)