Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Fix typo in lowvram patcher (#3209)

kk-8938ed2da2ddc4
diff --git a/comfy/model_patcher.py b/comfy/model_patcher.py
index 76485ced1..657ddf843 100644
--- a/comfy/model_patcher.py
+++ b/comfy/model_patcher.py
@@ -287,7 +287,7 @@ class ModelPatcher:
if weight_key in self.patches:
m.weight_function = LowVramPatch(weight_key, self)
if bias_key in self.patches:
- m.bias_function = LowVramPatch(weight_key, self)
+ m.bias_function = LowVramPatch(bias_key, self)
m.prev_comfy_cast_weights = m.comfy_cast_weights
m.comfy_cast_weights = True