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
fe40109b
Commit
fe40109b
authored
Nov 07, 2023
by
comfyanonymous
Browse files
Fix issue with object patches not being copied with patcher.
parent
a527d0c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
comfy/model_patcher.py
comfy/model_patcher.py
+1
-0
No files found.
comfy/model_patcher.py
View file @
fe40109b
...
@@ -40,6 +40,7 @@ class ModelPatcher:
...
@@ -40,6 +40,7 @@ class ModelPatcher:
for
k
in
self
.
patches
:
for
k
in
self
.
patches
:
n
.
patches
[
k
]
=
self
.
patches
[
k
][:]
n
.
patches
[
k
]
=
self
.
patches
[
k
][:]
n
.
object_patches
=
self
.
object_patches
.
copy
()
n
.
model_options
=
copy
.
deepcopy
(
self
.
model_options
)
n
.
model_options
=
copy
.
deepcopy
(
self
.
model_options
)
n
.
model_keys
=
self
.
model_keys
n
.
model_keys
=
self
.
model_keys
return
n
return
n
...
...
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