Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
DwarKapex committed May 20, 2024
1 parent 5f89e9e commit f4cc57b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/container/test-jax.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ case "${BATTERY}" in
JOBS=$((NGPUS * JOBS_PER_GPU))
EXTRA_FLAGS="--local_test_jobs=${JOBS} --test_env=JAX_TESTS_PER_ACCELERATOR=${JOBS_PER_GPU} --test_env=JAX_EXCLUDE_TEST_TARGETS=PmapTest.testSizeOverflow"
BAZEL_TARGET="${BAZEL_TARGET} //tests:gpu_tests"
EXTRA_CONFIG_FLAG="--enable_cuda"
;;
backend-independent)
JOBS_PER_GPU=4
Expand Down Expand Up @@ -185,6 +184,6 @@ pip install matplotlib
## Run tests

cd `jax_source_dir`
python build/build.py --configure_only ${EXTRA_CONFIG_FLAG}
python build/build.py --configure_only --enable_cuda
BAZEL=$(find -type f -executable -name "bazel-*")
$BAZEL test ${BAZEL_TARGET} ${COMMON_FLAGS} ${EXTRA_FLAGS}
2 changes: 1 addition & 1 deletion .github/workflows/_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ jobs:
docker run -i --shm-size=1g --gpus all \
${{ needs.build-jax.outputs.DOCKER_TAG_FINAL }} \
bash <<"EOF" |& tee test-backend-independent.log
test-jax.sh -b backend-independent
test-jax.sh --build-jaxlib -b backend-independent
EOF
docker run -i --shm-size=1g --gpus all \
${{ needs.build-jax.outputs.DOCKER_TAG_FINAL }} \
Expand Down

0 comments on commit f4cc57b

Please sign in to comment.