Skip to content

Fix native Linux package install instructions for multi-arch#67

Draft
JeniferC99 wants to merge 1 commit into
ROCm:mainfrom
JeniferC99:users/jechrist/fix-native-package-readme
Draft

Fix native Linux package install instructions for multi-arch#67
JeniferC99 wants to merge 1 commit into
ROCm:mainfrom
JeniferC99:users/jechrist/fix-native-package-readme

Conversation

@JeniferC99

Copy link
Copy Markdown

The native Linux package section pointed at packages/ and installed a non-existent amdrocm-gfx94x package. The per-distro repos (debian12, ubuntu2404, rhel10, sles15, …) only exist under packages-multi-arch/, and the actual per-GPU metapackage is amdrocm7.14-gfx942. This updates the repo base URL, the apt source line, and the rpm baseurl, 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 on packages/gpg/rocm.gpg because the key currently 403s under packages-multi-arch/gpg/ — flagging that separately for infra to mirror so the paths can be made fully consistent.

Made with Cursor

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 nunnikri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Must needed change. Thanks for doing it. Please update as per the comments

Comment thread README.md

```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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread README.md

```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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread README.md
```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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread README.md
[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/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants