File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/llmcompressor/observers Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments