Repository navigation
Use the ROCm of the uenv in the beverin CI with AMDGPU.jl >= 2.12 - #251
Merged
Merged
Conversation
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 Report✅ All modified and coverable lines are covered by tests. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the beverin CI (MI300A, MI250X), which fails on
mainsince 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_ARTIFACTSis not read by AMDGPU.jl 2.x and is removed.ci/beverin_rocm_prefs: thelocalpreference ofROCm_Runtime, stacked on the load path of the beverin jobs, so that AMDGPU.jl uses the ROCm of the uenv.test/runtests.jl: installsROCm_RuntimewithAMDGPUinto the test environment, asCUDA_Runtime_jllwithCUDA, because preferences apply only to direct dependencies of thePkg.testsandbox. Without a preference, nothing changes.