File tree Expand file tree Collapse file tree 3 files changed +26
-9
lines changed Expand file tree Collapse file tree 3 files changed +26
-9
lines changed Original file line number Diff line number Diff line change @@ -35,14 +35,14 @@ jobs:
35
35
- name : Cleanup old docker images
36
36
run : docker system prune --all --force
37
37
38
- tpu_image :
39
- needs : prelim
40
- uses : ./.github/workflows/build_upload_internal.yml
41
- with :
42
- device_type : tpu_pathways
43
- device_name : v4-8
44
- build_mode : stable_stack
45
- base_image : us-docker.pkg.dev/cloud-tpu-images/jax-stable-stack/tpu:latest
38
+ # tpu_image:
39
+ # needs: prelim
40
+ # uses: ./.github/workflows/build_upload_internal.yml
41
+ # with:
42
+ # device_type: tpu_pathways
43
+ # device_name: v4-8
44
+ # build_mode: stable_stack
45
+ # base_image: us-docker.pkg.dev/cloud-tpu-images/jax-stable-stack/tpu:latest
46
46
47
47
tpu_pathways_image :
48
48
needs : prelim
Original file line number Diff line number Diff line change 62
62
export JAX_PLATFORMS="proxy" ; export JAX_BACKEND_TARGET="grpc://localhost:29000" ; echo "Set Pathways env variables"
63
63
- name : Run Tests
64
64
run : |
65
+ export JAX_PLATFORMS="proxy" ; export JAX_BACKEND_TARGET="grpc://localhost:29000" ; echo "Set Pathways env variables" ;
65
66
cd MaxText
66
67
python3 -m pytest -s ${{ inputs.test_directory }} -m "${{ inputs.pytest_marker }}"
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
1
17
apt-get install docker-compose-plugin
2
18
docker compose version
3
19
gcloud auth configure-docker us-docker.pkg.dev --quiet
@@ -6,7 +22,7 @@ cd utils_pathways
6
22
docker compose down
7
23
sleep 2
8
24
docker compose up &
9
- sleep 5
25
+ sleep 15
10
26
docker compose ps
11
27
12
28
export JAX_PLATFORMS=" proxy"
You can’t perform that action at this time.
0 commit comments