Skip to content

Commit

Permalink
for test
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiguangHan committed Oct 19, 2023
1 parent 3ee6879 commit 8a56968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/llm/src/bigdl/llm/transformers/low_bit_linear.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ def forward(self, x: torch.Tensor):
result = result.view(new_shape)
if self.bias is not None:
result += self.bias
return result
return result.to(x.dtype)


class FP16Linear(nn.Linear):
Expand Down

0 comments on commit 8a56968

Please sign in to comment.