Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
a76f2ad5
Commit
a76f2ad5
authored
Aug 29, 2023
by
Patrick von Platen
Browse files
make style
parent
7200daa4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/diffusers/models/adapter.py
src/diffusers/models/adapter.py
+1
-2
No files found.
src/diffusers/models/adapter.py
View file @
a76f2ad5
...
@@ -155,8 +155,7 @@ class MultiAdapter(ModelMixin):
...
@@ -155,8 +155,7 @@ class MultiAdapter(ModelMixin):
Parameters:
Parameters:
pretrained_model_path (`os.PathLike`):
pretrained_model_path (`os.PathLike`):
A path to a *directory* containing model weights saved using
A path to a *directory* containing model weights saved using
[`~diffusers.models.adapter.MultiAdapter.save_pretrained`], e.g.,
[`~diffusers.models.adapter.MultiAdapter.save_pretrained`], e.g., `./my_model_directory/adapter`.
`./my_model_directory/adapter`.
torch_dtype (`str` or `torch.dtype`, *optional*):
torch_dtype (`str` or `torch.dtype`, *optional*):
Override the default `torch.dtype` and load the model under this dtype. If `"auto"` is passed the dtype
Override the default `torch.dtype` and load the model under this dtype. If `"auto"` is passed the dtype
will be automatically derived from the model's weights.
will be automatically derived from the model's weights.
...
...
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