Skip to content

Commit 5388877

Browse files
format update
1 parent 135b336 commit 5388877

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bitsandbytes/nn/modules.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,8 +481,7 @@ def forward(self, x: torch.Tensor):
481481

482482
bias = None if self.bias is None else self.bias.to(self.compute_dtype)
483483

484-
out = bnb.matmul_4bit(x, self.weight.t(), bias=bias, quant_state=self.weight.quant_state).to(inp_dtype)
485-
return out
484+
return bnb.matmul_4bit(x, self.weight.t(), bias=bias, quant_state=self.weight.quant_state).to(inp_dtype)
486485

487486

488487
class LinearFP4(Linear4bit):

0 commit comments

Comments
 (0)