Allow compile here

This commit is contained in:
kijai
2025-10-27 01:06:39 +02:00
parent c59e52ca44
commit f583b56878
+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):