Skip to content

Commit

Permalink
fix docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed Jun 19, 2024
1 parent 210d5af commit fbcdd59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions optimum/intel/openvino/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class OVWeightQuantizationConfig(OVQuantizationConfigBase):
entries provided via this argument are used to create an instance of `nncf.IgnoredScope` class.
num_samples (`int`, *optional*):
The maximum number of samples composing the calibration dataset.
quant_method (`str`, defaults of OVQuantizationMethod.DEFAULT):
quant_method (`str or OVQuantizationMethod`, defaults of OVQuantizationMethod.DEFAULT):
Weight compression method to apply. Possible options:
- "default": default weight quantization will be applied.
- "awq": compressed weights will be computed according to the Activation-Aware-Quantization (AWQ)
Expand Down Expand Up @@ -200,7 +200,7 @@ def __init__(
sensitivity_metric: Optional[str] = None,
ignored_scope: Optional[dict] = None,
num_samples: Optional[int] = None,
quant_method: Union[str, QuantizationMethod, OVQuantizationMethod] = OVQuantizationMethod.DEFAULT,
quant_method: Union[str, OVQuantizationMethod] = OVQuantizationMethod.DEFAULT,
scale_estimation: bool = None,
**kwargs,
):
Expand Down

0 comments on commit fbcdd59

Please sign in to comment.