Skip to content

Commit ac92aaa

Browse files
Enable New bazel presubmits for pull requests.
At this time these workflows will currently be non-blocking for submission. PiperOrigin-RevId: 704825599
1 parent e6d6c4e commit ac92aaa

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.github/workflows/bazel_cpu_rbe.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
options:
1212
- 'yes'
1313
- 'no'
14+
pull_request:
15+
branches:
16+
- main
1417

1518
concurrency:
1619
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
@@ -21,15 +24,18 @@ jobs:
2124
if: github.event.repository.fork == false
2225
strategy:
2326
matrix:
24-
runner: ["linux-x86-n2-16", "linux-arm64-t2a-16"]
27+
runner: ["linux-x86-n2-16", "linux-arm64-c4a-16"]
28+
enable-x_64: [1, 0]
2529

2630
runs-on: ${{ matrix.runner }}
27-
# TODO(b/369382309): Replace Linux Arm64 container with the ml-build container once it is available
2831
container: ${{ (contains(matrix.runner, 'linux-x86') && 'us-central1-docker.pkg.dev/tensorflow-sigs/tensorflow/ml-build:latest') ||
29-
(contains(matrix.runner, 'linux-arm64') && 'us-central1-docker.pkg.dev/tensorflow-sigs/tensorflow/linux-arm64-arc-container:latest') }}
32+
(contains(matrix.runner, 'linux-arm64') && 'us-central1-docker.pkg.dev/tensorflow-sigs/tensorflow/ml-build-arm64:latest') }}
3033

3134
env:
3235
JAXCI_HERMETIC_PYTHON_VERSION: "3.12"
36+
JAXCI_ENABLE_X64: ${{ matrix.enable-x_64 }}
37+
38+
name: "Bazel CPU tests (${{ matrix.runner }}, Python 3.12, x64=${{ matrix.enable-x_64 }})"
3339

3440
steps:
3541
- uses: actions/checkout@v3

.github/workflows/bazel_gpu_rbe.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
options:
1212
- 'yes'
1313
- 'no'
14+
pull_request:
15+
branches:
16+
- main
1417

1518
concurrency:
1619
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
@@ -22,12 +25,16 @@ jobs:
2225
strategy:
2326
matrix:
2427
runner: ["linux-x86-n2-16"]
28+
enable-x_64: [1, 0]
2529

2630
runs-on: ${{ matrix.runner }}
2731
container: 'us-central1-docker.pkg.dev/tensorflow-sigs/tensorflow/ml-build:latest'
2832

2933
env:
3034
JAXCI_HERMETIC_PYTHON_VERSION: "3.12"
35+
JAXCI_ENABLE_X64: ${{ matrix.enable-x_64 }}
36+
37+
name: "Bazel single accelerator GPU tests (${{ matrix.runner }}, Python 3.12, x64=${{ matrix.enable-x_64 }})"
3138

3239
steps:
3340
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)