Skip to content

ci: deselect PGLE/FDO profiling tests on ROCm (ROCM-25581) [v0.9.2]#790

Open
srinivamd wants to merge 1 commit into
rocm-jaxlib-v0.9.2from
fix/deselect-pgle-tests-rocm25581-v092
Open

ci: deselect PGLE/FDO profiling tests on ROCm (ROCM-25581) [v0.9.2]#790
srinivamd wants to merge 1 commit into
rocm-jaxlib-v0.9.2from
fix/deselect-pgle-tests-rocm25581-v092

Conversation

@srinivamd

@srinivamd srinivamd commented Jun 3, 2026

Copy link
Copy Markdown

Summary

Backport of #788 to rocm-jaxlib-v0.9.2. Deselects 5 failing PGLE/FDO profiling tests from the ROCm CI runner. These tests have never passed on any ROCm GPU.

Fixes ROCM-25581

Problem

tests/pgle_test.py PGLE tests fail on all ROCm GPUs because:

  1. gfx120X (RDNA4): rocm-systems PR #307 removed Navi4x support from rocprofiler v2. XLA's ROCm profiler backend still uses the legacy API — every HIP callback is dropped, producing empty FDO profiles.

  2. gfx94X/gfx950 (CDNA): The ROCm collector doesn't produce CUPTI-equivalent XPlane annotations needed by ConvertXplaneToProfiledInstructionsProto.

These tests were already deselected in ROCm/rocm-jax-internal ci/pytest_skips.ini but run_pytest_rocm.sh does not consume that skip file.

Tests deselected

Test Failure
PgleTest::testAutoPgle RuntimeWarning: PGLE collected an empty trace
PgleTest::testAutoPgleWithCommandBuffers0 Same
PgleTest::testAutoPgleWithCommandBuffers1 Same
PgleTest::testAutoPgleWithPersistentCache Same
PgleTest::testPGLEProfilerGetFDOProfile AssertionError: b'custom' not found

Related

  • #788 — same fix for rocm-jaxlib-v0.9.1
  • ROCM-25581 — gfx120X PGLE test failures
  • ROCM-24266 — same failures on gfx94X (resolved by skips in rocm-jax-internal)

PGLE/FDO profiling has never worked on any ROCm GPU. The XLA ROCm
profiling backend (device_tracer_rocm.cc) uses the legacy roctracer v2
API which was deliberately removed for gfx120X (rocm-systems PR #307).
Even on gfx94X where v2 still works, the ROCm collector does not
produce CUPTI-equivalent XPlane annotations needed by
ConvertXplaneToProfiledInstructionsProto.

These 5 tests were already deselected in ROCm/rocm-jax-internal
ci/pytest_skips.ini (commit b0cd9da7, 2025-09-26) but that skip file
is not applied by the run_pytest_rocm.sh CI runner.

Fixes: ROCM-25581

@magaonka-amd magaonka-amd left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would be much better to skip it in file, but for now I'l apporve this because I do have plans to visit these fails later this week and address them. dont want to keep QA blocking until then.

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.

2 participants