Unverified Commit 53bc30dd authored by Patrick von Platen's avatar Patrick von Platen Committed by GitHub
Browse files

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

parent eacf5e34
...@@ -282,7 +282,7 @@ class FromSingleFileMixin: ...@@ -282,7 +282,7 @@ class FromSingleFileMixin:
) )
if torch_dtype is not None: if torch_dtype is not None:
pipe.to(torch_dtype=torch_dtype) pipe.to(dtype=torch_dtype)
return pipe return pipe
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment