Skip to content

[TEST] Stale tests failing at HEAD while the library behaves correctly (CUDA suite triage, 2× RTX 4090) #4241

Closed

Description

@Qubitium

Version: 7.11.0 @ 9dad249. About 13,900 items were run. The failures below are test-side; some were verified numerically against the library. Product bugs from the same run are filed separately.

qzeros_format (#4134) / checkpoint-snapshot state_dict() (#4125) not reflected

  • AllSpark:
    • test_allspark_linear.py: test_linear_bias_does_not_expand_persistent_storage, test_module_export_keeps_checkpoint_layout, test_runtime_state_dict_roundtrip_and_cache_invalidation
    • test_allspark_awq_cuda.py: test_awq_module_pack_boundaries_and_dtype_moves, test_awq_module_export_keeps_checkpoint_layout
  • test_marlin_cpu_offload_post_init.py (4)
  • kernels/test_gptq_torch_cpu_bias_epilogue.py (6)
  • test_rco_formats.py::test_awq_cost_includes_partial_words_and_metadata (9; off by the 64-bit marker)
  • test_kernel_audit_regressions.py:
    • test_transformed_cpu_layer_round_trips_its_own_state_dict (12), test_checkpoint_layout_gate_uses_discriminating_operands (6), test_changed_runtime_state_cannot_silently_export_stale_checkpoint, test_runtime_load_materializes_inference_g_idx.
    • These assume state_dict() returns the int4pack runtime layout. A round trip is bit-exact and edited scales export correctly.
  • test_weight_only.py::test_baseqmodel_quantize_uses_weight_only_rtn_pipeline asserts qzero_format()==1. It is now 2, and the numerics pass.

Mocks missing new APIs / kwargs

Test file(s) Missing
test_stage_modules.py (6) DummyLooper.layer_modules_for_prefix
test_paroquant.py (12 processor tests) SimpleNamespace qcfg lacks resolve_module_config
test_awq_gptq_lifecycle.py::test_awq_capture_is_pre_forward… GPTQ now intentionally registers the MoE pad-zeroing hook
test_writer_attention.py (2), test_out_of_model_tensors.py (13) _DummyModel.named_modules
test_eora_merge.py fake module .parameters
test_gemma2_backend_guard.py (2) _FakeEngine.modules
test_exllamav2_gptq_forward_compacts…, test_kimi_k3_core_format.py (3) the out_dtype kwarg
test_specialized_eora_lifecycle.py the dtype kwarg
test_xing4_0_support.py, test_qwen3_vl_dependency.py (3) new attributes
test_fp8_nonfinite_source.py (3) _apply_optional_smoother, which was removed
test_moe_expert_batching.py (9) mock setup

Other stale expectations

Kernel constraints and config changes:

Model definitions:

  • test_hunyuan_v1_dense_support.py: the :in=x tags are now part of the tree.
  • test_laguna_support.py: the definition marks g_proj:!. Please confirm that is intended.

Fixtures and tolerances:

  • test_quantized_embeddings.py (~28): torch.rand*0.02 scales trip the new fp16-underflow validator.
  • test_paroquant.py::…folds_frozen_theta…: atol 1e-6 vs 1.9e-6 fp32 drift.
  • test_vptq.py::…independent_oracle[group_size_remainder]: argmin tie between two centroids 5e-9 apart.

Environment- and order-dependent:

Not root-caused: test_q4_exllama_v2::test_exllamav2 differs from a baked reference (maxdiff 0.64) on a synthetic raw-buffer module. It is likely the same v1/v2 labelling drift as #4167.

Already filed: test_kernel_device_error_reason.py, test_hessian_device_reduction_order.py (#4234).


Found during an AI-assisted review (Claude Code) of 9dad249; repros were run on RTX 4090/5090 (CUDA 13) and/or Radeon AI PRO R9700 (ROCm) unless marked static/suspected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions