From 9e70a064f3fc1fd071894555859ba09618d99b96 Mon Sep 17 00:00:00 2001 From: Kyle Sayers Date: Wed, 18 Dec 2024 17:05:11 +0000 Subject: [PATCH] default to None Signed-off-by: Kyle Sayers --- src/compressed_tensors/quantization/quant_args.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/compressed_tensors/quantization/quant_args.py b/src/compressed_tensors/quantization/quant_args.py index dcb4ecc9..129d0454 100644 --- a/src/compressed_tensors/quantization/quant_args.py +++ b/src/compressed_tensors/quantization/quant_args.py @@ -109,10 +109,10 @@ class QuantizationArgs(BaseModel, use_enum_values=True): dynamic: bool = False actorder: Union[ActivationOrdering, bool, None] = None observer: Optional[str] = Field( - default="minmax", + default=None, description=( - "The class to use to compute the quantization param - " - "scale and zero-point'" + "Determines the method of computing quantization parameters (scales and " + "zero-points). Defaults to min-max when not using dynamic quantization" ), ) observer_kwargs: Dict[str, Any] = Field(