Skip to content

test(rocm): handle non-ROCm LLC status - #3711

Merged
Qubitium merged 1 commit into
mainfrom
fix/rocm-llc-non-rocm-test
Nov 9, 2026
Merged

Qubitium merged 1 commit into
mainfrom
fix/rocm-llc-non-rocm-test

Conversation

@Qubitium

@Qubitium Qubitium commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

Make the ROCm LLC idempotence test portable to non-ROCm hosts. The defensive apply() path correctly returns only {"props": "skipped: not ROCm"} when HIP is unavailable, while the test previously required the full applied-state key set unconditionally.

Regression

  • The test failed on CPU and NVIDIA-only hosts.
  • Idempotence and non-empty status values remain asserted on every host.
  • Full props, benchmarker, and cudagraph coverage remains asserted on ROCm.

Validation

TMPDIR=/dev/shm PYTHONDONTWRITEBYTECODE=1 /root/venv/bin/python -m pytest tests/test_rocm_llc.py -q -p no:cacheprovider
8 passed, 2 skipped

@Qubitium
Qubitium merged commit fdc5f8d into main Nov 9, 2026
5 checks passed
@Qubitium
Qubitium deleted the fix/rocm-llc-non-rocm-test branch November 9, 2026 12:21
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