Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UCXX support #1983

Merged
merged 100 commits into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from 98 commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
e4858dd
Add UCXX to CMake
pentschev Nov 9, 2023
119e5f0
Remove unused UCP request attributes
pentschev Nov 9, 2023
7c1d49e
Prepare `std_comms` for UCXX
pentschev Nov 9, 2023
3866d6f
Support UCXX in Python's `UCX` class
pentschev Nov 9, 2023
22b345b
Add UCXX message transfer support
pentschev Nov 9, 2023
dee27a5
Add missing `ucx` pytest marker
pentschev Nov 13, 2023
40d5471
Test UCX comms with Dask TCP and UCX protocols
pentschev Nov 13, 2023
0798c32
Add `test_send_recv_protocol_ucxx`
pentschev Nov 13, 2023
28b3619
Add `distributed-ucxx` dependency to raft-dask tests
pentschev Nov 13, 2023
dd992ba
Merge remote-tracking branch 'upstream/branch-23.12' into ucxx-support
pentschev Nov 13, 2023
728e137
Merge remote-tracking branch 'upstream/branch-24.02' into ucxx-support
pentschev Nov 27, 2023
f50268d
Update with strong `ucxx::Tag`/`ucxx::TagMask` types
pentschev Dec 7, 2023
68223dd
Add options to select running UCX/UCXX Dask tests
pentschev Dec 12, 2023
9295b5a
Extend more Dask comms tests with UCX-Py/UCXX
pentschev Dec 12, 2023
0c01290
Enable UCX-Py/UCXX tests in CI
pentschev Dec 12, 2023
8a7cfc9
Merge remote-tracking branch 'upstream/branch-24.02' into ucxx-support
pentschev Dec 12, 2023
8b87b0e
Add `libucxx` as build dependecy
pentschev Dec 12, 2023
eae8069
Merge remote-tracking branch 'upstream/branch-24.02' into ucxx-support
pentschev Jan 5, 2024
226cf9e
Improve parallelism of refine host (#2059)
anaruse Jan 9, 2024
8c6f0cc
CMake find UCXX
pentschev Jan 9, 2024
41c3d35
Merge remote-tracking branch 'upstream/branch-24.02' into HEAD
pentschev Jan 9, 2024
b6b842a
Merge remote-tracking branch 'upstream/branch-24.02' into ucxx-support
pentschev Jan 11, 2024
f60f604
Merge remote-tracking branch 'upstream/branch-24.02' into ucxx-support
pentschev Jan 11, 2024
170a87a
Merge remote-tracking branch 'upstream/branch-24.02' into ucxx-support
pentschev Jan 12, 2024
904ec1d
Move UCXX to `raft-distributed-exports`
pentschev Jan 12, 2024
b6e16af
Find UCXX in `raft-dask`'s `CMakeLists.txt`
pentschev Jan 16, 2024
e4bdc3c
Use `include` instead of `find_package` for UCXX
pentschev Jan 17, 2024
b295ff0
Fix CPM ordering
pentschev Jan 17, 2024
5330017
Merge remote-tracking branch 'upstream/branch-24.02' into ucxx-support
pentschev Jan 18, 2024
ca4b580
Find UCXX package
pentschev Jan 18, 2024
39d7ef8
Find UCXX package again
pentschev Jan 18, 2024
e350f44
Merge remote-tracking branch 'upstream/branch-24.02' into ucxx-support
pentschev Jan 18, 2024
4a167d8
Revert copyright year changes
pentschev Jan 18, 2024
74624f0
Fix CMake for wheel builds
vyasr Jan 18, 2024
3832ea8
Specify components and targets to export
vyasr Jan 18, 2024
294cdc6
Don't find ucxx in the C++ build
vyasr Jan 18, 2024
4c0374f
Find ucx and ucxx unconditionally in the Python build
vyasr Jan 18, 2024
03bbb74
Remove old UCX attributes from `std_comms`
pentschev Jan 18, 2024
e01bc6a
Merge remote-tracking branch 'origin/ucxx-support' into ucxx-support
pentschev Jan 18, 2024
13a7951
Only find ucx when building cpp since it is exported in the built dep…
vyasr Jan 18, 2024
5bc6add
Move get_ucxx.cmake into python dir
vyasr Jan 19, 2024
85c1e92
Enable using ucxx as a static lib for the raft-dask wheel
vyasr Jan 19, 2024
71d7b9c
Undo unnecessary change
vyasr Jan 19, 2024
a93e3ca
Switch to my ucxx fork for conda build support
vyasr Jan 19, 2024
d498ad4
Revert "Switch to my ucxx fork for conda build support"
vyasr Jan 19, 2024
3824d3f
Fix recipe
vyasr Jan 19, 2024
2dc3a93
Fix style
vyasr Jan 19, 2024
99fcd88
Stop exporting a dependency on ucx
vyasr Jan 19, 2024
9b877f4
Only find ucxx prior to raft if building raft from source
vyasr Jan 19, 2024
e439ba4
Include ucxx in host since we need the Python lib as well
vyasr Jan 19, 2024
c069a20
Test fix for pip builds finding ucxx
vyasr Jan 19, 2024
dd9c723
Fix typo
vyasr Jan 19, 2024
58069c9
Fix typo (check ucxx, not ucx)
vyasr Jan 19, 2024
9ab4acf
Explicitly find ucx
vyasr Jan 19, 2024
c700ec1
Merge remote-tracking branch 'upstream/branch-24.02' into ucxx-support
pentschev Jan 20, 2024
4ddd608
Add missing documentation for `is_ucxx`
pentschev Jan 20, 2024
3d65f36
Merge remote-tracking branch 'upstream/branch-24.04' into ucxx-support
pentschev Jan 20, 2024
78152a8
Update `libucxx` version
pentschev Jan 20, 2024
64bbe40
Update CMake and cbc
pentschev Jan 20, 2024
fee9a09
Find ucxx before ucx
vyasr Jan 22, 2024
3a6b52e
Update finding logic for latest ucxx
vyasr Jan 22, 2024
639ea1e
Merge branch 'branch-24.04' into ucxx-support
vyasr Jan 23, 2024
4c9833b
Merge remote-tracking branch 'upstream/branch-24.04' into ucxx-support
pentschev Feb 13, 2024
4a84096
Merge remote-tracking branch 'upstream/branch-24.04' into ucxx-support
pentschev Feb 15, 2024
e269c5e
Merge remote-tracking branch 'origin/ucxx-support' into ucxx-support
pentschev Feb 15, 2024
6ead16c
Enable UCXX wheel tests
pentschev Feb 15, 2024
cb9924b
Remove duplicate `cmake_version` entry from CBC
pentschev Feb 15, 2024
8ebd824
Include UCXX updates in CI release script
pentschev Feb 15, 2024
23fc7f1
Add `distributed-ucxx` as `test_python` dependency
pentschev Feb 19, 2024
b96901f
Merge remote-tracking branch 'upstream/branch-24.04' into ucxx-support
pentschev Feb 19, 2024
900a833
Merge remote-tracking branch 'upstream/branch-24.04' into ucxx-support
pentschev Feb 21, 2024
63fb227
Merge remote-tracking branch 'upstream/branch-24.04' into ucxx-support
pentschev Feb 27, 2024
3619833
Merge remote-tracking branch 'upstream/branch-24.04' into ucxx-support
pentschev Feb 29, 2024
893a88c
Adjust `distributed-ucxx` wheel package name
pentschev Feb 29, 2024
6687286
Add `test_raft_dask` dependency
pentschev Feb 29, 2024
9734ea3
Use depends_on_distributed_ucxx and depends_on_cupy in dependencies.y…
bdice Feb 29, 2024
8678039
Add distributed-ucxx-cu11/cu12 to update-version.sh.
bdice Feb 29, 2024
cd0128c
Merge remote-tracking branch 'upstream/branch-24.04' into ucxx-support
pentschev Mar 1, 2024
534e094
Merge remote-tracking branch 'origin/ucxx-support' into ucxx-support
pentschev Mar 1, 2024
a57e662
Merge remote-tracking branch 'upstream/branch-24.06' into ucxx-support
pentschev Apr 8, 2024
3300aaf
Update to UCXX 0.38 using update release version script
pentschev Apr 8, 2024
8ab9afc
Merge remote-tracking branch 'upstream/branch-24.06' into ucxx-support
pentschev Apr 9, 2024
51ee7c7
Merge remote-tracking branch 'upstream/branch-24.06' into ucxx-support
pentschev May 1, 2024
9e65a04
Switch to `ucx_wheel` package
pentschev May 1, 2024
f385db4
Switch to download ucx wheels from PR #2
pentschev May 1, 2024
8814afb
Get UCX wheel from nightly index
pentschev May 1, 2024
3db5150
Update ci/test_wheel_raft_dask.sh
vyasr May 2, 2024
fbfda2a
Apply suggestions from code review
vyasr May 2, 2024
4067e10
Update libucx version
vyasr May 2, 2024
86e63f6
GET ucxx/distributed-ucxx wheels from nightly index
pentschev May 2, 2024
0e9b24a
Merge remote-tracking branch 'upstream/branch-24.06' into ucxx-support
pentschev May 2, 2024
2cb6a10
Fix protocol selection in `get_ucx`
pentschev May 2, 2024
3a47388
Improve CI raft-dask tests consistency
pentschev May 2, 2024
28a496f
Remove use of deprecated `get_ucxx_endpoint`
pentschev May 2, 2024
4a6a4eb
Disable TCP/UCX-Py raft-dask CI tests
pentschev May 2, 2024
068cb91
Merge remote-tracking branch 'upstream/branch-24.06' into ucxx-support
pentschev May 2, 2024
aedf931
Fix UCX wheels dependencies
pentschev May 3, 2024
3ca498c
Merge remote-tracking branch 'upstream/branch-24.06' into ucxx-support
pentschev May 4, 2024
6841d67
Remove explicit `ucx` dependency from `raft-dask` conda package
pentschev May 6, 2024
4fad2dc
Merge remote-tracking branch 'upstream/branch-24.06' into ucxx-support
pentschev May 6, 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
10 changes: 8 additions & 2 deletions ci/build_wheel.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
#!/bin/bash
# Copyright (c) 2023, NVIDIA CORPORATION.
# Copyright (c) 2023-2024, NVIDIA CORPORATION.

set -euo pipefail

package_name=$1
package_dir=$2
underscore_package_name=$(echo "${package_name}" | tr "-" "_")

# Clear out system ucx files to ensure that we're getting ucx from the wheel.
rm -rf /usr/lib64/ucx
rm -rf /usr/lib64/libuc*

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

Expand Down Expand Up @@ -38,9 +42,11 @@ fi

if [[ ${package_name} == "raft-dask" ]]; then
sed -r -i "s/pylibraft==(.*)\"/pylibraft${PACKAGE_CUDA_SUFFIX}==\1${alpha_spec}\"/g" ${pyproject_file}
sed -r -i "s/libucx(.*)\"/libucx${PACKAGE_CUDA_SUFFIX}\1${alpha_spec}\"/g" ${pyproject_file}
sed -r -i "s/ucx-py==(.*)\"/ucx-py${PACKAGE_CUDA_SUFFIX}==\1${alpha_spec}\"/g" ${pyproject_file}
sed -r -i "s/rapids-dask-dependency==(.*)\"/rapids-dask-dependency==\1${alpha_spec}\"/g" ${pyproject_file}
sed -r -i "s/dask-cuda==(.*)\"/dask-cuda==\1${alpha_spec}\"/g" ${pyproject_file}
sed -r -i "s/distributed-ucxx==(.*)\"/distributed-ucxx${PACKAGE_CUDA_SUFFIX}==\1${alpha_spec}\"/g" ${pyproject_file}
else
sed -r -i "s/rmm(.*)\"/rmm${PACKAGE_CUDA_SUFFIX}\1${alpha_spec}\"/g" ${pyproject_file}
fi
Expand All @@ -56,6 +62,6 @@ cd "${package_dir}"
python -m pip wheel . -w dist -vvv --no-deps --disable-pip-version-check

mkdir -p final_dist
python -m auditwheel repair -w final_dist dist/*
python -m auditwheel repair -w final_dist --exclude "libucp.so.0" dist/*

RAPIDS_PY_WHEEL_NAME="${underscore_package_name}_${RAPIDS_PY_CUDA_SUFFIX}" rapids-upload-wheels-to-s3 final_dist
9 changes: 8 additions & 1 deletion ci/release/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ function sed_runner() {
}

sed_runner "s/set(RAPIDS_VERSION .*)/set(RAPIDS_VERSION \"${NEXT_SHORT_TAG}\")/g" cpp/template/cmake/thirdparty/fetch_rapids.cmake
sed_runner 's/'"find_and_configure_ucxx(VERSION .*"'/'"find_and_configure_ucxx(VERSION ${NEXT_UCX_PY_SHORT_TAG_PEP440}"'/g' python/raft-dask/cmake/thirdparty/get_ucxx.cmake
sed_runner 's/'"branch-.*"'/'"branch-${NEXT_UCX_PY_SHORT_TAG_PEP440}"'/g' python/raft-dask/cmake/thirdparty/get_ucxx.cmake

# Centralized version file update
echo "${NEXT_FULL_TAG}" > VERSION
Expand All @@ -50,7 +52,7 @@ DEPENDENCIES=(
rmm-cu11
rmm-cu12
rapids-dask-dependency
# ucx-py is handled separately below
# ucx-py and ucxx are handled separately below
)
for FILE in dependencies.yaml conda/environments/*.yaml; do
for DEP in "${DEPENDENCIES[@]}"; do
Expand All @@ -59,6 +61,10 @@ for FILE in dependencies.yaml conda/environments/*.yaml; do
sed_runner "/-.* ucx-py==/ s/==.*/==${NEXT_UCX_PY_SHORT_TAG_PEP440}\.*/g" ${FILE};
sed_runner "/-.* ucx-py-cu11==/ s/==.*/==${NEXT_UCX_PY_SHORT_TAG_PEP440}\.*/g" ${FILE};
sed_runner "/-.* ucx-py-cu12==/ s/==.*/==${NEXT_UCX_PY_SHORT_TAG_PEP440}\.*/g" ${FILE};
sed_runner "/-.* libucxx==/ s/==.*/==${NEXT_UCX_PY_SHORT_TAG_PEP440}\.*/g" ${FILE};
sed_runner "/-.* distributed-ucxx==/ s/==.*/==${NEXT_UCX_PY_SHORT_TAG_PEP440}\.*/g" ${FILE};
sed_runner "/-.* distributed-ucxx-cu11==/ s/==.*/==${NEXT_UCX_PY_SHORT_TAG_PEP440}\.*/g" ${FILE};
sed_runner "/-.* distributed-ucxx-cu12==/ s/==.*/==${NEXT_UCX_PY_SHORT_TAG_PEP440}\.*/g" ${FILE};
done
for FILE in python/*/pyproject.toml; do
for DEP in "${DEPENDENCIES[@]}"; do
Expand All @@ -68,6 +74,7 @@ for FILE in python/*/pyproject.toml; do
done

sed_runner "/^ucx_py_version:$/ {n;s/.*/ - \"${NEXT_UCX_PY_VERSION}\"/}" conda/recipes/raft-dask/conda_build_config.yaml
sed_runner "/^ucxx_version:$/ {n;s/.*/ - \"${NEXT_UCX_PY_VERSION}\"/}" conda/recipes/raft-dask/conda_build_config.yaml

for FILE in .github/workflows/*.yaml; do
sed_runner "/shared-workflows/ s/@.*/@branch-${NEXT_SHORT_TAG}/g" "${FILE}"
Expand Down
18 changes: 18 additions & 0 deletions ci/test_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,23 @@ rapids-logger "pytest raft-dask"
--cov-report=xml:"${RAPIDS_COVERAGE_DIR}/raft-dask-coverage.xml" \
--cov-report=term

rapids-logger "pytest raft-dask (ucx-py only)"
./ci/run_raft_dask_pytests.sh \
--junitxml="${RAPIDS_TESTS_DIR}/junit-raft-dask-ucx.xml" \
--cov-config=../.coveragerc \
--cov=raft_dask \
--cov-report=xml:"${RAPIDS_COVERAGE_DIR}/raft-dask-ucx-coverage.xml" \
--cov-report=term \
--run_ucx

rapids-logger "pytest raft-dask (ucxx only)"
./ci/run_raft_dask_pytests.sh \
--junitxml="${RAPIDS_TESTS_DIR}/junit-raft-dask-ucxx.xml" \
--cov-config=../.coveragerc \
--cov=raft_dask \
--cov-report=xml:"${RAPIDS_COVERAGE_DIR}/raft-dask-ucxx-coverage.xml" \
--cov-report=term \
--run_ucxx

rapids-logger "Test script exiting with value: $EXITCODE"
exit ${EXITCODE}
12 changes: 9 additions & 3 deletions ci/test_wheel_raft_dask.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@ RAPIDS_PY_WHEEL_NAME="raft_dask_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels
RAPIDS_PY_WHEEL_NAME="pylibraft_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 ./local-pylibraft-dep
python -m pip install --no-deps ./local-pylibraft-dep/pylibraft*.whl

# echo to expand wildcard before adding `[extra]` requires for pip
python -m pip install $(echo ./dist/raft_dask*.whl)[test]
python -m pip install "raft_dask-${RAPIDS_PY_CUDA_SUFFIX}[test]>=0.0.0a0" --find-links dist/

python -m pytest ./python/raft-dask/raft_dask/test
# rapids-logger "pytest raft-dask"
# python -m pytest ./python/raft-dask/raft_dask/test

# rapids-logger "pytest raft-dask (ucx-py only)"
# python -m pytest ./python/raft-dask/raft_dask/test --run_ucx

rapids-logger "pytest raft-dask (ucxx only)"
python -m pytest ./python/raft-dask/raft_dask/test --run_ucxx
vyasr marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 2 additions & 0 deletions conda/environments/all_cuda-118_arch-aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ dependencies:
- cxx-compiler
- cython>=3.0.0
- dask-cuda==24.6.*
- distributed-ucxx==0.38.*
- doxygen>=1.8.20
- gcc_linux-aarch64=11.*
- graphviz
Expand All @@ -34,6 +35,7 @@ dependencies:
- libcusolver=11.4.1.48
- libcusparse-dev=11.7.5.86
- libcusparse=11.7.5.86
- libucxx==0.38.*
- nccl>=2.9.9
- ninja
- numba>=0.57
Expand Down
2 changes: 2 additions & 0 deletions conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ dependencies:
- cxx-compiler
- cython>=3.0.0
- dask-cuda==24.6.*
- distributed-ucxx==0.38.*
- doxygen>=1.8.20
- gcc_linux-64=11.*
- graphviz
Expand All @@ -34,6 +35,7 @@ dependencies:
- libcusolver=11.4.1.48
- libcusparse-dev=11.7.5.86
- libcusparse=11.7.5.86
- libucxx==0.38.*
- nccl>=2.9.9
- ninja
- numba>=0.57
Expand Down
2 changes: 2 additions & 0 deletions conda/environments/all_cuda-122_arch-aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ dependencies:
- cxx-compiler
- cython>=3.0.0
- dask-cuda==24.6.*
- distributed-ucxx==0.38.*
- doxygen>=1.8.20
- gcc_linux-aarch64=11.*
- graphviz
Expand All @@ -31,6 +32,7 @@ dependencies:
- libcurand-dev
- libcusolver-dev
- libcusparse-dev
- libucxx==0.38.*
- nccl>=2.9.9
- ninja
- numba>=0.57
Expand Down
2 changes: 2 additions & 0 deletions conda/environments/all_cuda-122_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ dependencies:
- cxx-compiler
- cython>=3.0.0
- dask-cuda==24.6.*
- distributed-ucxx==0.38.*
- doxygen>=1.8.20
- gcc_linux-64=11.*
- graphviz
Expand All @@ -31,6 +32,7 @@ dependencies:
- libcurand-dev
- libcusolver-dev
- libcusparse-dev
- libucxx==0.38.*
- nccl>=2.9.9
- ninja
- numba>=0.57
Expand Down
1 change: 1 addition & 0 deletions conda/environments/bench_ann_cuda-118_arch-aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ dependencies:
- libcusolver=11.4.1.48
- libcusparse-dev=11.7.5.86
- libcusparse=11.7.5.86
- libucxx==0.38.*
- matplotlib
- nccl>=2.9.9
- ninja
Expand Down
1 change: 1 addition & 0 deletions conda/environments/bench_ann_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ dependencies:
- libcusolver=11.4.1.48
- libcusparse-dev=11.7.5.86
- libcusparse=11.7.5.86
- libucxx==0.38.*
- matplotlib
- nccl>=2.9.9
- ninja
Expand Down
1 change: 1 addition & 0 deletions conda/environments/bench_ann_cuda-120_arch-aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ dependencies:
- libcurand-dev
- libcusolver-dev
- libcusparse-dev
- libucxx==0.38.*
- matplotlib
- nccl>=2.9.9
- ninja
Expand Down
1 change: 1 addition & 0 deletions conda/environments/bench_ann_cuda-120_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ dependencies:
- libcurand-dev
- libcusolver-dev
- libcusparse-dev
- libucxx==0.38.*
- matplotlib
- nccl>=2.9.9
- ninja
Expand Down
3 changes: 3 additions & 0 deletions conda/recipes/raft-dask/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@ ucx_version:
ucx_py_version:
- "0.38.*"

ucxx_version:
- "0.38.*"

cmake_version:
- ">=3.26.4"
3 changes: 3 additions & 0 deletions conda/recipes/raft-dask/meta.yaml
vyasr marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ requirements:
- ucx {{ ucx_version }}
- ucx-proc=*=gpu
- ucx-py {{ ucx_py_version }}
- libucxx {{ ucxx_version }}
- ucxx {{ ucxx_version }}
run:
{% if cuda_major == "11" %}
- cudatoolkit
Expand All @@ -76,6 +78,7 @@ requirements:
- ucx {{ ucx_version }}
- ucx-proc=*=gpu
- ucx-py {{ ucx_py_version }}
- ucxx {{ ucxx_version }}

tests:
requirements:
Expand Down
15 changes: 12 additions & 3 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -650,12 +650,21 @@ rapids_find_generate_module(
INSTALL_EXPORT_SET raft-distributed-exports
)

rapids_export_package(BUILD ucx raft-distributed-exports)
rapids_export_package(INSTALL ucx raft-distributed-exports)
rapids_export_package(
BUILD ucxx raft-distributed-exports COMPONENTS ucxx python GLOBAL_TARGETS ucxx::ucxx ucxx::python
)
rapids_export_package(
INSTALL ucxx raft-distributed-exports COMPONENTS ucxx python GLOBAL_TARGETS ucxx::ucxx
ucxx::python
)
rapids_export_package(BUILD NCCL raft-distributed-exports)
rapids_export_package(INSTALL NCCL raft-distributed-exports)

target_link_libraries(raft_distributed INTERFACE ucx::ucp NCCL::NCCL)
# ucx is a requirement for raft_distributed, but its config is not safe to be found multiple times,
# so rather than exporting a package dependency on it above we rely on consumers to find it
# themselves. Once https://github.com/rapidsai/ucxx/issues/173 is resolved we can export it above
# again.
target_link_libraries(raft_distributed INTERFACE ucx::ucp ucxx::ucxx NCCL::NCCL)

# ##################################################################################################
# * install targets-----------------------------------------------------------
Expand Down
Loading
Loading