Update custom_linear.py

This commit is contained in:
kijai
2025-10-28 01:55:25 +02:00
parent 90908df260
commit 2633119505
+1 -1
View File
@@ -101,7 +101,7 @@ class CustomLinear(nn.Linear):
return torch.nn.functional.linear(input, weight, bias)
#@torch.compiler.disable()
@torch.compiler.disable()
def apply_lora(self, weight):
for lora_diff, lora_strength in zip(self.lora[0], self.lora[1]):
if isinstance(lora_strength, list):