Skip to content

Commit

Permalink
Merge pull request #1527 from timfelle/cicd/hip-error
Browse files Browse the repository at this point in the history
Update ROCm installation process
  • Loading branch information
timfelle authored Oct 2, 2024
2 parents b65c455 + c46eaec commit b926653
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/check_gnu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,12 @@ jobs:
- name: Build (HIP backend)
if: matrix.backend == 'HIP'
run: |
wget -q -O - https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add -
echo 'deb [arch=amd64] https://repo.radeon.com/rocm/apt/debian/ ubuntu main' | sudo tee /etc/apt/sources.list.d/rocm.list
sudo apt-get update && sudo apt-get install -y rocm-dev
# Following the instructions from https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/quick-start.html
wget -r -np -nd -A 'amdgpu*.deb' https://repo.radeon.com/amdgpu-install/latest/ubuntu/focal/
sudo apt install ./amdgpu-install_*.deb
sudo apt-get update && sudo apt-get install -y amdgpu-dkms rocm-dev
# Lets not hardcode the version
ROCM_DIR=$(ls -d /opt/rocm-*)
Expand Down

0 comments on commit b926653

Please sign in to comment.