Skip to content

build(wheel): drop the CUDA suffix and dimension from libcuopt-client - #1967

Open
ramakrishnap-nv wants to merge 5 commits into
mainfrom
feat/client-no-cuda-suffix
Open

ramakrishnap-nv wants to merge 5 commits into
mainfrom
feat/client-no-cuda-suffix

Conversation

@ramakrishnap-nv

@ramakrishnap-nv ramakrishnap-nv commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator

libcuopt_client.so links no rmm and no CUDA since #1890, so the wheel is the same artifact whichever CUDA built it.

Removes the CUDA-related requirements from the client: the CUDA suffix on its name, the CUDA dimension in its builds and artifact name, and rmm and the cuda-version pin from its runtime dependencies.

🤖 Generated with Claude Code

@copy-pr-bot

copy-pr-bot Bot commented Sep 22, 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.

@ramakrishnap-nv ramakrishnap-nv self-assigned this Sep 22, 2026
@ramakrishnap-nv ramakrishnap-nv added non-breaking Introduces a non-breaking change improvement Improves an existing functionality labels Sep 22, 2026
@ramakrishnap-nv ramakrishnap-nv added this to the 26.10 milestone Sep 22, 2026
ramakrishnap-nv and others added 4 commits September 22, 2026 14:46
Since #1890 libcuopt_client.so has no rmm and no CUDA library in its DT_NEEDED
-- only rapids-logger, gRPC, protobuf and abseil -- so the wheel is the same
artifact whichever CUDA the build used, and installing it needs no CUDA stack.

  disable-cuda on the client wheel, so rapids-build-backend stops probing for a
  toolkit, drops the cuda dimension from dependency resolution, and leaves the
  name unsuffixed: one libcuopt-client rather than -cu12 and -cu13

  py_run_libcuopt_client loses depends_on_librmm, leaving rapids-logger

  depends_on_libcuopt_client is unsuffixed everywhere, so mathopt and routing
  reference the single package

  a libcuopt_client_filter grouping by arch alone, halving the client's build
  jobs from four to two

  the conda output drops its cuda-version pin and librmm from run; both stay in
  host, where the headers are still needed to compile it

The build still needs a CUDA toolkit, since the client is compiled as part of
the whole tree, and librmm stays in the wheel's build requires for the same
reason. This changes what the wheel depends on and how it is named, not how it
is built.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The wheel no longer carries a CUDA suffix, so the artifact that holds it should
not either, and with one build per arch a CUDA version in the name is a value
no consumer can predict.

append-cuda-suffix: false on the build job, matching cuopt_sh_client, which
already sets it for the same reason. rapids-artifact-name drops --cuda, leaving
cuopt_wheel_cpp_libcuopt_client_{arch}; the publish job matches on the
publish-wheel-search-key prefix, so it is unaffected.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The package declares it contains no CUDA kernels and now depends on no CUDA
runtime, so advertising Environment :: GPU :: NVIDIA CUDA misdescribes it.
cuopt-self-hosted, the other CUDA-free package here, already omits it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@ramakrishnap-nv
ramakrishnap-nv changed the base branch from feat/split-wheels to main September 22, 2026 19:47
@ramakrishnap-nv
ramakrishnap-nv force-pushed the feat/client-no-cuda-suffix branch from bb3237e to 6293c21 Compare September 22, 2026 19:47
@ramakrishnap-nv
ramakrishnap-nv marked this pull request as ready for review September 22, 2026 20:48
@ramakrishnap-nv
ramakrishnap-nv requested a review from a team as a code owner September 22, 2026 20:48
@coderabbitai

coderabbitai Bot commented Sep 22, 2026

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: NVIDIA/cuopt/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 36db48d6-7dfa-410d-b142-df41a05fe95e

📥 Commits

Reviewing files that changed from the base of the PR and between 6293c21 and 1aca1cf.

📒 Files selected for processing (1)
  • conda/recipes/libcuopt/recipe.yaml

Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review.


📝 Walkthrough

Walkthrough

The client package metadata and runtime requirements now use an unsuffixed package without CUDA wheel selection. CI selects one client build per architecture and produces wheel artifacts without CUDA-version suffixes.

Changes

libcuopt client packaging

Layer / File(s) Summary
Package and dependency model
dependencies.yaml, python/libcuopt_client/pyproject.toml, conda/recipes/libcuopt/recipe.yaml
Dependency outputs and wheel metadata now use the unsuffixed client package and disable CUDA wheels. Runtime requirements replace cuda-version and librmm with rapids-logger =0.3; cuda-version and librmm remain host requirements.
CI artifact selection
.github/workflows/build.yaml, .github/workflows/pr.yaml, ci/build_wheel_libcuopt_client.sh
Client builds are grouped by architecture and select the highest CUDA and Python versions per architecture. Wheel artifact names omit CUDA-version suffixes.

Priority: ➖ Normal

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

Change: Other

Suggested reviewers: kylefromnvidia

Merge Risk: ⚪ Minimal · up to 1aca1

The packaging changes retain the logger runtime dependency and support the intended architecture-specific, CUDA-independent wheels. No material merge risk remains.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: removing the CUDA suffix and build dimension from libcuopt-client.
Description check ✅ Passed The description explains that the client wheel is CUDA-independent and lists the related packaging and dependency changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

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

librapids_logger.so is in libcuopt_client.so's DT_NEEDED, but the run
requirements never named it -- librmm pulled it in transitively. Dropping librmm
took it with it, and the isolation test caught the result:

  OSError: librapids_logger.so: cannot open shared object file

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown

CI Test Summary

✅ All 32 test job(s) passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improves an existing functionality non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant