Skip to content

Align CUDA bindings minimums with RMM - #3180

Merged
rapids-bot[bot] merged 3 commits into
NVIDIA:mainfrom
vyasr:fix-cuda-bindings-minimums
Oct 16, 2026
Merged

rapids-bot[bot] merged 3 commits into
NVIDIA:mainfrom
vyasr:fix-cuda-bindings-minimums

Conversation

@vyasr

@vyasr vyasr commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Oldest-dependency Python tests can select an older Python RMM package alongside a newer C++ librmm, causing an undefined callback_memory_resource symbol during import. The existing CUDA bindings pins exclude the matching Python RMM package.

Raise the CUDA 12 bindings minimum and oldest-test pin to 12.9.3, and the CUDA 13 equivalents to 13.0.2, matching RMM's requirements. Apply the same minimums in the conda recipes and regenerate the environments and Python package metadata.

Related to rapidsai/rmm#2580 and rapidsai/rmm#2595.

Apply the same test-only Dask workaround as cuDF #24632: set the raft-dask test suite's scheduler-info refresh interval to 60 seconds. This reduces the likelihood of Dask's scheduler-info cache race, which can report no workers during collective initialization. All tests remain enabled; runtime configuration is unchanged.

Signed-off-by: Vyas Ramasubramani <[email protected]>
@vyasr vyasr added bug Something isn't working non-breaking Non-breaking change python ci labels Oct 16, 2026
@vyasr vyasr added non-breaking Non-breaking change python ci labels Oct 16, 2026
@copy-pr-bot

copy-pr-bot Bot commented Oct 16, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@vyasr

vyasr commented Oct 16, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test 734bafb

@vyasr

vyasr commented Oct 16, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test fe18db4

@vyasr

vyasr commented Oct 16, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test 27df24e

@vyasr
vyasr marked this pull request as ready for review October 16, 2026 19:56
@vyasr
vyasr requested review from a team as code owners October 16, 2026 19:56
@vyasr
vyasr requested a review from bdice October 16, 2026 19:56
@vyasr

vyasr commented Oct 16, 2026

Copy link
Copy Markdown
Contributor Author

/merge

@coderabbitai

coderabbitai Bot commented Oct 16, 2026

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: NVIDIA/raft/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: 8290df0f-a939-46f6-a7f9-46673413ead2
📥 Commits

Reviewing files that changed from the base of the PR and between 3ecc24b and 27df24e.

📒 Files selected for processing: 9
  • conda/environments/all_cuda-129_arch-aarch64.yaml
  • conda/environments/all_cuda-129_arch-x86_64.yaml
  • conda/environments/all_cuda-133_arch-aarch64.yaml
  • conda/environments/all_cuda-133_arch-x86_64.yaml
  • conda/recipes/pylibraft/recipe.yaml
  • conda/recipes/raft-dask/recipe.yaml
  • dependencies.yaml
  • python/pylibraft/pyproject.toml
  • python/raft-dask/raft_dask/tests/conftest.py

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 10 remain after this review.

📝 Summary

Summary by CodeRabbit

  • Bug Fixes

    • Updated CUDA bindings requirements across supported CUDA environments and Python packages to newer compatible versions, improving compatibility with CUDA 12 and CUDA 13.
  • Tests

    • Adjusted test-session scheduler settings to reduce unnecessary scheduler information updates.

CUDA bindings minimum versions increase across environment and package requirements. The raft-dask test configuration also sets Dask’s scheduler-info interval to 60 seconds for the test session, then restores it.

Changes: CUDA Bindings Requirements

Layer / File(s) Summary
Align CUDA bindings minimum versions
conda/environments/all_cuda-129_arch-*, conda/environments/all_cuda-133_arch-*, dependencies.yaml, conda/recipes/pylibraft/recipe.yaml, conda/recipes/raft-dask/recipe.yaml, python/pylibraft/pyproject.toml
CUDA 12 minimums change to 12.9.3, and CUDA 13 minimums change to 13.0.2. Existing upper bounds and matrix selectors remain unchanged.

raft-dask Test Configuration

Layer / File(s) Summary
Set scheduler-info interval for tests
python/raft-dask/raft_dask/tests/conftest.py
An autouse session-scoped fixture sets distributed.client.scheduler-info-interval to 60s during tests and restores the configuration when the fixture exits. The copyright notice is updated.

Priority: ➖ Normal

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Suggested reviewers: bdice, afender

Merge Risk: ⚪ Minimal · up to 27df2

The CUDA binding floors are consistent across the inspected test and package constraints, and the test-only Dask setting is applied before clients are created. No concrete merge-blocking failure was established; the change is ready for normal checks.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 1 files. (8 skipped: 8 … Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: aligning CUDA bindings minimum versions with RMM requirements.
Description check Passed The description directly explains the dependency updates, their cause, affected test environments, and the Dask test workaround.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 1 files. (8 skipped: 8 unsupported.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

  • Fix all pre-merge checks with AI
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@rapids-bot
rapids-bot Bot merged commit 662b60a into NVIDIA:main Oct 16, 2026
70 checks passed
@github-project-automation github-project-automation Bot moved this from Approved to Done in Unstructured Data Processing Oct 16, 2026
@vyasr
vyasr deleted the fix-cuda-bindings-minimums branch October 16, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ci non-breaking Non-breaking change python

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants