Repository navigation
Add 7.14 ubuntu 24.04 amdrocm-core-sdk dockerfile - #488
Merged
Merged
Conversation
Signed-off-by: zichguan-amd <zichuan.guan@amd.com>
Signed-off-by: zichguan-amd <zichuan.guan@amd.com>
amdrocm-core-sdk does not pull hipTensor or rocALUTION, so their examples were skipped. Add the -dev packages for headers/CMake config plus the -host packages, which ship the runtime .so (the -dev packages have no dependencies and do not pull it in on their own).
Switch hipTensor/rocALUTION from -host to the meta package so the per-arch device kernels (.kpack) are installed; without them GPU kernel launches fail with "device kernel image is invalid". Also restore native-image parity dropped from the old dockerfile: /opt/rocm/bin on PATH, /opt/rocm/lib registered with the dynamic loader, and pyyaml (required by rocprofv3).
zichguan-amd
force-pushed
the
zichguan/7.14migration
branch
from
July 22, 2026 22:09
7ad530b to
1444802
Compare
Add a tag_latest boolean input (default false) so manual dispatch runs no longer overwrite the latest tag unless explicitly requested. Push to amd-staging still auto-tags latest. Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
Add a branch-name fallback tag so every push/dispatch produces at least one tag (avoids "tag is needed" on non-latest dispatch), and gate the ROCm-version tag to the stable channel so dev builds never clobber the shared latest/7.14 tags. Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
The value is grepped from the Dockerfile's own ARG default and fed back in unchanged, so it never alters the build. The extract step remains for the version tag. Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
Register the prerelease repo (pinned to priority 1) and install amdrocm-decode-test, which is only published there. This provides the video/utility assets the rocDecode examples need to build and test. Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
Add a Dockerfiles README section for ubuntu-24.04-rocm.Dockerfile and fix the stale multi-arch CI image list. Note in the rocDecode README that the shared utility sources and sample videos are required and ship via a tarball install or the amdrocm-decode-test package. Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
2 of 8 tasks
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.
Motivation
Add package manager installed ROCm docker image. Reusable for per category CI workflow, inheriting previous mainline workflows. This image contains all necessary packages to build and run rocm-examples, no additional installation or setup needed.
Technical Details
Add a ubuntu 24.04 based ROCm-installed image. Installs 7.14 for all supported archs.
Add ROCm version tagging for the new image only.
Add license statement to dockerfiles.
Register the prerelease repo (
rocm.prereleases.amd.com) alongside the stable repo (repo.amd.com), pinned to priority 1 so only packages absent from stable are pulled from it. This installsamdrocm-decode-test(prerelease-only,7.14.0~pre3), which provides the video and utility assets the rocDecode examples need to build and run their tests; the-dev/runtime decode packages come in transitively from stable. Updated rocDecode README to reflect this.hipDNN, MIGraphX, MIVisionX, RPP, rocAL, rocCV are not available from packaged install.
Test Plan
Local build and test
Test Result
Built https://github.com/ROCm/rocm-examples/pkgs/container/rocm-examples-ubuntu-24.04-rocm/1057904364?tag=7.14 and ctest runs successfully.
Added/Updated documentation?
Included Visual Studio files?
Submission Checklist