Skip to content
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
28afe76
add build wheel script and accompanying version info
msarahan Jan 17, 2024
a92cf98
move pip args to requirements output
msarahan Jan 17, 2024
14c8799
Remove hardcoded versions
vyasr Jan 17, 2024
d48d5a4
Fix sed expressions so that they run (overzealous, but OK)
vyasr Jan 17, 2024
99b940d
Find Development.Embed component to make Python3::Python target avail…
vyasr Jan 17, 2024
7e2426c
SKBUILD_CMAKE_ARGS is semicolon-separated
vyasr Jan 17, 2024
955b360
Don't change to dir and just use absolute paths everywhere
vyasr Jan 17, 2024
6c894db
Make sure ucxx_python is also installed
vyasr Jan 17, 2024
a175ee7
Make sure all associated targets are set
vyasr Jan 17, 2024
ef88198
Enabling Python is now automatic
vyasr Jan 17, 2024
a0c72b0
Don't load gtest if not necessary
vyasr Jan 17, 2024
0d6c53a
Consolidate rmm logic and ensure it is only called when requested
vyasr Jan 17, 2024
b7a9d6e
Properly enable Python by default
vyasr Jan 17, 2024
df1150d
Switch back to raw find_package
vyasr Jan 17, 2024
d0e2046
Make `ci/test_wheel.sh` executable
pentschev Jan 17, 2024
697c799
Remove policy from upload artifact
vyasr Jan 17, 2024
e24e23c
Also update cudf
vyasr Jan 18, 2024
3580d0b
Fix cupy dependencies and patching
vyasr Jan 18, 2024
cd01361
Move CI C++/Python test implementations to common script
pentschev Jan 18, 2024
47ed425
Add basic wheel test set
pentschev Jan 18, 2024
fd4aab7
Fix `BINARY_PATH`
pentschev Jan 18, 2024
5f8b0c9
Check for `ucx_info` presence before running
pentschev Jan 18, 2024
3742bb5
Fix `ucx_info` chek
pentschev Jan 18, 2024
9305a32
Prevent `which` call from causing a failure
pentschev Jan 18, 2024
1da02e6
Simplify `ucx_info` error handling
pentschev Jan 18, 2024
fff8e48
Disable C++ testing in wheels tests
pentschev Jan 18, 2024
f888489
Run tests with `python -m`
pentschev Jan 18, 2024
7378821
Patch UCX libraries
pentschev Jan 18, 2024
40d5e8a
Switch to `rapids-dask-dependency` for `dask-cudf`
pentschev Jan 18, 2024
fb1c523
Build wheel for distributed-ucxx package
pentschev Jan 18, 2024
abe6e7e
Merge remote-tracking branch 'upstream/branch-0.36' into wheel-build-ci
pentschev Jan 18, 2024
f470e02
Fix pyproject
pentschev Jan 18, 2024
e2e9951
Add distributed-ucxx build/tests to GH workflows
pentschev Jan 18, 2024
5858b02
Add execution permission for new wheel build scripts
pentschev Jan 18, 2024
257ad3d
Add missing `fi` statement
pentschev Jan 18, 2024
07f9b42
Fix distributed-ucxx package directory
pentschev Jan 18, 2024
7818f33
Set `RAPIDS_PY_CUDA_SUFFIX` in caller scripts
pentschev Jan 18, 2024
0d7330b
Export `RAPIDS_PY_CUDA_SUFFIX`
pentschev Jan 18, 2024
a43a9bf
Update distributed-ucxx versioning
pentschev Jan 18, 2024
3e1fb71
Add missing distributed-ucxx wheel build step
pentschev Jan 18, 2024
17adea4
Package name fixes
pentschev Jan 18, 2024
0ad3955
Do not export `PROJECT_NAME`
pentschev Jan 18, 2024
bcbed26
Use `rapids-dask-dependency` for `distributed-ucxx` conda package
pentschev Jan 18, 2024
f09d4d7
Comment out distributed-ucxx wheels GH workflows
pentschev Jan 18, 2024
d7dc399
Only use rapids-dask-dependency in conda until we enable distributed-…
bdice Jan 18, 2024
3de787f
Skip distributed-ucxx jobs.
bdice Jan 18, 2024
535a830
Use RAPIDS version for rapids-dask-dependency.
bdice Jan 18, 2024
f7044a3
Merge remote-tracking branch 'upstream/branch-0.36' into wheel-build-ci
bdice Jan 19, 2024
1b6c1df
Increase nofile ulimit in CI workflows for wheels
pentschev Jan 19, 2024
32c14a2
Merge remote-tracking branch 'upstream/branch-0.37' into wheel-build-ci
bdice Jan 19, 2024
27f68dc
Update to 24.04.
bdice Jan 19, 2024
0fa2763
Uncomment distributed-ucxx CI jobs.
bdice Jan 19, 2024
05fb96b
Rename ucxx dependency lists.
bdice Jan 19, 2024
0ee77f6
Use rapids-dependency-file-generator for distributed-ucxx.
bdice Jan 19, 2024
360f559
Fix conda dependency list.
bdice Jan 19, 2024
a12e420
Add ucxx dependency to distributed-ucxx.
bdice Jan 19, 2024
0ab6f18
Update update-version.sh.
bdice Jan 19, 2024
dbb3350
Rewrite alpha_spec for distributed-ucxx's dependency on ucxx.
bdice Jan 19, 2024
3d97f46
Fix sed command.
bdice Jan 19, 2024
6199aea
Fix sed command again.
bdice Jan 19, 2024
199cb25
Install ucxx from this build when testing distributed-ucxx.
bdice Jan 19, 2024
128237d
Install ucxx deps.
bdice Jan 20, 2024
f5182cc
Add missing RMM dependency to ucxx run requirements.
bdice Jan 22, 2024
47bceb5
Merge remote-tracking branch 'upstream/branch-0.37' into wheel-build-ci
vyasr Jan 23, 2024
27573d9
Update VERSION to 0.37.00
bdice Jan 24, 2024
b596c25
Merge remote-tracking branch 'upstream/branch-0.37' into wheel-build-ci
bdice Jan 25, 2024
8b5007f
Clean up merge diff.
bdice Jan 25, 2024
7748935
Add VERSION symlink to distributed-ucxx.
bdice Jan 25, 2024
35c211d
Update copyrights.
bdice Jan 25, 2024
1348dcb
Add alpha_spec to rapids-dask-dependency.
bdice Jan 25, 2024
7ba3ae7
Merge remote-tracking branch 'upstream/branch-0.37' into wheel-build-ci
pentschev Jan 29, 2024
02dc566
Install Distributed development version in wheel test
pentschev Jan 29, 2024
3ef814b
Add smoke tests for aarch wheel
pentschev Jan 29, 2024
dd4e439
Don't print ucx info
vyasr Jan 30, 2024
e782fc7
Run pytest via python
vyasr Jan 30, 2024
cc017be
Fix path to wheel smoke tests
pentschev Jan 30, 2024
90c3152
Merge remote-tracking branch 'msarahan/wheel-build-ci' into wheel-bui…
pentschev Jan 30, 2024
3d43a5c
Fix smoke test copyright headers
pentschev Jan 30, 2024
2107f16
Remove irrelevant comment from wheel smoke test
pentschev Jan 30, 2024
1b3977f
Fix CMake comment on spdlog
pentschev Jan 30, 2024
9e6ce88
Move `ci/test_utils.sh` functions to `ci/test_common.sh`
pentschev Jan 30, 2024
d6af7c6
Remove unneeded wheel test import
pentschev Jan 30, 2024
6e4482f
GH workflow fixes
pentschev Jan 30, 2024
4fa91fb
Make wheel build script more consistent
pentschev Jan 31, 2024
2a8495d
Move `RAPIDS_PY_CUDA_SUFFIX` and build to `ci/build_wheel.sh`
pentschev Jan 31, 2024
035c453
Do not prevent errors in `print_ucx_config`
pentschev Jan 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,22 @@ jobs:
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
wheel-build:
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-24.02
with:
build_type: ${{ inputs.build_type || 'branch' }}
branch: ${{ inputs.branch }}
sha: ${{ inputs.sha }}
date: ${{ inputs.date }}
script: ci/build_wheel.sh
wheel-publish:
needs: wheel-build
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/wheels-publish.yaml@branch-24.02
with:
build_type: ${{ inputs.build_type || 'branch' }}
branch: ${{ inputs.branch }}
sha: ${{ inputs.sha }}
date: ${{ inputs.date }}
package-name: ucxx
16 changes: 16 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
- conda-cpp-build
- conda-cpp-tests
- conda-python-tests
- wheel-build
- wheel-tests
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@branch-24.02
checks:
Expand Down Expand Up @@ -43,3 +45,17 @@ jobs:
with:
build_type: pull-request
container-options: "--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000"
wheel-build:
needs: checks
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-24.02
with:
build_type: pull-request
script: ci/build_wheel.sh
wheel-tests:
needs: wheel-build
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@branch-24.02
with:
build_type: pull-request
script: ci/test_wheel.sh
9 changes: 9 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,12 @@ jobs:
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
container-options: "--cap-add CAP_SYS_PTRACE --shm-size=8g --ulimit=nofile=1000000:1000000"
wheel-tests:
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@branch-24.02
with:
build_type: nightly
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
script: ci/test_wheel.sh
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.36.00
52 changes: 52 additions & 0 deletions ci/build_wheel.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#!/bin/bash
# Copyright (c) 2023-2024, NVIDIA CORPORATION.

