Summary
The TheRock multi-arch pip wheel distribution is an available method to install ROCm. The examples repository has partial CI support for this install method (ci_therock.yml), but several pieces are missing or incomplete before we can confidently say multi-arch usage is supported end-to-end.
This issue tracks all the work needed to get there.
Documentation
Local testing / Docker
CI coverage
Build system
Things to Note
- Documentation isn't mandatory, but would be nice
Summary
The TheRock multi-arch pip wheel distribution is an available method to install ROCm. The examples repository has partial CI support for this install method (
ci_therock.yml), but several pieces are missing or incomplete before we can confidently say multi-arch usage is supported end-to-end.This issue tracks all the work needed to get there.
Documentation
Add a "Installing via TheRock pip wheel" section to the top-level
README.mdexplaining the per-architecture wheel families (
gfx110X-all,gfx1151,gfx90X-dcgpu,gfx94X-dcgpu,gfx120X-all), therocm[libraries,devel]meta-package, and how to set
ROCM_PATHfromrocm-sdk path --rootDocument required environment variables for wheel installs and why each is needed:
Add troubleshooting section covering
hipErrorInvalidImage(kpack issues),missing library kernels, and how to diagnose with
AMD_LOG_LEVEL=4Create
Scripts/multiarch-testing/README.mdto reflect any changes fromthe items above
Local testing / Docker
Scripts/multiarch-testing/directoryScripts/multiarch-testing/that installs ROCmvia the TheRock multiarch pip wheel (parameterized by
THEROCK_FAMILY) and sets allrequired environment variables, one for Ubuntu, SLES, and Rocky if not done already
run-tests.shthat builds the image and runsCMake configure → build → ctest in a single command
CI coverage
DISTRO_MAPandworkflow_dispatchoptionsgenerate_skip_tests.pyfor tests thatfail due to upstream packaging gaps, not example bugs
rocm-sdk testand skip (not fail) if the wheelis broken for that arch
regressions early
Build system
add_custom_commandoutputs forCMAKE_CURRENT_SOURCE_DIRpaths that break read-only source mounts
Things to Note