Skip to content

Commit 4051ef0

Browse files
committed
Fix a long line error
Signed-off-by: Shubhra Pandit <shubhra.pandit@gmail.com>
1 parent 01ddb70 commit 4051ef0

File tree

1 file changed

+3
-2
lines changed
  • src/llmcompressor/observers

1 file changed

+3
-2
lines changed

src/llmcompressor/observers/mse.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,9 @@ def calculate_mse_min_max(
8989
from compressed_tensors.quantization.utils import generate_gparam
9090

9191
if(is_fp4(self.quantization_args)) and global_scale is None:
92-
# If the quantization scheme is fp4 and global_scale is still None, i.e it has not yet been optimized,
93-
# then we are should first get the global scale and then optimize the local scales.
92+
# If the quantization scheme is fp4 and global_scale is still None
93+
# i.e it has not yet been optimized, then we are should first get
94+
# the global scale and then optimize the local scales.
9495
# Local scales are set to by the absolute min and max.
9596
iteration_global_scale = generate_gparam(
9697
updated_min_val=shrinked_min_val, updated_max_val=shrinked_max_val

0 commit comments

Comments
 (0)