Skip to content

Commit b075189

Browse files
committed
Fix PR comments
1 parent 9bb6601 commit b075189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

model_compression_toolkit/core/common/mixed_precision/resource_utilization_tools/resource_utilization_calculator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ def _get_activation_nbits(self,
709709
Activation bit-width.
710710
"""
711711
if act_qc:
712-
assert bitwidth_mode == BitwidthMode.QCustom and act_qc.enable_activation_quantization
712+
assert bitwidth_mode == BitwidthMode.QCustom
713713
return act_qc.activation_n_bits if act_qc.enable_activation_quantization else FLOAT_BITWIDTH
714714

715715
if bitwidth_mode == BitwidthMode.Float or not (n.is_activation_quantization_enabled() or

0 commit comments

Comments
 (0)