Skip to content

Commit a3edbec

Browse files
carmoccaakihironittaBorda
authored
Delete unused TPU CI files (#15611)
Co-authored-by: Akihiro Nitta <[email protected]> Co-authored-by: Jirka Borovec <[email protected]>
1 parent 8c9b688 commit a3edbec

File tree

5 files changed

+6
-49
lines changed

5 files changed

+6
-49
lines changed

.github/checkgroup.yml

+1
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ subprojects:
9999
#- id: "pytorch-lightning: TPU workflow"
100100
# paths:
101101
# - ".github/workflows/tpu-tests.yml"
102+
# - "dockers/base-xla/*"
102103
# - "requirements/lite/**"
103104
# - "src/lightning_lite/**"
104105
# - "tests/tests_lite/**"

.github/workflows/tpu-tests.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped
99
paths:
1010
- ".github/workflows/tpu-tests.yml"
11+
- "dockers/base-xla/*"
1112
- "requirements/lite/**"
1213
- "src/lightning_lite/**"
1314
- "tests/tests_lite/**"
@@ -33,7 +34,7 @@ jobs:
3334
if: github.event.pull_request.draft == false
3435
env:
3536
PYTHON_VER: 3.7
36-
timeout-minutes: 100 # should match the timeout in `tpu_test_cases.jsonnet`
37+
timeout-minutes: 100 # should match the timeout in `tpu_workflow.jsonnet`
3738

3839
steps:
3940
- uses: actions/checkout@v3
@@ -64,9 +65,9 @@ jobs:
6465
PR_NUMBER: ${{ github.event.pull_request.number }}
6566
SHA: ${{ github.event.pull_request.head.sha }}
6667
run: |
67-
python -c "fname = 'dockers/tpu-tests/tpu_test_cases.jsonnet' ; data = open(fname).read().replace('{PYTORCH_VERSION}', '$XLA_VER')
68+
python -c "fname = 'dockers/base-xla/tpu_workflow.jsonnet' ; data = open(fname).read().replace('{PYTORCH_VERSION}', '$XLA_VER')
6869
data = data.replace('{PYTHON_VERSION}', '$PYTHON_VER').replace('{PR_NUMBER}', '$PR_NUMBER').replace('{SHA}', '$SHA') ; open(fname, 'w').write(data)"
69-
cat dockers/tpu-tests/tpu_test_cases.jsonnet
70+
cat dockers/base-xla/tpu_workflow.jsonnet
7071
shell: bash
7172

7273
- uses: google-github-actions/auth@v0
@@ -82,7 +83,7 @@ jobs:
8283
- name: Deploy cluster
8384
run: |
8485
export PATH=$PATH:$HOME/go/bin
85-
job_name=$(jsonnet -J ml-testing-accelerators/ dockers/tpu-tests/tpu_test_cases.jsonnet | kubectl create -f -)
86+
job_name=$(jsonnet -J ml-testing-accelerators/ dockers/base-xla/tpu_workflow.jsonnet | kubectl create -f -)
8687
job_name=${job_name#job.batch/}
8788
job_name=${job_name% created}
8889
pod_name=$(kubectl get po -l controller-uid=`kubectl get job $job_name -o "jsonpath={.metadata.labels.controller-uid}"` | awk 'match($0,!/NAME/) {print $1}')

dockers/tpu-tests/Dockerfile

-37
This file was deleted.

dockers/tpu-tests/docker-entrypoint.sh

-8
This file was deleted.

0 commit comments

Comments
 (0)