Skip to content

Use the ROCm of the uenv in the beverin CI with AMDGPU.jl >= 2.12 - #251

Merged
luraess merged 2 commits into
mainfrom
lr/amdgpu-local-rocm
Dec 1, 2026
Merged

luraess merged 2 commits into
mainfrom
lr/amdgpu-local-rocm

Conversation

@luraess

@luraess luraess commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Fixes the beverin CI (MI300A, MI250X), which fails on main since it resolved AMDGPU.jl 2.13: HIP does not start (hipErrorNoDevice).

AMDGPU.jl 2.12 ships ROCm as artifacts (ROCm_Runtime) and uses them by default. Next to the ROCm of the uenv, HIP fails to start (hipErrorNoDevice). JULIA_AMDGPU_DISABLE_ARTIFACTS is not read by AMDGPU.jl 2.x and is removed.

  • ci/beverin_rocm_prefs: the local preference of ROCm_Runtime, stacked on the load path of the beverin jobs, so that AMDGPU.jl uses the ROCm of the uenv.
  • test/runtests.jl: installs ROCm_Runtime with AMDGPU into the test environment, as CUDA_Runtime_jll with CUDA, because preferences apply only to direct dependencies of the Pkg.test sandbox. Without a preference, nothing changes.

AMDGPU.jl 2.12 ships ROCm as artifacts (ROCm_Runtime) and uses them by
default. Next to the ROCm of the uenv, HIP fails to start
(hipErrorNoDevice): the MI300A and MI250X jobs fail since the CI
resolved AMDGPU.jl 2.13. JULIA_AMDGPU_DISABLE_ARTIFACTS is not read by
AMDGPU.jl 2.x and is removed.

Set the "local" preference of ROCm_Runtime in ci/beverin_rocm_prefs,
stacked on the load path of the beverin jobs, and install ROCm_Runtime
with AMDGPU into the test environment, as CUDA_Runtime_jll with CUDA,
so that the preference also applies under Pkg.test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov-commenter

codecov-commenter commented Dec 1, 2026 •

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.61%. Comparing base (290e89f) to head (ba5d8e7).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

With AMDGPU.jl 2.13, which Enzyme no longer holds back on MI250X,
Enzyme's reverse mode does not compile on AMD GPUs (InvalidIRError:
unsupported call to gpu_report_exception in test_parallel.jl): set
PS_TEST_AD=0 on MI250X as on MI300A; the AD tests on GPUs run in the
job gh200.

Each test file takes 1.2 to 2.7 times as long as with AMDGPU.jl 2.11
(KernelAbstractions 0.10), and the test environment is precompiled
anew: the MI300A job (31 min with 2.11) hit the 45 min limit in the
last test files. Raise the limit to 75 min.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@luraess
luraess merged commit df7a046 into main Dec 1, 2026
9 of 11 checks passed
@luraess
luraess deleted the lr/amdgpu-local-rocm branch December 1, 2026 17:45
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