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
chenpangpang
ComfyUI
Commits
32be3582
"...docs/git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "8d99bef1c9f892f9d0035f040be6dfc62f2af9ae"
Commit
32be3582
authored
Jun 12, 2024
by
comfyanonymous
Browse files
Save SD3 modelspec.architecture in CheckpointSave node.
parent
694e0b48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
comfy_extras/nodes_model_merging.py
comfy_extras/nodes_model_merging.py
+2
-0
No files found.
comfy_extras/nodes_model_merging.py
View file @
32be3582
...
@@ -183,6 +183,8 @@ def save_checkpoint(model, clip=None, vae=None, clip_vision=None, filename_prefi
...
@@ -183,6 +183,8 @@ def save_checkpoint(model, clip=None, vae=None, clip_vision=None, filename_prefi
metadata
[
"modelspec.architecture"
]
=
"stable-diffusion-xl-v1-refiner"
metadata
[
"modelspec.architecture"
]
=
"stable-diffusion-xl-v1-refiner"
elif
isinstance
(
model
.
model
,
comfy
.
model_base
.
SVD_img2vid
):
elif
isinstance
(
model
.
model
,
comfy
.
model_base
.
SVD_img2vid
):
metadata
[
"modelspec.architecture"
]
=
"stable-video-diffusion-img2vid-v1"
metadata
[
"modelspec.architecture"
]
=
"stable-video-diffusion-img2vid-v1"
elif
isinstance
(
model
.
model
,
comfy
.
model_base
.
SD3
):
metadata
[
"modelspec.architecture"
]
=
"stable-diffusion-v3-medium"
#TODO: other SD3 variants
else
:
else
:
enable_modelspec
=
False
enable_modelspec
=
False
...
...
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