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
18617967
"...composable_kernel_onnx.git" did not exist on "6014185ac65e75f2a84cb67ef6ba83b48ae0fcb3"
Unverified
Commit
18617967
authored
Aug 30, 2023
by
Simon Lui
Committed by
GitHub
Aug 30, 2023
Browse files
Fix error message in model_patcher.py
Found while tinkering.
parent
fe4c0740
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
comfy/model_patcher.py
comfy/model_patcher.py
+1
-1
No files found.
comfy/model_patcher.py
View file @
18617967
...
@@ -145,7 +145,7 @@ class ModelPatcher:
...
@@ -145,7 +145,7 @@ class ModelPatcher:
model_sd
=
self
.
model_state_dict
()
model_sd
=
self
.
model_state_dict
()
for
key
in
self
.
patches
:
for
key
in
self
.
patches
:
if
key
not
in
model_sd
:
if
key
not
in
model_sd
:
print
(
"could not patch. key doesn't exist in model:"
,
k
)
print
(
"could not patch. key doesn't exist in model:"
,
k
ey
)
continue
continue
weight
=
model_sd
[
key
]
weight
=
model_sd
[
key
]
...
...
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