Skip to content

Commit

Permalink
Check for bias quant
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe5 committed Apr 11, 2024
1 parent 5526473 commit d925096
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ def quantize_model(
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"

weight_quant_format = quant_format
act_quant_format = quant_format

Expand Down

0 comments on commit d925096

Please # to comment.