Skip to content

Commit 8d86e5f

Browse files
carmoccaakihironittaBorda
committed
Delete unused TPU CI files (#15611)
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com> Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com> (cherry picked from commit a3edbec)
1 parent 75418b2 commit 8d86e5f

File tree

5 files changed

+6
-49
lines changed

5 files changed

+6
-49
lines changed

.github/checkgroup.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ subprojects:
102102
#- id: "pytorch-lightning: TPU workflow"
103103
# paths:
104104
# - ".github/workflows/tpu-tests.yml"
105+
# - "dockers/base-xla/*"
105106
# - "requirements/lite/**"
106107
# - "src/lightning_lite/**"
107108
# - "tests/tests_lite/**"

.github/workflows/tpu-tests.yml

Lines changed: 5 additions & 4 deletions
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}')
File renamed without changes.

dockers/tpu-tests/Dockerfile

Lines changed: 0 additions & 37 deletions
This file was deleted.

dockers/tpu-tests/docker-entrypoint.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)