Skip to content

Commit 56a5f14

Browse files
committed
more explicit about fallback
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
1 parent 630f76c commit 56a5f14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/llmcompressor/modifiers/quantization/gptq/gptq_quantize.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ def quantize_weight(
165165
logger.warning(
166166
"Failed to invert hessian due to numerical instability. Consider "
167167
"increasing GPTQModifier.dampening_frac, increasing the number "
168-
"of calibration samples, or shuffling the calibration dataset"
168+
"of calibration samples, or shuffling the calibration dataset. "
169+
"Falling back to round-to-nearest for this module."
169170
)
170171
Hinv = H = torch.eye(num_columns, dtype=H.dtype, device=H.device)
171172

0 commit comments

Comments
 (0)