Repository navigation
test: realign residual suite triage with current kernels and layouts (#4769) - #5063
Merged
Merged
Conversation
…4769) Fix the remaining Round-17 failures that reproduce on an sm_80 CUDA host and are test-side stale expectations, without weakening any assertion: - test_ret_idx_group_order: use a 4096-wide shape that both fused kernels accept; 4100 is rejected by CPU int4pack on purpose. - test_gguf_all_formats: allow one bf16 dtype ULP (2**-7) for the fused reference; fp16/fp32 keep the 2e-3 bound. - test_rco_discovery: stage GPTQ_V2 arms, matching the real rco_allocate pipeline, so loading does not normalize v1 words and markers. - test_packable: CPU fused keeps scales in the checkpoint layout (#4178). - test_rehome_gptaq_foem_dxxt_4312: ignore the unrelated final quantized output move; still assert the H/dXXT/module_copy companion moves. - test_weight_only_looper: give the fake wrapper the model definition's ModulePlan so expert families are distinguishable from dense projections.
Qubitium
force-pushed
the
root/triage-residual-4769
branch
from
November 18, 2026 01:16
1f0ae2c to
94d0a9e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Realign the remaining Round-17 test failures from #4769 that reproduce on this
host (8x PG506, sm_80, CUDA-only; torch 2.15.0.dev+cu130; transformers 5.20.2).
Every change is test-side and none weakens an assertion. The two section-A
items (
test_bits_newNATIVE_MODEL_ID and the Jambamamba_ssmgate) werealready fixed on
mainby #5059, so they are not part of this diff.Red -> green (base
e3ec24309-> branch)tests/test_ret_idx_group_order.py::test_layer_ret_idx_matches_reference_and_invalidates[TorchAtenLinear]in_features=4100withgroup_size=324096, valid for both fused kernels; remainder layouts stay covered by the builder testtests/test_gguf_all_formats.py::test_cpp_unsupported_native_types_always_fall_back[dtype2-*](6)0.00390625 > atol 2e-3torch.finfo(torch.bfloat16).eps) for bf16 only; fp16/fp32 keep 2e-3tests/test_rco_discovery.py::test_loading_and_materializing_use_all_declared_packed_projectionstensor(2) != tensor(1)onqzeros_formatafter loadFORMAT.GPTQ_V2arms, as the realrco_allocatepipeline does, so the v1->v2 normalization no longer rewrites the fixture payloadtests/test_packable.py::TestPackable::test_post_init_3_torch_fusedscalesunexpectedly unequalscalesin checkpoint dtype/layout (#4178); expectation corrected to equaltests/test_rehome_gptaq_foem_dxxt_4312.py::test_quantize_aligns_dxxt_with_rehomed_hessian[gptaq,foem]safe_move_toasserted every tensor was the_ForeignDeviceTensorstand-in, butquantize()also moves the final quantized outputtests/test_weight_only_looper.py::test_weight_only_looper_respects_dense_and_moe_vram_strategy_devicescuda:0ModulePlan; without it experts are indistinguishable from dense projectionsNeighbour evidence
Same 6 touched files on both trees, CPU,
CUDA_VISIBLE_DEVICES="":e3ec24309: 13 failed, 315 passed, 432 skippedThe single remaining failure is the pre-existing environment-only
test_packable.py::TestPackable::test_post_init_2_torch, which requires avisible CUDA device. All 12 target failures are gone.
ruff checkis clean on all 6 touched files.Still red / out of scope here (for #4769)
test_bits_new.py::Test::test_quant_and_eora_{0..3}— KeyError fixed by test: fix two stale #4769 section A items (bits_new NATIVE_MODEL_ID, jamba mamba_ssm gate) #5059; on this host it now fails only because the offlineallenai/c4builder cache does not hold the requesteddata_filesslice (and with network, the venv'sflash_attn_2_cudahas an undefined symbol). Environment-only.test_jamba_support.py::test_tiny_jamba_gptq_quantization_smoke—mamba_ssmgate added by test: fix two stale #4769 section A items (bits_new NATIVE_MODEL_ID, jamba mamba_ssm gate) #5059; skipped here because the package is absent.test_fallback_hessian_release::test_shared_input_fallback_releases_adopted_source_before_clone— known pre-existing on this host.test_quant_batch::test_diff_batch— fails here at import (flash_attn_2_cudaundefined symbol), not at the greedy-id assertion; environment-only here.test_model::test_hide_unsupported_quantization_config_for_eval_temporarily_clears_gguf_bits— transformers 5.20.2'sAutoQuantizationConfig.from_dictnow parses GGUF, so the helper correctly does not hide it; version-specific, left alone.test_qwen_moe_converter::test_qwen3_omni_uses_defuser_for_fused_expertsandtest_locateanything_support::...uses_remote_processor— pass here (transformers 5.20.2), not reproducible.