File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 1717# Install wheels stored in `JAXCI_OUTPUT_DIR` locally using the Python binary
1818# set in JAXCI_PYTHON. Use the absolute path to the `find` utility to avoid
1919# using the Windows version of `find` on Windows.
20- WHEELS=$( /usr/bin/find " $JAXCI_OUTPUT_DIR /" -type f \( -name " *jaxlib*" -o -name " *jax*cuda*pjrt*" -o -name " *jax*cuda*plugin*" \) )
20+ WHEELS=( $( /usr/bin/find " $JAXCI_OUTPUT_DIR /" -type f \( -name " *jaxlib*" -o -name " *jax*cuda*pjrt*" -o -name " *jax*cuda*plugin*" \) ) )
2121
22- for wheel in " $WHEELS " ; do
22+ echo $WHEELS
23+ if [[ -z " $WHEELS " ]]; then
24+ echo " ERROR: No wheels found under $JAXCI_OUTPUT_DIR "
25+ exit 1
26+ fi
27+
28+ for wheel in " ${WHEELS[@]} " ; do
2329 echo " Installing $( basename $wheel ) ..."
2430 " $JAXCI_PYTHON " -m pip install " $wheel "
2531done
2632
2733echo " Installing the JAX package in editable mode at the current commit..."
2834# Install JAX package at the current commit.
29- " $JAXCI_PYTHON " -m pip install -U -e .
35+ " $JAXCI_PYTHON " -m pip install -U -e .
You can’t perform that action at this time.
0 commit comments