This commit is contained in:
kijai
2025-10-23 23:25:20 +03:00
parent b3ad381a65
commit 88a60d71ab
+2
View File
@@ -86,6 +86,8 @@ class CustomLinear(nn.Linear):
def forward(self, input):
if self.bias is not None:
bias = self.bias.to(input)
else:
bias = None
weight = self.weight.to(input)
if self.scale_weight is not None: