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
OpenDAS
diffusers
Commits
d1d5451b
Unverified
Commit
d1d5451b
authored
Jan 10, 2023
by
Patrick von Platen
Committed by
GitHub
Jan 10, 2023
Browse files
[Community] Correct checkpoint merger (#1965)
parent
f6f1ec3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
examples/community/checkpoint_merger.py
examples/community/checkpoint_merger.py
+2
-1
No files found.
examples/community/checkpoint_merger.py
View file @
d1d5451b
...
@@ -5,7 +5,8 @@ from typing import Dict, List, Union
...
@@ -5,7 +5,8 @@ from typing import Dict, List, Union
import
torch
import
torch
from
diffusers
import
DiffusionPipeline
,
__version__
from
diffusers
import
DiffusionPipeline
,
__version__
from
diffusers.utils
import
CONFIG_NAME
,
DIFFUSERS_CACHE
,
ONNX_WEIGHTS_NAME
,
SCHEDULER_CONFIG_NAME
,
WEIGHTS_NAME
from
diffusers.schedulers.scheduling_utils
import
SCHEDULER_CONFIG_NAME
from
diffusers.utils
import
CONFIG_NAME
,
DIFFUSERS_CACHE
,
ONNX_WEIGHTS_NAME
,
WEIGHTS_NAME
from
huggingface_hub
import
snapshot_download
from
huggingface_hub
import
snapshot_download
...
...
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