Repository navigation
Description
Severity: low. Status: confirmed on an RTX 5090 at def6e61, compared against 842d666 and 9dad249.
Summary
- No accuracy regression and no gptqmodel crash in this suite.
- Every test that reached evaluation gave identical numbers at
def6e61and842d666. - Fast mode quantizes only 2 layers, so slow (full-model) mode was also run for opt, TinyLlama, Qwen2.5-0.5B and Llama-3.2-1B.
1. test_llama3_2_qqq always fails on CUDA
- Cause:
tests/models/test_llama3_2_qqq.pysetsLOAD_BACKEND=BACKEND.QQQbut leavesTORCH_DTYPE="auto". Llama-3.2-1B is bf16. - Where it fails: post-quant validation, at
model_test.py:1102→loader.py:2771→utils/model.py:635 make_quant→importer.py:1562. - Error:
ValueError: QQQLinear only supports [torch.float16] dtype: actual dtype = torch.bfloat16. - Not a regression: it fails identically at
9dad249,842d666anddef6e61. - Fix: set
TORCH_DTYPE=torch.float16, or useBACKEND.QQQ_TORCH.
2. Hard-coded attn_implementation: "paged|flash_attention_2" crashes without flash-attn
These per-task evalution_model_args bypass the harness's own USE_FLASH_ATTN / is_flash_attn_2_available() gate (model_test.py:1618-1620, 1812-1814).
Affected:
test_llama3_2.py(EVAL_TASKS_FAST["gsm8k_platinum_cot"])test_llama3_2_swordfish.pytest_llama3_2_dynamic_skip_layer_replay.pytest_multi_vs_single_gpu.pyparoquant_optimize_case.pyparoquant_first_layer_case_helper.pytest_qwen3_6_moe.pytest_qwen3_8b_fp8_gsm8k_last4.pytest_deci.pytest_cohere_compass.pytest_ling_2_6_flash_support.pytest_nemotron_omni_support.py
Result: ImportError: FlashAttention2 has been toggled on, but ... not installed, raised after quantization finishes.
Check: with "paged|sdpa" instead, test_llama3_2 passes (gsm8k_platinum_cot 0.4723 against a 0.469 baseline).
3. Stale baselines
Qwen2.5-0.5B-Instruct, slow mode: FAILS.
- Quantized gsm8k_platinum_cot acc,num = 0.3466 against a stored 0.2963. That is 116.97%, above the 110% ceiling.
- The native fallback can't rescue it: the quantized model reaches 85.7% of current native (0.4045), below the 96% floor.
- Identical at
842d666, so this is a stale baseline, not a regression.
Passing only through the native fallback (_maybe_accept_current_native_baseline):
| Model / mode | Quantized | Stored baseline | Current native |
|---|---|---|---|
| TinyLlama, slow | acc_norm 0.3003 | 0.3268 | 0.3089 |
| TinyLlama, fast | acc_norm 0.3055 | 0.3251 | — |
| Qwen2.5, fast | acc_norm 0.3234 | 0.3404 | 0.3345 |
At the floor: Llama-3.2-1B slow-mode ARC sits right at the 96% floor (96.04% / 96.26%) at both commits.
4. Tests that never run
test_internlm2_5: always skips on transformers > 4.44.2, so it never runs on transformers 5.test_llama3_2_gptq_cuda: skips unlessGPTQMODEL_RUN_LLAMA3_2_GPTQ_CUDA_E2E=1is set. That is also an env-var switch of the kind [CLEANUP]GPTQMODEL_*/GPTQ_TORCH_*environment variables still select code paths, contrary to AGENTS.md #4180 tracks.
5. Harness inefficiency
Evalution's batch_size="auto" picks 384–768 on a 32 GB GPU and hits OOM. The harness then retries at batch 8 in nearly every test, which makes the suite much slower (granitemoe_swa took 12.8 min).
Passed
opt (fast and slow), llama3_2 (fast and slow, with sdpa), act_group_aware, gemma3-1b, granite-3.0-2b, bloom, gpt2, ernie4_5, lfm2, yi, qwen3-4B, granite_4_0_h_350m, granitemoe_swa, llama3_2_exllamav3, llama3_2_fp8, bloom_bias_torch_fused, granite_swa, ovis2, ministral3, starcoder2, ouro, k2_horizon-0.9B.
Environment-only failures (not reported)
- torchvision: qwen2_vl, qwen3_vl, lfm2_vl, internvl.
- timm: gemma3n.
- mamba_ssm: zamba2.
- ninja: hymba.
- bitsandbytes.
Found during an AI-assisted review (Claude Code, round 12) of def6e61; repros were run at that commit (A/B against 842d666 where noted) on RTX 4090/5090 (CUDA 13) and/or Radeon AI PRO R9700 (ROCm) unless marked static/suspected.
Activity
Qubitium commentedon Nov 16, 2026
Claimed by an AI agent: items 3-5 (stale baselines, silently-skipping tests, batch_size=auto OOM thrash). Items 1-2 are already merged via #4433.
test(models): fix silently-skipping tests and auto eval batch OOM (#4445
Qubitium commentedon Nov 16, 2026
All five findings are addressed and merged:
require_pkgs; Llama-3.2 GPTQ CUDA E2E uses opt-in pytest markers instead of env vars).batch_size="auto"OOM thrash: test(models): fix silently-skipping tests, auto eval batch OOM, refresh Qwen2.5 slow baselines (#4398) #4445 (memory-derived chooser capped at 16, OOM retry halves the attempted batch).Closing.