Skip to content

test(triage): finish the #5325 sweep on current main - #5565

Merged
Qubitium merged 1 commit into
mainfrom
fix/5325-test-triage-remainder
Nov 19, 2026
Merged

Qubitium merged 1 commit into
mainfrom
fix/5325-test-triage-remainder

Conversation

@Qubitium

@Qubitium Qubitium commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Remaining #5325 items after #5564 landed items 4/9/14/15. Everything here is test-side drift from product changes that landed after the triage, plus a doc-citation refresh.

#5325 item test change
7 test_lm_head.py::TestLmHeadLoad::test_eval ModelTest.quantModel retries a pre-quantized checkpoint without quantize_config (the loader rejects a caller config by design), so the _loaded_model_was_prequantized eval branch is reachable again.
8 test_q4_exllama_v2.py:175 rivision=revision typo meant the revision was silently ignored.
12 test_cpu_int4_verify_cost_4884.py the 150x-memcpy bound is scheduling-dominated; the forward-pack ratio (3x) already catches the old eight-pass rebuild.
16 test_torch_cpu_avx512.py x2 the FP16 dense fallback no longer pins linear_mode == "train" in eval (it is only resolved for training forwards); meta construction now dispatches to the registered FakeTensor impl (#5075) instead of raising.
B6 test_docs_contract_refs.py refresh the drifted config.py/gptq.py line citations.
B7 test_rehome_cpu_fallback_pairs.py snapshot the post-init buffers before the reference forward: QQQTorchLinear moves the checkpoint layout into _torch_dropped_checkpoint on first forward, so the module under test was built from None payload buffers and its numbers depended on import order.

Already fixed on main (verified, no change)

Item 5 test_device_move_restores_checkpoint_layout (4 passed), item 6 pretokenized VLM rows (2 passed), item 13 test_vlm_prepare_dataset_contract_4633.py (96 passed), B1 test_packing_numeric_boundaries.py collects 115 tests, B2 the FP8 fixture now declares weight_scale_semantics: "inverse", B5 test_paro_triton_cudagraph_5225.py skips without a GPU (5 passed).

Not covered here (environment-specific)

Items 10, 11, 17 and B3/B4 are ROCm-only; item 18 needs the optional gguf package. They cannot be reproduced on this NVIDIA host and are left for a ROCm lane.

Verification

  • tests/test_torch_cpu_avx512.py tests/test_cpu_int4_verify_cost_4884.py tests/test_docs_contract_refs.py tests/test_rehome_cpu_fallback_pairs.py tests/test_qwen4_exp_exl3_contracts.py -> 94 passed
  • B7 order dependence: test_qwen4_exp_exl3_contracts.py then the rehome file -> 14 passed (fails on main without the buffer snapshot)
  • tests/test_lm_head.py::TestLmHeadLoad::test_eval (CUDA_VISIBLE_DEVICES=0) -> 1 passed
  • tests/test_q4_exllama_v2.py::TestsQ4ExllamaV2::test_generation_desc_act_true -> 1 passed
  • uvx [email protected] check gptqmodel tests -> clean

Part of #5325.

@Qubitium
Qubitium force-pushed the fix/5325-test-triage-remainder branch from 93b5660 to e8fbdf1 Compare November 19, 2026 12:35
@Qubitium Qubitium changed the title test(triage): realign stale expectations from the #5325 sweep test(triage): finish the #5325 sweep on current main Nov 19, 2026
@Qubitium
Qubitium merged commit 8c71625 into main Nov 19, 2026
6 checks passed
@Qubitium
Qubitium deleted the fix/5325-test-triage-remainder branch November 19, 2026 13:13
Qubitium pushed a commit that referenced this pull request Nov 29, 2026
…on kwarg (#5325)

test_generation_desc_act_false loads a CUDA checkpoint without the
requires_nvidia_cuda() gate the other nodes use, so it fails on a CPU-only
host with 'RuntimeError: No CUDA GPUs are available'.

test_generation_desc_act_true is CUDA/checkpoint-only. Add a CPU-runnable spy
that asserts revision= (not rivision=) reaches GPTQModel.load, so the typo
fixed in #5565 cannot silently return.

Items A4/A15/A16 were already fixed on main by #5564/#5565 and are green at
2d3261d; verified without changes.
Qubitium added a commit that referenced this pull request Nov 29, 2026
…on kwarg (#5325) (#6258)

test_generation_desc_act_false loads a CUDA checkpoint without the
requires_nvidia_cuda() gate the other nodes use, so it fails on a CPU-only
host with 'RuntimeError: No CUDA GPUs are available'.

test_generation_desc_act_true is CUDA/checkpoint-only. Add a CPU-runnable spy
that asserts revision= (not rivision=) reaches GPTQModel.load, so the typo
fixed in #5565 cannot silently return.

Items A4/A15/A16 were already fixed on main by #5564/#5565 and are green at
2d3261d; verified without changes.

Co-authored-by: OpenAI Agent <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant