ci(gfx11): build one universal multi-arch ROCm package#24
Merged
Conversation
Collapse the 4-leg per-family matrix (gfx1151/gfx1150/gfx1153/gfx110X) into a single build sourced from TheRock's multi-arch tarball. One fat binary covers all current CI arches (gfx1100-1103, gfx1150/1151/1153) and ships as one universal release archive instead of four mostly- duplicate per-family archives. The multi-arch tarball is streamed and pruned at the tar level: drop all .kpack and the Tensile DBs of every non-target arch. The GEMM path llama.cpp uses works from the per-arch Tensile DB alone (validated on gfx1151 hardware: rocBLAS sgemm succeeds with ROCM_KPACK_DISABLE=1), so no .kpack files are bundled. The gfx1151 hardware test job is the end-to-end safety net. Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
eble-amd
reviewed
Jun 16, 2026
The "universal" vs "multi-arch" wording was redundant — both describe one package covering many arches. Standardize on "multiarch" to match TheRock's upstream vocabulary. Renames the artifact/archive to llama-<TAG>-ubuntu-rocm-multiarch-x64 and updates comments + release body. Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
Follow-up to the package rename: drop the hyphenated "multi-arch" prose in comments, echoes, and the release body for one consistent spelling. The upstream nightlies endpoint (tarball-multi-arch) and the therock-dist-linux- multiarch- filenames are external names and left untouched. Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
eble-amd
approved these changes
Jun 17, 2026
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.
Summary
tarlevel: all.kpackdevice-code files are dropped, along with the per-arch Tensile databases of every non-target arch (datacenter + unused consumer). The 11.5 GB is streamed, never stored, keeping the runner disk footprint small.ROCM_KPACK_DISABLE=1). No.kpackfiles are bundled.test-gfxde-matrixed to a single gfx1151 hardware run on the universal artifact (realllama-cliinference) — the end-to-end safety net.create-releaseemits onellama-<tag>-ubuntu-rocm-universal-x64.tar.gz.Test plan
build-ubuntucompletes without disk exhaustion; extracted/opt/rocm/lib/rocblas/librarycontains only the 7 target arch dirs and no.kpackdir exists.test-gfxonlinux-gfx1151-gpu-rocmpasses all checks (device selected, layers offloaded, correct deterministic answer to "2+2").create_release=truepublishes a single*-universal-x64.tar.gzasset that extracts to a runnable tree.