Skip to content

Commit

Permalink
Try reinstalling 50 times to try to force a network issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gforsyth committed Jan 29, 2025
1 parent c69737f commit 8edc5a0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
12 changes: 8 additions & 4 deletions ci/build_wheel_libraft.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,14 @@ then
fi

rapids-logger "Installing build requirements"
rapids-pip-retry install \
-v \
--prefer-binary \
-r /tmp/requirements-build.txt

# I am so sorry:
for i in {1..50}; do
rapids-pip-retry install --force-reinstall \
-v \
--prefer-binary \
-r /tmp/requirements-build.txt
done

# build with '--no-build-isolation', for better sccache hit rate
# 0 really means "add --no-build-isolation" (ref: https://github.com/pypa/pip/issues/5735)
Expand Down
12 changes: 8 additions & 4 deletions ci/test_wheel_raft_dask.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,14 @@ then
export PATH="$PWD/gha-tools/tools":$PATH
fi
# echo to expand wildcard before adding `[extra]` requires for pip
rapids-pip-retry install -v \
./local-libraft-dep/libraft*.whl \
./local-pylibraft-dep/pylibraft*.whl \
"$(echo ./dist/raft_dask_${RAPIDS_PY_CUDA_SUFFIX}*.whl)[test]"
#
# I am so sorry:
for i in {1..50}; do
rapids-pip-retry install --force-reinstall -v \
./local-libraft-dep/libraft*.whl \
./local-pylibraft-dep/pylibraft*.whl \
"$(echo ./dist/raft_dask_${RAPIDS_PY_CUDA_SUFFIX}*.whl)[test]"
done

test_dir="python/raft-dask/raft_dask/tests"

Expand Down

0 comments on commit 8edc5a0

Please sign in to comment.