Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warning for dynamic quantization args #227

Merged
merged 1 commit into from
Jan 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/compressed_tensors/quantization/quant_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down