Skip to content

Commit

Permalink
slightly improved rtn calculate_qparams logic
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Dellabetta <[email protected]>
  • Loading branch information
brian-dellabetta committed Mar 5, 2025
1 parent 32b0b53 commit 31884cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llmcompressor/observers/rtn.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def calculate_qparams(
observed,
symmetric=self.quantization_args.symmetric,
bit_width=self.quantization_args.num_bits,
group_size=-1, #self.quantization_args.group_size,
group_size=self.quantization_args.group_size or -1,
)
return (scales, zp)

Expand Down

0 comments on commit 31884cf

Please sign in to comment.