"git@developer.sourcefind.cn:chenpangpang/ComfyUI.git" did not exist on "7114cfec0eefe713340257c85a2b342e98fdcfb2"
Commit 2d416427 authored by comfyanonymous's avatar comfyanonymous
Browse files

Fix lowvram dora issue.

parent ec6f16ad
...@@ -16,7 +16,7 @@ def apply_weight_decompose(dora_scale, weight): ...@@ -16,7 +16,7 @@ def apply_weight_decompose(dora_scale, weight):
.transpose(0, 1) .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): def set_model_options_patch_replace(model_options, patch, name, block_name, number, transformer_index=None):
to = model_options["transformer_options"].copy() to = model_options["transformer_options"].copy()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment