Fix native Linux package install instructions for multi-arch#67
Fix native Linux package install instructions for multi-arch#67JeniferC99 wants to merge 1 commit into
Conversation
Point the native package repository base, apt source line, and rpm baseurl at packages-multi-arch/ (the per-distro repos only exist there), and correct the install command package name from the non-existent amdrocm-gfx94x to the actual amdrocm7.14-gfx942 metapackage. Co-authored-by: Cursor <cursoragent@cursor.com>
nunnikri
left a comment
There was a problem hiding this comment.
Must needed change. Thanks for doing it. Please update as per the comments
|
|
||
| ```bash | ||
| sudo dnf install amdrocm-gfx94x # Change the gfx arch based on your machine. | ||
| sudo dnf install amdrocm7.14-gfx942 # Change the version (7.14) and gfx arch (gfx942) based on your release and machine. |
There was a problem hiding this comment.
let keep this as amdrocm(runtime alone) or even better amdrocm-core-sdk(full ROCm core)
So that we dont have to change based on version and gfx arch.
Can put in comment how to install arch specific packages
|
|
||
| ```bash | ||
| sudo apt install amdrocm-gfx94x # Change the gfx arch based on your machine. | ||
| sudo apt install amdrocm7.14-gfx942 # Change the version (7.14) and gfx arch (gfx942) based on your release and machine. |
There was a problem hiding this comment.
let keep this as amdrocm(runtime alone) or even better amdrocm-core-sdk(full ROCm core)
So that we dont have to change based on version and gfx arch.
Can put in comment how to install arch specific packages
| ```bash | ||
| sudo tee /etc/apt/sources.list.d/rocm.list << EOF | ||
| deb [arch=amd64 signed-by=/etc/apt/keyrings/amdrocm.gpg] https://rocm.prereleases.amd.com/packages/<os_profile> stable main | ||
| deb [arch=amd64 signed-by=/etc/apt/keyrings/amdrocm.gpg] https://rocm.prereleases.amd.com/packages-multi-arch/<os_profile> stable main |
There was a problem hiding this comment.
instead of os_profile, lets give either ubuntu2404 or ubuntu2604 so that just copy paste works and in comments can ask user to change according to their OS
| [rocm] | ||
| name=ROCm Prerelease Repository | ||
| baseurl=https://rocm.prereleases.amd.com/packages/<os_profile>/x86_64/ | ||
| baseurl=https://rocm.prereleases.amd.com/packages-multi-arch/<os_profile>/x86_64/ |
There was a problem hiding this comment.
instead of os_profile, lets give either rhel10 so that just copy paste works and in comments can ask user to change according to their OS
The native Linux package section pointed at
packages/and installed a non-existentamdrocm-gfx94xpackage. The per-distro repos (debian12,ubuntu2404,rhel10,sles15, …) only exist underpackages-multi-arch/, and the actual per-GPU metapackage isamdrocm7.14-gfx942. This updates the repo base URL, the apt source line, and the rpmbaseurl, and fixes both install commands. Verified end-to-end by installing 7.14.0rc0 packages in Ubuntu 24.04, RHEL 10 (AlmaLinux), and SLES 15 containers. The GPG key URL is intentionally left onpackages/gpg/rocm.gpgbecause the key currently 403s underpackages-multi-arch/gpg/— flagging that separately for infra to mirror so the paths can be made fully consistent.Made with Cursor