File tree 9 files changed +34
-7
lines changed
9 files changed +34
-7
lines changed Original file line number Diff line number Diff line change 11
11
type : string
12
12
description : Runner type for the test
13
13
default : linux.12xlarge
14
-
14
+ timeout-minutes :
15
+ required : false
16
+ type : number
17
+ description : Timeout in minutes for the build job
18
+ default : 120
15
19
secrets :
16
20
gcloud-service-key :
17
21
required : true
18
22
description : Secret to access Bazel build cache
19
23
jobs :
20
24
build :
21
25
runs-on : ${{ inputs.runner }}
26
+ timeout-minutes : ${{ inputs.timeout-minutes }}
22
27
container :
23
28
image : ${{ inputs.dev-image }}
24
29
env :
Original file line number Diff line number Diff line change 15
15
type : string
16
16
description : Runner type for the test
17
17
default : linux.12xlarge
18
+ timeout-minutes :
19
+ required : false
20
+ type : number
21
+ description : Timeout in minutes for the build job
22
+ default : 120
18
23
jobs :
19
24
build :
20
25
runs-on : ${{ inputs.runner }}
26
+ timeout-minutes : ${{ inputs.timeout-minutes }}
21
27
container :
22
28
image : ${{ inputs.dev-image }}
23
29
env :
Original file line number Diff line number Diff line change 15
15
type : string
16
16
description : Runner type for the test
17
17
default : linux.12xlarge
18
-
18
+ timeout-minutes :
19
+ required : false
20
+ type : number
21
+ description : Timeout in minutes for the build job
22
+ default : 120
19
23
secrets :
20
24
gcloud-service-key :
21
25
required : true
22
26
description : Secret to access Bazel build cache
23
27
jobs :
24
28
build :
25
29
runs-on : ${{ inputs.runner }}
30
+ timeout-minutes : ${{ inputs.timeout-minutes }}
26
31
container :
27
32
image : ${{ inputs.dev-image }}
28
33
env :
Original file line number Diff line number Diff line change 16
16
required : true
17
17
jobs :
18
18
build-docs :
19
- runs-on : ubuntu-latest
19
+ runs-on : ubuntu-24.04
20
20
timeout-minutes : 45
21
21
container :
22
22
image : ${{ inputs.dev-image }}
Original file line number Diff line number Diff line change 1
1
name : TPU Integration Test
2
2
on :
3
3
workflow_call :
4
+ inputs :
5
+ timeout-minutes :
6
+ required : false
7
+ type : number
8
+ description : Timeout in minutes for the job run
9
+ default : 120
4
10
jobs :
5
11
tpu-test :
6
12
runs-on : v4-runner-set
13
+ timeout-minutes : ${{ inputs.timeout-minutes }}
7
14
steps :
8
15
- name : Checkout actions
9
16
uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ concurrency:
17
17
jobs :
18
18
19
19
get-torch-commit :
20
- runs-on : ubuntu-latest
20
+ runs-on : ubuntu-24.04
21
21
outputs :
22
22
torch_commit : ${{ steps.commit.outputs.torch_commit }}
23
23
steps :
33
33
with :
34
34
dev-image : us-central1-docker.pkg.dev/tpu-pytorch-releases/docker/development:3.10_tpuvm
35
35
torch-commit : ${{needs.get-torch-commit.outputs.torch_commit}}
36
+ timeout-minutes : 240
36
37
secrets :
37
38
gcloud-service-key : ${{ secrets.GCLOUD_SERVICE_KEY }}
38
39
47
48
torch-commit : ${{needs.get-torch-commit.outputs.torch_commit}}
48
49
# note that to build a torch wheel with CUDA enabled, we do not need a GPU runner.
49
50
runner : linux.24xlarge
51
+ timeout-minutes : 120
50
52
51
53
build-cuda-plugin :
52
54
name : " Build XLA CUDA plugin"
97
99
name : " TPU tests"
98
100
uses : ./.github/workflows/_tpu_ci.yml
99
101
needs : build-torch-xla
102
+ with :
103
+ timeout-minutes : 300
100
104
if : github.event_name == 'push' || github.event_name == 'pull_request'
101
105
102
106
push-docs :
Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
linter_check :
12
- runs-on : ubuntu-latest
12
+ runs-on : ubuntu-24.04
13
13
steps :
14
14
- name : Checkout repo
15
15
uses : actions/checkout@v3
Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
update_and_create_pr :
9
- runs-on : ubuntu-latest
9
+ runs-on : ubuntu-24.04
10
10
steps :
11
11
- name : Checkout code
12
12
uses : actions/checkout@v3
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ concurrency:
16
16
17
17
jobs :
18
18
torchax-cpu :
19
- runs-on : ubuntu-latest
19
+ runs-on : ubuntu-24.04
20
20
strategy :
21
21
matrix :
22
22
python-version : ['3.10']
You can’t perform that action at this time.
0 commit comments