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
41ed7e85
Commit
41ed7e85
authored
Apr 05, 2024
by
comfyanonymous
Browse files
Fix object_patches_backup not being the same object across clones.
parent
0f5768e0
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 @
41ed7e85
...
@@ -471,4 +471,4 @@ class ModelPatcher:
...
@@ -471,4 +471,4 @@ class ModelPatcher:
for
k
in
keys
:
for
k
in
keys
:
comfy
.
utils
.
set_attr
(
self
.
model
,
k
,
self
.
object_patches_backup
[
k
])
comfy
.
utils
.
set_attr
(
self
.
model
,
k
,
self
.
object_patches_backup
[
k
])
self
.
object_patches_backup
=
{}
self
.
object_patches_backup
.
clear
()
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