Skip to content

Commit 228ff1f

Browse files
committed
merge changes from upstream
1 parent dc928ba commit 228ff1f

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

ci/run_pytest_cpu.sh

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,7 @@
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
@@ -27,30 +23,16 @@
2723
# -o allexport: export all functions and variables to be available to subscripts
2824
set -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.
3627
source ci/envs/default.env
3728

3829
# Install jaxlib wheel inside the $JAXCI_OUTPUT_DIR directory on the system.
39-
>>>>>>> 5ade371c88a1f879556ec29867b173da49ae57f0
4030
echo "Installing wheels locally..."
4131
source ./ci/utilities/install_wheels_locally.sh
4232

4333
# Set up the build environment.
4434
source "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
5941
export TF_CPP_MIN_LOG_LEVEL=0
6042
# End of test environment variable setup
6143

62-
>>>>>>> 5ade371c88a1f879556ec29867b173da49ae57f0
6344
echo "Running CPU tests..."
6445
"$JAXCI_PYTHON" -m pytest -n auto --tb=short --maxfail=20 tests examples

0 commit comments

Comments
 (0)