Skip to content

[TEST] Test triage at 489aed6: failures from this round's commits (db31a55, 863549f, 27c6b7b, a427804, offload default) plus ROCm-only bounds/skips #4462

Closed

Description

@Qubitium

Severity: low; mostly test-side. Run on Radeon AI PRO R9700 (ROCm 10.1): 117 changed test files, 3,440 passed, 26 failed. Items marked "all" also fail on CPU/CUDA. Environment-only failures (old defuser in the venv, missing einops, offline cache) are left out, and so are items already in #4351/#4398.

Fails everywhere

ROCm only

  • tests/test_qqq_kernel_memory_4387.py::test_qqq_torch_cuda_forward_peak_transient_is_bounded (new in 863549f): measures 100.82 MiB against a 70 MiB bound.
    • The QQQ code itself allocates about 25 MiB (the int8 weight build).
    • The fp32 torch.matmul at M=1 (896×4864) takes about 80 MiB of transient memory, apparently hipBLASLt workspace allocated per call.
    • The bound needs ROCm headroom, or should exclude the BLAS workspace.
  • test_paroquant.py::test_paroquant_cuda_awq_kernel_preserves_bf16: KeyError: 'input_dtype', because the HIP path never calls the monkeypatched _awq_cuda_gemm_forward. Needs a ROCm skip; also fails at def6e61.

Observation (not a test)

GPTQ and QQQ quantize on ROCm keep the peak reserved VRAM after quantize() returns:

  • Llama-3.2-1B GPTQ: 2.20 GiB still reserved, with peak allocated 1.43 GiB, even though the model is offloaded or on CPU.
  • AWQ releases down to 0.82 GiB.

The "empty_cache at end of quantize" idea from #4389 was not implemented.


Found during an AI-assisted review (Claude Code, round 13) of 489aed6; repros were run at that commit (A/B against def6e61 where noted) 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

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions