Exclude libkvikio from libcuml wheel repair - #8604
Conversation
|
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. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment has been minimized.
This comment has been minimized.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe libcuml wheel build script excludes Changeslibcuml wheel repair
Estimated code review effort: 1 (Trivial) | ~2 minutes Severity of issue fixed: High Suggested reviewers: Merge Risk: ⚪ Minimal · up to The libcuml wheel repair now skips libkvikio.so, avoiding auditwheel lookup failures because KvikIO is supplied separately. The focused change is mergeable. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
jameslamb
left a comment
There was a problem hiding this comment.
I suspect this is related to NVIDIA/cuvs#2565 (changed the kvikio linking in cuvs).
If so, you'll probably need a similar change on release/26.10. There just hasn't been another build on that branch since that PR merged 6 hours ago.
Approving and merging this to unblock CI on main, but you should put up a similar PR targeting release/26.10.
|
/merge |
Excludes `libkvikio.so` from `auditwheel repair` because KvikIO is provided as a separate wheel dependency. Backport of #8604 for `release/26.10`.
As of NVIDIA/cuvs#2565 (I think), `libcuvs.so` requires `libkvikio.so` at runtime. ```shell mkdir -p ./delete-me pip download \ -d ./delete-me \ --no-deps \ --index-url https://pypi.anaconda.org/rapidsai-wheels-nightly/simple/ \ 'libcuvs-cu13>=26.10.0a0' cd ./delete-me unzip ./libcuvs*.whl ``` ```console $ ldd libcuvs/lib64/libcuvs.so ... libkvikio.so => not found ... ``` `auditwheel repair` sees that dependency when it resolves `libcugraph.so`'s dependency on `libcuvs.so`, and so CI is failing here like this: > ValueError: Cannot repair wheel, because required library "libkvikio.so" could not be located ([build link](https://github.com/rapidsai/cugraph/actions/runs/34483969788/job/102894257002)) This fixes that by excluding `libkvikio.so` from `auditwheel repair`. This is safe to do because `libcuvs-cu13` has a runtime dependency on `libkvikio-cu13` to provide that. ## Notes for Reviewers A similar change was needed in `cuml`: NVIDIA/cuml#8604 Authors: - James Lamb (https://github.com/jameslamb) Approvers: - Kyle Edwards (https://github.com/KyleFromNVIDIA) - Bradley Dice (https://github.com/bdice) URL: #5663
Excludes
libkvikio.sofromauditwheel repairbecause KvikIO is provided as a separate wheel dependency.Closes #8603