Skip to content

Commit

Permalink
quantizer_propagation_rule default value for OpenVINOQuantizer
Browse files Browse the repository at this point in the history
  • Loading branch information
daniil-lyakhov committed Jan 22, 2025
1 parent f8f078d commit d82392d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def __init__(
quantize_outputs: bool = False,
activations_quantization_params: Union[QuantizationParameters, FP8QuantizationParameters] = None,
weights_quantization_params: Union[QuantizationParameters, FP8QuantizationParameters] = None,
quantizer_propagation_rule: Optional[QuantizerPropagationRule] = None,
quantizer_propagation_rule: QuantizerPropagationRule = QuantizerPropagationRule.MERGE_ALL_IN_ONE,
):
"""
:param mode: Defines optimization mode for the algorithm. None by default.
Expand All @@ -83,6 +83,7 @@ def __init__(
activations.
:param weights_quantization_params: Quantization parameters for model weights.
:param quantizer_propagation_rule: The strategy to be used while propagating and merging quantizers.
MERGE_ALL_IN_ONE by default.
"""
self._min_max_algo = MinMaxQuantization(
mode=mode,
Expand Down

0 comments on commit d82392d

Please sign in to comment.