Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gushiqiao committed Jun 4, 2024
1 parent b824375 commit b645901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llmc/compression/quantization/quant.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def reshape_tensor(self, tensor):
else:
t = tensor
elif self.granularity == "per_head":
t = tensor.reshape(self.heda_num, -1)
t = tensor.reshape(self.head_num, -1)
else:
t = tensor
return t
Expand Down

0 comments on commit b645901

Please sign in to comment.