Skip to content

Commit 5ca7866

Browse files
committed
Fix how xla is cloned at head for workflows
1 parent 6107d2b commit 5ca7866

File tree

5 files changed

+4
-16
lines changed

5 files changed

+4
-16
lines changed

.github/workflows/bazel_cpu_rbe.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ jobs:
3333
- name: Wait For Connection
3434
uses: ./actions/ci_connection/
3535
- name: Run Bazel CPU Tests
36-
run: ./ci/run_bazel_test.sh "ci/envs/run_tests/bazel_cpu.env"
36+
run: ./ci/run_bazel_test.sh "ci/envs/run_tests/bazel_cpu_rbe.env"

.github/workflows/bazel_gpu_non_rbe.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
env:
1919
# GitHub actions run in Docker by defaut. Disable running the `setup_docker.sh` script.
2020
JAXCI_RUN_DOCKER_CONTAINER: 0
21+
JAXCI_CLONE_MAIN_XLA: 1
2122
JAXCI_HERMETIC_PYTHON_VERSION: 3.11
2223

2324
steps:
@@ -32,6 +33,6 @@ jobs:
3233
- name: Wait For Connection
3334
uses: ./actions/ci_connection/
3435
- name: Run Bazel GPU tests locally
35-
run: ./ci/run_bazel_test.sh "ci/envs/run_tests/bazel_gpu_local"
36+
run: ./ci/run_bazel_test.sh "ci/envs/run_tests/bazel_gpu_non_rbe.env"
3637
- name: Test if step runs
3738
run: echo "This step ran!"

.github/workflows/bazel_gpu_rbe.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
env:
1919
# Do not run Docker container for Linux runners. Linux runners already run in a Docker container.
2020
JAXCI_RUN_DOCKER_CONTAINER: 0
21+
JAXCI_CLONE_MAIN_XLA: 1
2122
JAXCI_HERMETIC_PYTHON_VERSION: 3.12
2223

2324
steps:

ci/envs/run_tests/bazel_gpu_non_rbe.env

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,3 @@ export JAXCI_RUN_BAZEL_TEST_GPU_LOCAL=1
2121
# Only Linux x86 runs local GPU tests at the moment.
2222
export JAXCI_DOCKER_IMAGE="gcr.io/tensorflow-testing/nosla-cuda${JAXCI_DOCKER_CUDA_VERSION}-cudnn9.1-ubuntu20.04-manylinux2014-multipython"
2323
export JAXCI_DOCKER_ARGS="--shm-size=16g --gpus all"
24-
25-
export NCCL_DEBUG=WARN
26-
27-
# Disable x64 mode
28-
export JAX_ENABLE_X64=0
29-
30-
# Clone XLA at HEAD.
31-
export JAXCI_CLONE_MAIN_XLA=1
32-
33-
# Set per device memory limit to 20.5 GB
34-
export TF_PER_DEVICE_MEMORY_LIMIT_MB=20480

ci/envs/run_tests/bazel_gpu_rbe.env

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,5 @@ export JAXCI_DOCKER_ARGS="--gpus all"
2626
export JAX_CUDA_VERSION=12
2727
export JAX_CUDNN_VERSION=9.1
2828

29-
# Disable x64 mode
30-
export JAX_ENABLE_X64=0
31-
3229
# Clone XLA at HEAD.
3330
export JAXCI_CLONE_MAIN_XLA=1

0 commit comments

Comments
 (0)