Fix typo in lowvram patcher (#3209)

This commit is contained in:
kk-89 2024-04-05 09:02:13 -07:00 committed by GitHub
parent b14fe05bf2
commit a9c852912f

View File

@ -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