File tree Expand file tree Collapse file tree 7 files changed +14
-103
lines changed Expand file tree Collapse file tree 7 files changed +14
-103
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
test-linux :
11
- uses : ./.github/workflows/linux_job .yml
11
+ uses : ./.github/workflows/linux_job_v2 .yml
12
12
strategy :
13
13
fail-fast : false
14
14
matrix :
Original file line number Diff line number Diff line change 24
24
test-tools :
25
25
name : Test tools
26
26
if : ${{ github.repository == 'pytorch/test-infra' }}
27
- uses : ./.github/workflows/linux_job .yml
27
+ uses : ./.github/workflows/linux_job_v2 .yml
28
28
with :
29
29
docker-image : python:3.11.0-slim-bullseye
30
30
runner : linux.large
42
42
test-github-scripts :
43
43
name : Test github scripts
44
44
if : ${{ github.repository == 'pytorch/test-infra' }}
45
- uses : ./.github/workflows/linux_job .yml
45
+ uses : ./.github/workflows/linux_job_v2 .yml
46
46
with :
47
47
docker-image : python:3.11.0-slim-bullseye
48
48
runner : linux.large
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ jobs:
104
104
strategy :
105
105
matrix : ${{ fromJson(needs.generate-aarch64-linux-matrix.outputs.matrix) }}
106
106
fail-fast : false
107
- uses : pytorch/test-infra/.github/workflows/linux_job .yml@main
107
+ uses : pytorch/test-infra/.github/workflows/linux_job_v2 .yml@main
108
108
name : ${{ matrix.build_name }}
109
109
with :
110
110
runner : ${{ matrix.validation_runner }}
Original file line number Diff line number Diff line change 55
55
strategy :
56
56
matrix : ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
57
57
fail-fast : false
58
- uses : ./.github/workflows/linux_job .yml
58
+ uses : ./.github/workflows/linux_job_v2 .yml
59
59
with :
60
60
runner : ${{ matrix.validation_runner }}
61
61
repository : " pytorch/pytorch"
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ jobs:
127
127
strategy :
128
128
matrix : ${{ fromJson(needs.generate-linux-matrix.outputs.matrix) }}
129
129
fail-fast : false
130
- uses : ./.github/workflows/linux_job .yml
130
+ uses : ./.github/workflows/linux_job_v2 .yml
131
131
name : ${{ matrix.build_name }}
132
132
with :
133
133
runner : ${{ matrix.validation_runner }}
@@ -172,7 +172,7 @@ jobs:
172
172
source ../../test-infra/.github/scripts/validate_binaries.sh
173
173
174
174
linux-amazon-2023 :
175
- uses : ./.github/workflows/linux_job .yml
175
+ uses : ./.github/workflows/linux_job_v2 .yml
176
176
name : amazon-linux-2023-test
177
177
with :
178
178
runner : " linux.g5.4xlarge.nvidia.gpu"
Original file line number Diff line number Diff line change 33
33
strategy :
34
34
matrix : ${{ fromJson(needs.generate-linux-matrix.outputs.matrix) }}
35
35
fail-fast : false
36
- uses : ./.github/workflows/linux_job .yml
36
+ uses : ./.github/workflows/linux_job_v2 .yml
37
37
name : ${{ matrix.build_name }}
38
38
with :
39
39
runner : ${{ matrix.validation_runner }}
45
45
script : |
46
46
set -ex
47
47
48
+ # shellcheck disable=SC2086
49
+ CUDA_VERSION=$(python3 ../../test-infra/tools/scripts/get_stable_cuda_version.py --channel ${MATRIX_CHANNEL})
50
+ # shellcheck disable=SC2086
51
+ CUDA_VERSION_NODOT=$(echo ${CUDA_VERSION} | tr -d '.')
52
+
48
53
# skip testing on cu126
49
- if [[ ${MATRIX_DESIRED_CUDA} == "cu126 " ]]; then
54
+ if [[ ${MATRIX_DESIRED_CUDA} != "cu${CUDA_VERSION_NODOT} " ]]; then
50
55
exit 0
51
56
fi
52
57
You can’t perform that action at this time.
0 commit comments