set -euo pipefail

package_name="ucxx"
package_dir="python"

source rapids-configure-sccache
source rapids-date-string

version=$(rapids-generate-version)
commit=$(git rev-parse HEAD)

RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"

# This is the version of the suffix with a preceding hyphen. It's used
# everywhere except in the final wheel name.
PACKAGE_CUDA_SUFFIX="-${RAPIDS_PY_CUDA_SUFFIX}"

# Patch project metadata files to include the CUDA version suffix and version override.
pyproject_file="${package_dir}/pyproject.toml"

sed -i -E "s/^name = \"${package_name}(.*)?\"$/name = \"${package_name}${PACKAGE_CUDA_SUFFIX}\"/g" ${pyproject_file}
echo "${version}" > VERSION
sed -i "/^__git_commit__/ s/= .*/= \"${commit}\"/g" "${package_dir}/${package_name//-/_}/_version.py"

# For nightlies we want to ensure that we're pulling in alphas as well. The
# easiest way to do so is to augment the spec with a constraint containing a
# min alpha version that doesn't affect the version bounds but does allow usage
# of alpha versions for that dependency without --pre
alpha_spec=''
if ! rapids-is-release-build; then
alpha_spec=',>=0.0.0a0'
fi

# Add -cuXX to package name
sed -r -i "s/rmm(.*)\"/rmm${PACKAGE_CUDA_SUFFIX}\1${alpha_spec}\"/g" ${pyproject_file}
sed -r -i "s/cudf(.*)\"/cudf${PACKAGE_CUDA_SUFFIX}\1${alpha_spec}\"/g" ${pyproject_file}

# Update cupy package name (different suffix from RAPIDS)
if [[ $PACKAGE_CUDA_SUFFIX == "-cu12" ]]; then
sed -i "s/cupy-cuda11x/cupy-cuda12x/g" ${pyproject_file}
fi

SKBUILD_CMAKE_ARGS="-DUCXX_ENABLE_RMM=ON" \
python -m pip wheel "${package_dir}"/ -w "${package_dir}"/dist -vvv --no-deps --disable-pip-version-check

python -m auditwheel repair -w ${package_dir}/final_dist ${package_dir}/dist/*

RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"
RAPIDS_PY_WHEEL_NAME="ucxx_${RAPIDS_PY_CUDA_SUFFIX}" rapids-upload-wheels-to-s3 ${package_dir}/final_dist
155 changes: 155 additions & 0 deletions ci/test_common.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
#!/bin/bash

# SPDX-FileCopyrightText: Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES.
# SPDX-License-Identifier: BSD-3-Clause

set -euo pipefail

source "$(dirname "$0")/test_utils.sh"


##################################### C++ ######################################
_SERVER_PORT=12345

run_cpp_tests() {
RUNTIME_PATH=${CONDA_PREFIX:-./}
BINARY_PATH=${RUNTIME_PATH}/bin

CMD_LINE="timeout 10m ${BINARY_PATH}/gtests/libucxx/UCXX_TEST"

log_command "${CMD_LINE}"
UCX_TCP_CM_REUSEADDR=y ${CMD_LINE}
}

run_cpp_benchmark() {
SERVER_PORT=$1
PROGRESS_MODE=$2

RUNTIME_PATH=${CONDA_PREFIX:-./}
BINARY_PATH=${RUNTIME_PATH}/bin

CMD_LINE_SERVER="timeout 1m ${BINARY_PATH}/benchmarks/libucxx/ucxx_perftest -s 8388608 -r -n 20 -m ${PROGRESS_MODE} -p ${SERVER_PORT}"
CMD_LINE_CLIENT="timeout 1m ${BINARY_PATH}/benchmarks/libucxx/ucxx_perftest -s 8388608 -r -n 20 -m ${PROGRESS_MODE} -p ${SERVER_PORT} 127.0.0.1"

log_command "${CMD_LINE_SERVER}"
UCX_TCP_CM_REUSEADDR=y ${CMD_LINE_SERVER} &
sleep 1

log_command "${CMD_LINE_CLIENT}"
${CMD_LINE_CLIENT}
}

run_cpp_example() {
SERVER_PORT=$1
PROGRESS_MODE=$2

RUNTIME_PATH=${CONDA_PREFIX:-./}
BINARY_PATH=${RUNTIME_PATH}/bin

CMD_LINE="timeout 1m ${BINARY_PATH}/examples/libucxx/ucxx_example_basic -m ${PROGRESS_MODE} -p ${SERVER_PORT}"

log_command "${CMD_LINE}"
UCX_TCP_CM_REUSEADDR=y ${CMD_LINE}
}

run_cpp_port_retry() {
MAX_ATTEMPTS=${1}
RUN_TYPE=${2}
PROGRESS_MODE=${3}

set +e
for attempt in $(seq 1 ${MAX_ATTEMPTS}); do
echo "Attempt ${attempt}/${MAX_ATTEMPTS} to run ${RUN_TYPE}"

_SERVER_PORT=$((_SERVER_PORT + 1)) # Use different ports every time to prevent `Device is busy`

if [[ "${RUN_TYPE}" == "benchmark" ]]; then
run_cpp_benchmark ${_SERVER_PORT} ${PROGRESS_MODE}
elif [[ "${RUN_TYPE}" == "example" ]]; then
run_cpp_example ${_SERVER_PORT} ${PROGRESS_MODE}
else
set -e
echo "Unknown test type "${RUN_TYPE}""
exit 1
fi

LAST_STATUS=$?
if [ ${LAST_STATUS} -eq 0 ]; then
break;
fi
sleep 1
done
set -e

if [ ${LAST_STATUS} -ne 0 ]; then
echo "Failure running benchmark client after ${MAX_ATTEMPTS} attempts"
exit $LAST_STATUS
fi
}


#################################### Python ####################################
run_py_tests() {
CMD_LINE="timeout 2m pytest -vs python/ucxx/_lib/tests/"
log_command "${CMD_LINE}"
timeout 2m pytest -vs python/ucxx/_lib/tests/
}

run_py_tests_async() {
PROGRESS_MODE=$1
ENABLE_DELAYED_SUBMISSION=$2
ENABLE_PYTHON_FUTURE=$3
SKIP=$4

CMD_LINE="UCXPY_PROGRESS_MODE=${PROGRESS_MODE} UCXPY_ENABLE_DELAYED_SUBMISSION=${ENABLE_DELAYED_SUBMISSION} UCXPY_ENABLE_PYTHON_FUTURE=${ENABLE_PYTHON_FUTURE} timeout 20m pytest -vs python/ucxx/_lib_async/tests/ --durations=50"

if [ $SKIP -ne 0 ]; then
echo -e "\e[1;33mSkipping unstable test: ${CMD_LINE}\e[0m"
else
log_command "${CMD_LINE}"
UCXPY_PROGRESS_MODE=${PROGRESS_MODE} UCXPY_ENABLE_DELAYED_SUBMISSION=${ENABLE_DELAYED_SUBMISSION} UCXPY_ENABLE_PYTHON_FUTURE=${ENABLE_PYTHON_FUTURE} timeout 20m pytest -vs python/ucxx/_lib_async/tests/ --durations=50
fi
}

run_py_benchmark() {
BACKEND=$1
PROGRESS_MODE=$2
ASYNCIO_WAIT=$3
ENABLE_DELAYED_SUBMISSION=$4
ENABLE_PYTHON_FUTURE=$5
N_BUFFERS=$6
SLOW=$7

if [ $ASYNCIO_WAIT -ne 0 ]; then
ASYNCIO_WAIT="--asyncio-wait"
else
ASYNCIO_WAIT=""
fi

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}"

# Workaround for https://github.com/rapidsai/ucxx/issues/15
CMD_LINE="UCX_KEEPALIVE_INTERVAL=1ms ${CMD_LINE}"

log_command "${CMD_LINE}"
if [ $SLOW -ne 0 ]; then
echo -e "\e[1;33mSLOW BENCHMARK: it may seem like a deadlock but will eventually complete.\e[0m"
fi

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}
}

################################## Distributed #################################
run_distributed_ucxx_tests() {
PROGRESS_MODE=$1
ENABLE_DELAYED_SUBMISSION=$2
ENABLE_PYTHON_FUTURE=$3

CMD_LINE="UCXPY_PROGRESS_MODE=${PROGRESS_MODE} UCXPY_ENABLE_DELAYED_SUBMISSION=${ENABLE_DELAYED_SUBMISSION} UCXPY_ENABLE_PYTHON_FUTURE=${ENABLE_PYTHON_FUTURE} timeout 10m pytest -vs python/distributed-ucxx/distributed_ucxx/tests/"

# Workaround for https://github.com/rapidsai/ucxx/issues/15
# CMD_LINE="UCX_KEEPALIVE_INTERVAL=1ms ${CMD_LINE}"

log_command "${CMD_LINE}"
UCXPY_PROGRESS_MODE=${PROGRESS_MODE} UCXPY_ENABLE_DELAYED_SUBMISSION=${ENABLE_DELAYED_SUBMISSION} UCXPY_ENABLE_PYTHON_FUTURE=${ENABLE_PYTHON_FUTURE} timeout 10m pytest -vs python/distributed-ucxx/distributed_ucxx/tests/
}
96 changes: 14 additions & 82 deletions ci/test_cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
set -euo pipefail

source "$(dirname "$0")/test_utils.sh"
source "$(dirname "$0")/test_common.sh"

rapids-logger "Create test conda environment"
. /opt/conda/etc/profile.d/conda.sh
Expand All @@ -24,75 +25,6 @@ print_system_stats

BINARY_PATH=${CONDA_PREFIX}/bin

_SERVER_PORT=12345

run_tests() {
CMD_LINE="timeout 10m ${BINARY_PATH}/gtests/libucxx/UCXX_TEST"

log_command "${CMD_LINE}"
UCX_TCP_CM_REUSEADDR=y ${CMD_LINE}
}

run_benchmark() {
SERVER_PORT=$1
PROGRESS_MODE=$2

CMD_LINE_SERVER="timeout 1m ${BINARY_PATH}/benchmarks/libucxx/ucxx_perftest -s 8388608 -r -n 20 -m ${PROGRESS_MODE} -p ${SERVER_PORT}"
CMD_LINE_CLIENT="timeout 1m ${BINARY_PATH}/benchmarks/libucxx/ucxx_perftest -s 8388608 -r -n 20 -m ${PROGRESS_MODE} -p ${SERVER_PORT} 127.0.0.1"

log_command "${CMD_LINE_SERVER}"
UCX_TCP_CM_REUSEADDR=y ${CMD_LINE_SERVER} &
sleep 1

log_command "${CMD_LINE_CLIENT}"
${CMD_LINE_CLIENT}
}

run_example() {
SERVER_PORT=$1
PROGRESS_MODE=$2

CMD_LINE="timeout 1m ${BINARY_PATH}/examples/libucxx/ucxx_example_basic -m ${PROGRESS_MODE} -p ${SERVER_PORT}"

log_command "${CMD_LINE}"
UCX_TCP_CM_REUSEADDR=y ${CMD_LINE}
}

run_port_retry() {
MAX_ATTEMPTS=${1}
RUN_TYPE=${2}
PROGRESS_MODE=${3}

set +e
for attempt in $(seq 1 ${MAX_ATTEMPTS}); do
echo "Attempt ${attempt}/${MAX_ATTEMPTS} to run ${RUN_TYPE}"

_SERVER_PORT=$((_SERVER_PORT + 1)) # Use different ports every time to prevent `Device is busy`

if [[ "${RUN_TYPE}" == "benchmark" ]]; then
run_benchmark ${_SERVER_PORT} ${PROGRESS_MODE}
elif [[ "${RUN_TYPE}" == "example" ]]; then
run_example ${_SERVER_PORT} ${PROGRESS_MODE}
else
set -e
echo "Unknown test type "${RUN_TYPE}""
exit 1
fi

LAST_STATUS=$?
if [ ${LAST_STATUS} -eq 0 ]; then
break;
fi
sleep 1
done
set -e

if [ ${LAST_STATUS} -ne 0 ]; then
echo "Failure running benchmark client after ${MAX_ATTEMPTS} attempts"
exit $LAST_STATUS
fi
}

rapids-logger "Downloading artifacts from previous jobs"
CPP_CHANNEL=$(rapids-download-conda-from-s3 cpp)

Expand All @@ -104,20 +36,20 @@ print_ucx_config

rapids-logger "Run tests with conda package"
rapids-logger "C++ Tests"
run_tests
run_cpp_tests

rapids-logger "C++ Benchmarks"
# run_port_retry MAX_ATTEMPTS RUN_TYPE PROGRESS_MODE
run_port_retry 10 "benchmark" "polling"
run_port_retry 10 "benchmark" "blocking"
run_port_retry 10 "benchmark" "thread-polling"
run_port_retry 10 "benchmark" "thread-blocking"
run_port_retry 10 "benchmark" "wait"
# run_cpp_port_retry MAX_ATTEMPTS RUN_TYPE PROGRESS_MODE
run_cpp_port_retry 10 "benchmark" "polling"
run_cpp_port_retry 10 "benchmark" "blocking"
run_cpp_port_retry 10 "benchmark" "thread-polling"
run_cpp_port_retry 10 "benchmark" "thread-blocking"
run_cpp_port_retry 10 "benchmark" "wait"

rapids-logger "C++ Examples"
# run_port_retry MAX_ATTEMPTS RUN_TYPE PROGRESS_MODE
run_port_retry 10 "example" "polling"
run_port_retry 10 "example" "blocking"
run_port_retry 10 "example" "thread-polling"
run_port_retry 10 "example" "thread-blocking"
run_port_retry 10 "example" "wait"
# run_cpp_port_retry MAX_ATTEMPTS RUN_TYPE PROGRESS_MODE
run_cpp_port_retry 10 "example" "polling"
run_cpp_port_retry 10 "example" "blocking"
run_cpp_port_retry 10 "example" "thread-polling"
run_cpp_port_retry 10 "example" "thread-blocking"
run_cpp_port_retry 10 "example" "wait"
Loading