Browse Source

Fix typo in lowvram patcher (#3209)

pull/3216/head
kk-89 8 months ago committed by GitHub
parent
commit
38ed2da2dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      comfy/model_patcher.py

2
comfy/model_patcher.py

@ -287,7 +287,7 @@ class ModelPatcher:
if weight_key in self.patches: if weight_key in self.patches:
m.weight_function = LowVramPatch(weight_key, self) m.weight_function = LowVramPatch(weight_key, self)
if bias_key in self.patches: 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.prev_comfy_cast_weights = m.comfy_cast_weights
m.comfy_cast_weights = True m.comfy_cast_weights = True

Loading…
Cancel
Save