Skip to content

Commit

Permalink
update default symmetry to True on presets (vllm-project#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
bfineran authored Jun 19, 2024
1 parent 318569d commit 60e4562
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compressed_tensors/quantization/quant_scheme.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ def is_preset_scheme(name: str) -> bool:


W8A8 = dict(
weights=QuantizationArgs(), input_activations=QuantizationArgs(symmetric=False)
weights=QuantizationArgs(), input_activations=QuantizationArgs(symmetric=True)
)

W4A16 = dict(weights=QuantizationArgs(num_bits=4, symmetric=False))
W4A16 = dict(weights=QuantizationArgs(num_bits=4, symmetric=True))

PRESET_SCHEMES = {
"W8A8": W8A8,
Expand Down

0 comments on commit 60e4562

Please sign in to comment.