From 4d4d611ae905b49d56b4671023bff3fbd9278fb0 Mon Sep 17 00:00:00 2001 From: tarangj Date: Tue, 21 Jul 2026 14:48:26 -0700 Subject: [PATCH 1/5] drop dependencies.yaml --- dependencies.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/dependencies.yaml b/dependencies.yaml index 459242e20c..0a56291454 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -82,7 +82,6 @@ files: - build_common - depends_on_librmm - depends_on_rapids_logger - - depends_on_nccl py_run_libraft: output: pyproject pyproject_dir: python/libraft @@ -92,7 +91,6 @@ files: - cuda_wheels - depends_on_librmm - depends_on_rapids_logger - - depends_on_nccl py_build_pylibraft: output: pyproject pyproject_dir: python/pylibraft From 44b0639da2e4a628b96b6c520678c5c1a29f23d7 Mon Sep 17 00:00:00 2001 From: tarangj Date: Wed, 22 Jul 2026 13:57:36 -0700 Subject: [PATCH 2/5] audit more deps --- ci/build_wheel.sh | 6 ++++-- conda/recipes/libraft/recipe.yaml | 12 ++++-------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/ci/build_wheel.sh b/ci/build_wheel.sh index b9d32eff3c..0da5a1ef0e 100755 --- a/ci/build_wheel.sh +++ b/ci/build_wheel.sh @@ -58,8 +58,10 @@ if [[ ${package_name} != "libraft" ]]; then ) fi -SKBUILD_CMAKE_ARGS="-DUSE_NCCL_RUNTIME_WHEEL=ON" -export SKBUILD_CMAKE_ARGS +if [[ ${package_name} == "raft-dask" ]]; then + SKBUILD_CMAKE_ARGS="-DUSE_NCCL_RUNTIME_WHEEL=ON" + export SKBUILD_CMAKE_ARGS +fi sccache --stop-server 2>/dev/null || true diff --git a/conda/recipes/libraft/recipe.yaml b/conda/recipes/libraft/recipe.yaml index ce8e2e0a30..c97db2ce86 100644 --- a/conda/recipes/libraft/recipe.yaml +++ b/conda/recipes/libraft/recipe.yaml @@ -192,17 +192,15 @@ outputs: - cmake ${{ cmake_version }} - ${{ compiler("c") }} host: - - ${{ pin_subpackage("libraft-headers", exact=True) }} + - ${{ pin_subpackage("libraft-headers-only", exact=True) }} - cuda-version =${{ cuda_version }} - - cuda-profiler-api - libcublas-dev - libcurand-dev - libcusolver-dev - libcusparse-dev run: - - ${{ pin_subpackage("libraft-headers", exact=True) }} + - ${{ pin_subpackage("libraft-headers-only", exact=True) }} - ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }} - - cuda-profiler-api - libcublas - libcurand - libcusolver @@ -242,17 +240,15 @@ outputs: - cmake ${{ cmake_version }} - ${{ compiler("c") }} host: - - ${{ pin_subpackage("libraft-headers", exact=True) }} + - ${{ pin_subpackage("libraft-headers-only", exact=True) }} - cuda-version =${{ cuda_version }} - - cuda-profiler-api - libcublas-dev - libcurand-dev - libcusolver-dev - libcusparse-dev run: - - ${{ pin_subpackage("libraft-headers", exact=True) }} + - ${{ pin_subpackage("libraft-headers-only", exact=True) }} - ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }} - - cuda-profiler-api - libcublas - libcurand - libcusolver From f8bb1af8858fabb93d21bc47866229816099e1a5 Mon Sep 17 00:00:00 2001 From: tarangj Date: Wed, 22 Jul 2026 14:02:25 -0700 Subject: [PATCH 3/5] style --- ci/build_wheel.sh | 2 +- conda/recipes/libraft/recipe.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/build_wheel.sh b/ci/build_wheel.sh index 0da5a1ef0e..26e3b0bc38 100755 --- a/ci/build_wheel.sh +++ b/ci/build_wheel.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-FileCopyrightText: Copyright (c) 2023-2026, NVIDIA CORPORATION. +# SPDX-FileCopyrightText: Copyright (c) 2023-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 set -euo pipefail diff --git a/conda/recipes/libraft/recipe.yaml b/conda/recipes/libraft/recipe.yaml index c97db2ce86..ab3432c2c7 100644 --- a/conda/recipes/libraft/recipe.yaml +++ b/conda/recipes/libraft/recipe.yaml @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION. +# SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 schema_version: 1 From e8882f8546891b5d7b0ba5585d3926c08f206aa2 Mon Sep 17 00:00:00 2001 From: tarangj Date: Wed, 22 Jul 2026 14:38:26 -0700 Subject: [PATCH 4/5] pylibraft only needs to depend on libraft --- conda/recipes/pylibraft/recipe.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/conda/recipes/pylibraft/recipe.yaml b/conda/recipes/pylibraft/recipe.yaml index b12f35b29b..9e340554a6 100644 --- a/conda/recipes/pylibraft/recipe.yaml +++ b/conda/recipes/pylibraft/recipe.yaml @@ -87,7 +87,6 @@ requirements: run: - ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }} - libraft =${{ version }} - - libraft-headers =${{ version }} - python - numpy >=2.0,<3.0 - rmm =${{ minor_version }} From 2c2317349fbba866b199b6f3364aa00c81477727 Mon Sep 17 00:00:00 2001 From: tarangj Date: Wed, 22 Jul 2026 14:51:55 -0700 Subject: [PATCH 5/5] Revert "pylibraft only needs to depend on libraft" This reverts commit e8882f8546891b5d7b0ba5585d3926c08f206aa2. --- conda/recipes/pylibraft/recipe.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/conda/recipes/pylibraft/recipe.yaml b/conda/recipes/pylibraft/recipe.yaml index 9e340554a6..b12f35b29b 100644 --- a/conda/recipes/pylibraft/recipe.yaml +++ b/conda/recipes/pylibraft/recipe.yaml @@ -87,6 +87,7 @@ requirements: run: - ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }} - libraft =${{ version }} + - libraft-headers =${{ version }} - python - numpy >=2.0,<3.0 - rmm =${{ minor_version }}