1414# limitations under the License.
1515# ==============================================================================
1616# Runs Pyest CPU tests. Requires a jaxlib wheel to be present
17- <<< <<< < HEAD
18- # inside $JAXCI_OUTPUT_DIR (../dist)
19- =======
2017# inside the $JAXCI_OUTPUT_DIR (../dist)
21- >>>>>>> 5ade371c88a1f879556ec29867b173da49ae57f0
2218#
2319# -e: abort script if one command fails
2420# -u: error if undefined variable used
2723# -o allexport: export all functions and variables to be available to subscripts
2824set -exu -o history -o allexport
2925
30- <<< <<< < HEAD
31- # Inherit default JAXCI environment variables.
32- source ci/envs/default.env
33-
34- =======
3526# Source default JAXCI environment variables.
3627source ci/envs/default.env
3728
3829# Install jaxlib wheel inside the $JAXCI_OUTPUT_DIR directory on the system.
39- >>>>>>> 5ade371c88a1f879556ec29867b173da49ae57f0
4030echo " Installing wheels locally..."
4131source ./ci/utilities/install_wheels_locally.sh
4232
4333# Set up the build environment.
4434source " ci/utilities/setup_build_environment.sh"
4535
46- <<< <<< < HEAD
47- export PY_COLORS=1
48- export JAX_SKIP_SLOW_TESTS=true
49-
50- " $JAXCI_PYTHON " -c " import jax; print(jax.default_backend()); print(jax.devices()); print(len(jax.devices()))"
51-
52- export TF_CPP_MIN_LOG_LEVEL=0
53- =======
5436" $JAXCI_PYTHON " -c " import jax; print(jax.default_backend()); print(jax.devices()); print(len(jax.devices()))"
5537
5638# Set up all test environment variables
@@ -59,6 +41,5 @@ export JAX_SKIP_SLOW_TESTS=true
5941export TF_CPP_MIN_LOG_LEVEL=0
6042# End of test environment variable setup
6143
62- >>>>>>> 5ade371c88a1f879556ec29867b173da49ae57f0
6344echo " Running CPU tests..."
6445" $JAXCI_PYTHON " -m pytest -n auto --tb=short --maxfail=20 tests examples
0 commit comments