|
44 | 44 | test: '' |
45 | 45 | runner: ubuntu-24.04-arm |
46 | 46 |
|
| 47 | + - base: 'bases:nvidia-nvc12' |
| 48 | + tag: 'nvidia-nvc12' |
| 49 | + arch: amd64 |
| 50 | + platform: linux/amd64 |
| 51 | + run_tests: false |
| 52 | + tag_suffix: '-amd64' |
| 53 | + # Respect CUDA_VISIBLE_DEVICES set by the runner and hard-limit docker to that device. |
| 54 | + # (--gpus maps only the selected device from CUDA_VISIBLE_DEVICES) |
| 55 | + flag: --init --gpus "device=${CUDA_VISIBLE_DEVICES:-all}" |
| 56 | + test: 'tests/test_gpu_openacc.py tests/test_gpu_common.py' |
| 57 | + runner: ["self-hosted", "nvidiagpu"] |
| 58 | + |
| 59 | + - base: 'bases:nvidia-nvc12' |
| 60 | + tag: 'nvidia-nvc12' |
| 61 | + arch: arm64 |
| 62 | + platform: linux/arm64 |
| 63 | + run_tests: false |
| 64 | + tag_suffix: '-arm64' |
| 65 | + flag: --init --gpus "device=${CUDA_VISIBLE_DEVICES:-all}" |
| 66 | + test: '' |
| 67 | + runner: ubuntu-24.04-arm |
| 68 | + |
47 | 69 | # Runtime gpu flags from https://hub.docker.com/r/rocm/tensorflow/ |
48 | 70 | - base: 'bases:amd' |
49 | 71 | tag: 'amd' |
@@ -127,9 +149,9 @@ jobs: |
127 | 149 | type=raw,value=latest,enable=${{ matrix.base == 'bases:cpu-gcc' }},suffix=${{ matrix.tag_suffix }} |
128 | 150 | type=semver,pattern={{raw}},prefix=${{ matrix.tag }}-,enable=${{ github.event_name == 'release' }},suffix=${{ matrix.tag_suffix }} |
129 | 151 | # Legacy "gpu" tag |
130 | | - type=raw,value=gpu-dev,enable=${{ matrix.base == 'bases:nvidia-nvc' }},suffix=${{ matrix.tag_suffix }} |
131 | | - type=semver,pattern={{raw}},prefix=gpu-,enable=${{ github.event_name == 'release' && matrix.base == 'bases:nvidia-nvc' }},suffix=${{ matrix.tag_suffix }} |
132 | | - type=semver,pattern={{raw}},value=gpu-latest,enable=${{ github.event_name == 'release' && matrix.base == 'bases:nvidia-nvc' }},suffix=${{ matrix.tag_suffix }} |
| 152 | + type=raw,value=gpu-dev,enable=${{ contains(matrix.base, 'bases:nvidia-nvc') }},suffix=${{ matrix.tag_suffix }} |
| 153 | + type=semver,pattern={{raw}},prefix=gpu-,enable=${{ github.event_name == 'release' && contains(matrix.base, 'bases:nvidia-nvc') }},suffix=${{ matrix.tag_suffix }} |
| 154 | + type=semver,pattern={{raw}},value=gpu-latest,enable=${{ github.event_name == 'release' && contains(matrix.base, 'bases:nvidia-nvc') }},suffix=${{ matrix.tag_suffix }} |
133 | 155 | # Legacy "cpu" tag |
134 | 156 | type=raw,value=cpu-dev,enable=${{ matrix.base == 'bases:cpu-gcc' }},suffix=${{ matrix.tag_suffix }} |
135 | 157 | type=semver,pattern={{raw}},prefix=cpu-,enable=${{ github.event_name == 'release' && matrix.base == 'bases:cpu-gcc' }},suffix=${{ matrix.tag_suffix }} |
@@ -170,6 +192,9 @@ jobs: |
170 | 192 | - tag: 'nvidia-nvc' |
171 | 193 | base: 'bases:nvidia-nvc' |
172 | 194 | arches: "amd64 arm64" |
| 195 | + - tag: 'nvidia-nvc12' |
| 196 | + base: 'bases:nvidia-nvc12' |
| 197 | + arches: "amd64 arm64" |
173 | 198 | - tag: 'gcc' |
174 | 199 | base: 'bases:cpu-gcc' |
175 | 200 | arches: "amd64 arm64" |
@@ -198,9 +223,9 @@ jobs: |
198 | 223 | type=raw,value=latest,enable=${{ matrix.base == 'bases:cpu-gcc' }} |
199 | 224 | type=semver,pattern={{raw}},prefix=${{ matrix.tag }}-,enable=${{ github.event_name == 'release' }} |
200 | 225 | # Legacy "gpu" tag |
201 | | - type=raw,value=gpu-dev,enable=${{ matrix.base == 'bases:nvidia-nvc' }} |
202 | | - type=semver,pattern={{raw}},prefix=gpu-,enable=${{ github.event_name == 'release' && matrix.base == 'bases:nvidia-nvc' }} |
203 | | - type=semver,pattern={{raw}},value=gpu-latest,enable=${{ github.event_name == 'release' && matrix.base == 'bases:nvidia-nvc' }} |
| 226 | + type=raw,value=gpu-dev,enable=${{ contains(matrix.base, 'bases:nvidia-nvc') }} |
| 227 | + type=semver,pattern={{raw}},prefix=gpu-,enable=${{ github.event_name == 'release' && contains(matrix.base, 'bases:nvidia-nvc') }} |
| 228 | + type=semver,pattern={{raw}},value=gpu-latest,enable=${{ github.event_name == 'release' && contains(matrix.base, 'bases:nvidia-nvc') }} |
204 | 229 | # Legacy "cpu" tag |
205 | 230 | type=raw,value=cpu-dev,enable=${{ matrix.base == 'bases:cpu-gcc' }} |
206 | 231 | type=semver,pattern={{raw}},prefix=cpu-,enable=${{ github.event_name == 'release' && matrix.base == 'bases:cpu-gcc' }} |
@@ -239,6 +264,10 @@ jobs: |
239 | 264 | flag: --init --gpus "device=${CUDA_VISIBLE_DEVICES:-all}" |
240 | 265 | test: 'tests/test_gpu_openacc.py tests/test_gpu_common.py' |
241 | 266 | runner: ["self-hosted", "nvidiagpu"] |
| 267 | + - tag: 'nvidia-nvc12' |
| 268 | + flag: --init --gpus "device=${CUDA_VISIBLE_DEVICES:-all}" |
| 269 | + test: 'tests/test_gpu_openacc.py tests/test_gpu_common.py' |
| 270 | + runner: ["self-hosted", "nvidiagpu"] |
242 | 271 | - tag: 'gcc' |
243 | 272 | flag: '--init -t' |
244 | 273 | test: 'tests/test_operator.py' |
|
0 commit comments