Skip to content

[CI][HIP] Switch to using 6.1 rocm and make it use a fixed version. #13300

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 45 commits into from
Apr 30, 2024
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
5530bcc
Switch to using 6.0.2 rocm.
JackAKirk Apr 5, 2024
f2cc7e6
See if apt-update fixes issue.
JackAKirk Apr 9, 2024
0b22308
Try a different install method.
JackAKirk Apr 10, 2024
70824a2
Confirm install instructs.
JackAKirk Apr 10, 2024
156eba3
Added missing "y"
JackAKirk Apr 10, 2024
cfaaa3b
y -> yes
JackAKirk Apr 10, 2024
cb989eb
Try without package pin.
JackAKirk Apr 10, 2024
5aed3f5
Add yes command.
JackAKirk Apr 10, 2024
0ad9a92
skip amdgpu-dkms install.
JackAKirk Apr 10, 2024
580945f
remove dkms check
JackAKirk Apr 10, 2024
5da5659
Try using amdgpu-install script.
JackAKirk Apr 10, 2024
1ac9bf4
y -> yes
JackAKirk Apr 10, 2024
565e7e0
Use `amdgpu-install --no-dkms`.
JackAKirk Apr 10, 2024
3d12f4a
Try just with --usecase=graphics.
JackAKirk Apr 10, 2024
dddee07
Try rocm6.0.0.
JackAKirk Apr 10, 2024
e4a7c49
update later, skip dkms.
JackAKirk Apr 10, 2024
be77262
rocm-core w/ 6.0.2.
JackAKirk Apr 11, 2024
a343944
6.0.0. no pin.
JackAKirk Apr 11, 2024
ae49677
test
JackAKirk Apr 12, 2024
6c9a121
add missing line.
JackAKirk Apr 12, 2024
b2cc8ed
Remove rocm install.
JackAKirk Apr 12, 2024
5eff375
try original on CI.
JackAKirk Apr 12, 2024
ba4a856
Try again.
JackAKirk Apr 16, 2024
fccc407
Merge branch 'sycl' into rocm-use-fixed-version-docker
JackAKirk Apr 16, 2024
2abc822
Trigger full CI.
JackAKirk Apr 16, 2024
c278eb8
rocm-core -> rocm-dev
JackAKirk Apr 16, 2024
f42dc43
Install deps.
JackAKirk Apr 16, 2024
5af02ba
Fix dependencies; single RUN.
JackAKirk Apr 16, 2024
47c2c9e
Install deps explicitly.
JackAKirk Apr 16, 2024
a015292
Try -fy.
JackAKirk Apr 16, 2024
f8823ec
Install deps manually.
JackAKirk Apr 16, 2024
95c294b
separate out deps.
JackAKirk Apr 16, 2024
3740a93
try rocm 6.
JackAKirk Apr 16, 2024
c4bdce0
Try adding pin.
JackAKirk Apr 16, 2024
b6e63dd
try 6.1
JackAKirk Apr 25, 2024
2e445a0
remove extra |
JackAKirk Apr 25, 2024
86d0611
remove pin pref.
JackAKirk Apr 25, 2024
95a7b3b
rocm-dev -> rocm
JackAKirk Apr 25, 2024
3fb57c5
Uninstall existing rocm versions first.
JackAKirk Apr 25, 2024
7b7cc52
uninstall existing old dependencies.
JackAKirk Apr 25, 2024
1749e19
use amdgpu installer with rocmdev.
JackAKirk Apr 25, 2024
e7a1a47
use yes
JackAKirk Apr 25, 2024
a6be9a3
use `yes`.
JackAKirk Apr 25, 2024
bc00dfe
add cleanup.
JackAKirk Apr 26, 2024
7362057
Merge branch 'sycl' into rocm-use-fixed-version-docker
JackAKirk Apr 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions devops/containers/ubuntu2204_build.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,10 @@ RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/
COPY scripts/install_build_tools.sh /install.sh
RUN /install.sh

# Install AMD ROCm
RUN printf 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600\n' | tee /etc/apt/preferences.d/rocm-pin-600
RUN apt install -yqq libnuma-dev wget gnupg2 && \
wget -q -O - https://repo.radeon.com/rocm/rocm.gpg.key | apt-key add - && \
echo 'deb [arch=amd64] https://repo.radeon.com/rocm/apt/debian/ ubuntu main' | tee /etc/apt/sources.list.d/rocm.list && \
apt update && \
apt install -yqq rocm-dev && \
wget https://repo.radeon.com/amdgpu-install/6.1/ubuntu/jammy/amdgpu-install_6.1.60100-1_all.deb && \
apt install -yqq ./amdgpu-install_6.1.60100-1_all.deb && \
yes | amdgpu-install --usecase=rocmdev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

Expand Down