1515 DOCKER_IMAGE_NAME : ${{ vars.DOCKER_IMAGE_NAME || 'iris-dev-triton-aafec41' }}
1616
1717jobs :
18- build-container-image :
19- runs-on : [self-hosted, mi3xx]
20- timeout-minutes : 180
21-
22- steps :
23- - name : Checkout repository
24- uses : actions/checkout@v4
25-
26- - name : Setup Apptainer (if not available)
27- run : |
28- if ! command -v apptainer &> /dev/null && ! command -v docker &> /dev/null; then
29- echo "Neither Apptainer nor Docker found, installing Apptainer..."
30- apt-get update && apt-get install -y software-properties-common
31- add-apt-repository -y ppa:apptainer/ppa
32- apt-get update && apt-get install -y apptainer
33- else
34- echo "Container runtime already available"
35- fi
36-
37- - name : Build Iris container
38- run : |
39- bash .github/scripts/container_build.sh
40-
4118 test-git :
4219 name : Test ${{ matrix.test_dir }} (${{ matrix.num_ranks }} ranks, git install)
43- needs : build-container-image
44- runs-on : [self-hosted, mi3xx]
20+ runs-on : [linux-mi325-8gpu-ossci-rad]
4521 timeout-minutes : 180
4622 strategy :
4723 fail-fast : false
9369 - name : Checkout repository
9470 uses : actions/checkout@v4
9571
72+ - name : Setup Apptainer (if not available)
73+ run : |
74+ if ! command -v apptainer &> /dev/null && ! command -v docker &> /dev/null; then
75+ echo "Neither Apptainer nor Docker found, installing Apptainer..."
76+ apt-get update && apt-get install -y software-properties-common
77+ add-apt-repository -y ppa:apptainer/ppa
78+ apt-get update && apt-get install -y apptainer
79+ else
80+ echo "Container runtime already available"
81+ fi
82+
83+ - name : Build Iris container
84+ run : |
85+ bash .github/scripts/container_build.sh
86+
9687 - name : Acquire GPUs
9788 run : |
9889 bash .github/scripts/acquire_gpus.sh "${{ matrix.num_ranks }}"
@@ -119,8 +110,8 @@ jobs:
119110
120111 test-editable :
121112 name : Test ${{ matrix.test_dir }} (${{ matrix.num_ranks }} ranks, editable install)
122- needs : [build-container-image, test-git]
123- runs-on : [self-hosted, mi3xx ]
113+ needs : [test-git]
114+ runs-on : [linux-mi325-8gpu-ossci-rad ]
124115 timeout-minutes : 180
125116 strategy :
126117 fail-fast : false
@@ -172,6 +163,21 @@ jobs:
172163 - name : Checkout repository
173164 uses : actions/checkout@v4
174165
166+ - name : Setup Apptainer (if not available)
167+ run : |
168+ if ! command -v apptainer &> /dev/null && ! command -v docker &> /dev/null; then
169+ echo "Neither Apptainer nor Docker found, installing Apptainer..."
170+ apt-get update && apt-get install -y software-properties-common
171+ add-apt-repository -y ppa:apptainer/ppa
172+ apt-get update && apt-get install -y apptainer
173+ else
174+ echo "Container runtime already available"
175+ fi
176+
177+ - name : Build Iris container
178+ run : |
179+ bash .github/scripts/container_build.sh
180+
175181 - name : Acquire GPUs
176182 run : |
177183 bash .github/scripts/acquire_gpus.sh "${{ matrix.num_ranks }}"
@@ -195,8 +201,8 @@ jobs:
195201
196202 test-install :
197203 name : Test ${{ matrix.test_dir }} (${{ matrix.num_ranks }} ranks, pip install)
198- needs : [build-container-image, test-editable]
199- runs-on : [self-hosted, mi3xx ]
204+ needs : [test-editable]
205+ runs-on : [linux-mi325-8gpu-ossci-rad ]
200206 strategy :
201207 fail-fast : false
202208 matrix :
@@ -247,6 +253,21 @@ jobs:
247253 - name : Checkout repository
248254 uses : actions/checkout@v4
249255
256+ - name : Setup Apptainer (if not available)
257+ run : |
258+ if ! command -v apptainer &> /dev/null && ! command -v docker &> /dev/null; then
259+ echo "Neither Apptainer nor Docker found, installing Apptainer..."
260+ apt-get update && apt-get install -y software-properties-common
261+ add-apt-repository -y ppa:apptainer/ppa
262+ apt-get update && apt-get install -y apptainer
263+ else
264+ echo "Container runtime already available"
265+ fi
266+
267+ - name : Build Iris container
268+ run : |
269+ bash .github/scripts/container_build.sh
270+
250271 - name : Acquire GPUs
251272 run : |
252273 bash .github/scripts/acquire_gpus.sh "${{ matrix.num_ranks }}"
@@ -270,8 +291,7 @@ jobs:
270291
271292 test-new-examples :
272293 name : New examples (${{ matrix.num_ranks }} ranks, ${{ matrix.install_method }})
273- needs : build-container-image
274- runs-on : [self-hosted, mi3xx]
294+ runs-on : [linux-mi325-8gpu-ossci-rad]
275295 timeout-minutes : 180
276296 permissions :
277297 contents : read
@@ -290,6 +310,21 @@ jobs:
290310 - name : Checkout repository
291311 uses : actions/checkout@v4
292312
313+ - name : Setup Apptainer (if not available)
314+ run : |
315+ if ! command -v apptainer &> /dev/null && ! command -v docker &> /dev/null; then
316+ echo "Neither Apptainer nor Docker found, installing Apptainer..."
317+ apt-get update && apt-get install -y software-properties-common
318+ add-apt-repository -y ppa:apptainer/ppa
319+ apt-get update && apt-get install -y apptainer
320+ else
321+ echo "Container runtime already available"
322+ fi
323+
324+ - name : Build Iris container
325+ run : |
326+ bash .github/scripts/container_build.sh
327+
293328 - name : Acquire GPUs
294329 run : |
295330 bash .github/scripts/acquire_gpus.sh "${{ matrix.num_ranks }}"
0 commit comments