Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
diffusers
Commits
53bc30dd
Unverified
Commit
53bc30dd
authored
Dec 05, 2023
by
Patrick von Platen
Committed by
GitHub
Dec 05, 2023
Browse files
[From single file] remove depr warning (#6043)
parent
eacf5e34
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/loaders/single_file.py
src/diffusers/loaders/single_file.py
+1
-1
No files found.
src/diffusers/loaders/single_file.py
View file @
53bc30dd
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment