Skip to content

Commit 44f6d68

Browse files
committed
Set UCX_TCP_KEEPINTVL for Python benchmarks in CI
Workaround for rapidsai#15
1 parent 874b4c3 commit 44f6d68

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

ci/test_python.sh

+6-2
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,19 @@ run_py_benchmark() {
6060

6161
CMD_LINE="UCXPY_ENABLE_DELAYED_SUBMISSION=${ENABLE_DELAYED_SUBMISSION} UCXPY_ENABLE_PYTHON_FUTURE=${ENABLE_PYTHON_FUTURE} timeout 2m python -m ucxx.benchmarks.send_recv --backend ${BACKEND} -o cupy --reuse-alloc -n 8MiB --n-buffers $N_BUFFERS --progress-mode ${PROGRESS_MODE} ${ASYNCIO_WAIT}"
6262

63+
# Workaround for https://github.com/rapidsai/ucxx/issues/15
64+
CMD_LINE="UCX_KEEPALIVE_INTERVAL=1ms ${CMD_LINE}"
65+
6366
rapids-logger "Running: ${CMD_LINE}"
6467
if [ $SLOW -ne 0 ]; then
6568
rapids-logger "SLOW BENCHMARK: it may seem like a deadlock but will eventually complete."
6669
fi
67-
UCXPY_ENABLE_DELAYED_SUBMISSION=${ENABLE_DELAYED_SUBMISSION} UCXPY_ENABLE_PYTHON_FUTURE=${ENABLE_PYTHON_FUTURE} timeout 2m python -m ucxx.benchmarks.send_recv --backend ${BACKEND} -o cupy --reuse-alloc -n 8MiB --n-buffers $N_BUFFERS --progress-mode ${PROGRESS_MODE} ${ASYNCIO_WAIT}
70+
71+
UCX_KEEPALIVE_INTERVAL=1ms UCXPY_ENABLE_DELAYED_SUBMISSION=${ENABLE_DELAYED_SUBMISSION} UCXPY_ENABLE_PYTHON_FUTURE=${ENABLE_PYTHON_FUTURE} timeout 2m python -m ucxx.benchmarks.send_recv --backend ${BACKEND} -o cupy --reuse-alloc -n 8MiB --n-buffers $N_BUFFERS --progress-mode ${PROGRESS_MODE} ${ASYNCIO_WAIT}
6872
}
6973

7074
rapids-logger "Downloading artifacts from previous jobs"
71-
CPP_CHANNEL=$(rapids-download-conda-from-s3 cpp)
75+
CPP_CHANNEL=${RAPIDS_CONDA_BLD_OUTPUT_DIR}
7276

7377
rapids-mamba-retry install \
7478
--channel "${CPP_CHANNEL}" \

0 commit comments

Comments
 (0)