Skip to content

Commit 28533d9

Browse files
authored
Fix benchmark condition (#548)
1 parent 53fd24c commit 28533d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/benchmark.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ jobs:
2525
runtime-version: "cu129"
2626
container-options: "--gpus all"
2727
alias: "h100"
28-
condition: ${{ github.event.inputs.run_h100 == 'true' }}
2928
- runner: "linux.dgx.b200"
3029
python-version: "3.12"
3130
image: "nvidia/cuda:12.9.1-devel-ubuntu24.04"
3231
runtime-version: "cu129"
3332
container-options: "--gpus all"
3433
alias: "b200"
35-
condition: ${{ github.event.inputs.run_b200 == 'true' }}
3634

3735
name: benchmark-${{ matrix.runtime-version }}-py${{ matrix.python-version }}-${{ matrix.alias }}
3836

39-
if: ${{ matrix.condition }}
37+
if: |
38+
(matrix.alias == 'h100' && github.event.inputs.run_h100 == 'true') ||
39+
(matrix.alias == 'b200' && github.event.inputs.run_b200 == 'true')
4040
4141
container:
4242
image: ${{ matrix.image }}

0 commit comments

Comments
 (0)