Skip to content

Commit f9a6982

Browse files
authored
Switch test_mi300 workflow to a different runner label and remove Docker. (#20192)
Another tentative fix for #19955. The previously used runner label did not have ROCm installed or GPUs visible so we were forced to get that from a Dockerfile. With this we no longer need Docker in the workflow at all, including the changes from #20178 and iree-org/base-docker-images#28). I can delete that dockerfile if this sticks. Test runs: * https://github.com/iree-org/iree/actions/runs/13726740244/attempts/1 * https://github.com/iree-org/iree/actions/runs/13726740244/attempts/2 (flakes tracked at #20061) * https://github.com/iree-org/iree/actions/runs/13726740244/attempts/3 ci-exactly: build_packages, test_amd_mi300
1 parent d3ce7e7 commit f9a6982

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/pkgci_test_amd_mi300.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,35 +19,35 @@ on:
1919

2020
jobs:
2121
test_mi300:
22-
runs-on: linux-mi300-gpu-1
23-
container:
24-
image: ghcr.io/iree-org/rocm_ubuntu_jammy@sha256:54aaf6cb8913a4c33c9504e19c393569e0eb64a8638659992c756a06275bf961
25-
options: --user root --device=/dev/kfd --device=/dev/dri --ipc=host --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined
22+
runs-on: linux-mi300-1gpu-ossci-iree-org
2623
env:
2724
PACKAGE_DOWNLOAD_DIR: ${{ github.workspace }}/.packages
2825
BUILD_DIR: build-tests
2926
VENV_DIR: ${{ github.workspace }}/.venv
3027
GH_TOKEN: ${{ github.token }}
31-
CC: clang
32-
CXX: clang++
3328
IREE_CPU_DISABLE: 1
3429
IREE_VULKAN_DISABLE: 1
3530
IREE_CUDA_ENABLE: 0
3631
IREE_HIP_ENABLE: 1
3732
IREE_HIP_TEST_TARGET_CHIP: "gfx942"
3833
steps:
34+
- name: Run rocminfo
35+
run: rocminfo
3936
- name: Check out repository
4037
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4138
with:
4239
submodules: false
43-
- name: "Mark git safe.directory"
44-
run: git config --global --add safe.directory '*'
4540
- name: Check out runtime submodules
4641
run: ./build_tools/scripts/git/update_runtime_submodules.sh
4742
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
4843
with:
4944
# Must match the subset of versions built in pkgci_build_packages.
5045
python-version: "3.11"
46+
- name: Install dependencies
47+
if: ${{ inputs.artifact_run_id != '' }}
48+
run: |
49+
sudo apt-get update
50+
sudo apt-get install gh
5151
- uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
5252
if: ${{ inputs.artifact_run_id == '' }}
5353
with:

0 commit comments

Comments
 (0)