Skip to content

Commit

Permalink
Fix bias check
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe5 committed May 14, 2024
1 parent c85e6ec commit a626478
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,15 +185,15 @@ def quantize_model(
# We check all of the provided values are positive integers
check_positive_int(
weight_bit_width,
act_bit_width, # bias_bit_width,
act_bit_width,
bias_bit_width,
layerwise_first_last_bit_width,
layerwise_first_last_mantissa_bit_width,
layerwise_first_last_exponent_bit_width,
weight_mantissa_bit_width,
weight_exponent_bit_width,
act_mantissa_bit_width,
act_exponent_bit_width,
)
act_exponent_bit_width)

if act_scale_computation_type == 'dynamic':
assert bias_bit_width is None, "Bias quantization is not supported with dynamic activation quantization"
Expand Down

0 comments on commit a626478

Please # to comment.