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
2d416427
Commit
2d416427
authored
May 15, 2024
by
comfyanonymous
Browse files
Fix lowvram dora issue.
parent
ec6f16ad
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 @
2d416427
...
...
@@ -16,7 +16,7 @@ def apply_weight_decompose(dora_scale, weight):
.
transpose
(
0
,
1
)
)
return
weight
*
(
dora_scale
/
weight_norm
)
return
weight
*
(
dora_scale
/
weight_norm
)
.
type
(
weight
.
dtype
)
def
set_model_options_patch_replace
(
model_options
,
patch
,
name
,
block_name
,
number
,
transformer_index
=
None
):
to
=
model_options
[
"transformer_options"
].
copy
()
...
...
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