Skip to content

Commit 2afda3d

Browse files
committed
update workflows after sync to upstream
1 parent bddc349 commit 2afda3d

File tree

5 files changed

+33
-17
lines changed

5 files changed

+33
-17
lines changed

.github/workflows/asan.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ jobs:
5050
make -j64
5151
make install
5252
${GITHUB_WORKSPACE}/cpythonasan/bin/python3 -m venv ${GITHUB_WORKSPACE}/venv
53+
# Halt for testing
54+
- name: Wait For Connection
55+
uses: google-ml-infra/actions/ci_connection@main
5356
- name: Install JAX test requirements
5457
env:
5558
ASAN_OPTIONS: detect_leaks=0

.github/workflows/bazel_cpu_rbe.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: CI - Bazel CPU tests (RBE)
22

33
on:
4-
# pull_request:
5-
# branches:
6-
# - main
4+
pull_request:
5+
branches:
6+
- main
77
workflow_dispatch:
88
inputs:
99
halt-for-connection:
@@ -29,21 +29,24 @@ jobs:
2929
fail-fast: false # don't cancel all jobs on failure
3030
matrix:
3131
runner: ["windows-x86-n2-64", "linux-x86-n2-16", "linux-arm64-t2a-16"]
32+
enable-x_64: [1, 0]
3233

3334
runs-on: ${{ matrix.runner }}
3435
container: ${{ (contains(matrix.runner, 'linux-x86') && 'us-central1-docker.pkg.dev/tensorflow-sigs/tensorflow/ml-build:latest') ||
3536
(contains(matrix.runner, 'linux-arm64') && 'us-central1-docker.pkg.dev/tensorflow-sigs/tensorflow/ml-build-arm64:latest') ||
3637
(contains(matrix.runner, 'windows-x86') && null) }}
3738

38-
3939
env:
4040
JAXCI_HERMETIC_PYTHON_VERSION: "3.12"
41+
JAXCI_ENABLE_X64: ${{ matrix.enable-x_64 }}
4142

43+
name: "Run Bazel CPU tests (x64=${{ matrix.enable-x_64 }}"
44+
4245
steps:
43-
- uses: actions/checkout@v3
44-
- name: Wait For Connection
45-
uses: google-ml-infra/actions/ci_connection@main
46-
with:
47-
halt-dispatch-input: ${{ inputs.halt-for-connection }}
48-
- name: Run Bazel CPU Tests with RBE
49-
run: ./ci/run_bazel_test_cpu_rbe.sh
46+
- uses: actions/checkout@v3
47+
- name: Wait For Connection
48+
uses: google-ml-infra/actions/ci_connection@main
49+
with:
50+
halt-dispatch-input: ${{ inputs.halt-for-connection }}
51+
- name: Run Bazel CPU Tests with RBE
52+
run: ./ci/run_bazel_test_cpu_rbe.sh

.github/workflows/bazel_gpu_non_rbe.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,18 @@ jobs:
3232
upload_destination_prefix: '${{ github.workflow }}/${{ github.run_number }}/${{ github.run_attempt }}'
3333

3434
run_bazel_tests:
35-
name: "Run Bazel GPU tests (single accelerator and multi-accelerator tests, non-RBE)"
3635
needs: build_artifacts
3736
runs-on: "linux-x86-g2-48-l4-4gpu"
3837
container: "us-central1-docker.pkg.dev/tensorflow-sigs/tensorflow/nosla-cuda12.3-cudnn9.1-ubuntu20.04-manylinux2014-multipython:latest"
39-
38+
strategy:
39+
fail-fast: false # don't cancel all jobs on failure
40+
matrix:
41+
enable-x_64: [1, 0]
4042
env:
4143
JAXCI_HERMETIC_PYTHON_VERSION: 3.11
44+
JAXCI_ENABLE_X64: ${{ matrix.enable-x_64 }}
45+
46+
name: "Run Bazel GPU tests (single accelerator and multi-accelerator tests, non-RBE), x64=${{ matrix.enable-x_64 }}"
4247

4348
steps:
4449
- uses: actions/checkout@v3

.github/workflows/bazel_gpu_rbe.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: CI - Bazel GPU tests (RBE)
22

33
on:
4-
# pull_request:
5-
# branches:
6-
# - main
4+
pull_request:
5+
branches:
6+
- main
77
workflow_dispatch:
88
inputs:
99
halt-for-connection:
@@ -24,13 +24,17 @@ jobs:
2424
strategy:
2525
matrix:
2626
runner: ["linux-x86-n2-16"]
27+
enable-x_64: [1, 0]
2728

2829
runs-on: ${{ matrix.runner }}
2930
container: 'us-central1-docker.pkg.dev/tensorflow-sigs/tensorflow/ml-build:latest'
3031

3132
env:
3233
JAXCI_HERMETIC_PYTHON_VERSION: "3.12"
33-
34+
JAXCI_ENABLE_X64: ${{ matrix.enable-x_64 }}
35+
36+
name: "Run Bazel GPU tests (x64=${{ matrix.enable-x_64 }}"
37+
3438
steps:
3539
- uses: actions/checkout@v3
3640
- name: Wait For Connection

.github/workflows/build_artifacts.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ jobs:
159159

160160
env:
161161
JAXCI_HERMETIC_PYTHON_VERSION: "${{ matrix.python }}"
162+
JAXCI_BUILD_ARTIFACT_WITH_RBE: 1
162163
JAXCI_CLONE_MAIN_XLA: "${{ inputs.clone_main_xla }}"
163164

164165
steps:

0 commit comments

Comments
 (0)