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
0e06b370
"git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "857fd2e46c35545b8614c3fd14cb1adc85ae6992"
Commit
0e06b370
authored
Jun 14, 2024
by
comfyanonymous
Browse files
Print key names for easier debugging.
parent
5eb98f00
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 @
0e06b370
...
@@ -335,7 +335,7 @@ class ModelPatcher:
...
@@ -335,7 +335,7 @@ class ModelPatcher:
self
.
patch_weight_to_device
(
bias_key
,
device_to
)
self
.
patch_weight_to_device
(
bias_key
,
device_to
)
m
.
to
(
device_to
)
m
.
to
(
device_to
)
mem_counter
+=
comfy
.
model_management
.
module_size
(
m
)
mem_counter
+=
comfy
.
model_management
.
module_size
(
m
)
logging
.
debug
(
"lowvram: loaded module regularly {}"
.
format
(
m
))
logging
.
debug
(
"lowvram: loaded module regularly
{}
{}"
.
format
(
n
,
m
))
self
.
model_lowvram
=
True
self
.
model_lowvram
=
True
self
.
lowvram_patch_counter
=
patch_counter
self
.
lowvram_patch_counter
=
patch_counter
...
...
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