Skip to content

Commit 6fe85e5

Browse files
authored
default to None (#227)
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
1 parent c026704 commit 6fe85e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/compressed_tensors/quantization/quant_args.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,10 @@ class QuantizationArgs(BaseModel, use_enum_values=True):
109109
dynamic: bool = False
110110
actorder: Union[ActivationOrdering, bool, None] = None
111111
observer: Optional[str] = Field(
112-
default="minmax",
112+
default=None,
113113
description=(
114-
"The class to use to compute the quantization param - "
115-
"scale and zero-point'"
114+
"Determines the method of computing quantization parameters (scales and "
115+
"zero-points). Defaults to min-max when not using dynamic quantization"
116116
),
117117
)
118118
observer_kwargs: Dict[str, Any] = Field(

0 commit comments

Comments
 (0)