1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

[From single file] remove depr warning (#6043)

This commit is contained in:
Patrick von Platen
2023-12-05 13:42:25 +01:00
committed by GitHub
parent eacf5e34eb
commit 53bc30dd45

View File

@@ -282,7 +282,7 @@ class FromSingleFileMixin:
)
if torch_dtype is not None:
pipe.to(torch_dtype=torch_dtype)
pipe.to(dtype=torch_dtype)
return pipe