Skip to content
代码片段 群组 项目
提交 83f34314 编辑于 作者: comfyanonymous's avatar comfyanonymous
浏览文件

Fix potential lowvram issue.

上级 b021cf67
No related branches found
No related tags found
无相关合并请求
......@@ -367,7 +367,7 @@ class ModelPatcher:
if mem_counter + module_mem >= lowvram_model_memory:
lowvram_weight = True
lowvram_counter += 1
if m.comfy_cast_weights:
if hasattr(m, "prev_comfy_cast_weights"): #Already lowvramed
continue
weight_key = "{}.weight".format(n)
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册