-
Notifications
You must be signed in to change notification settings - Fork 902
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
Use nvcomp conda package. #13566
Use nvcomp conda package. #13566
Conversation
@robertmaynard @vyasr When I built this locally, it looked like CMake finds a local package of nvcomp, but the resulting libcudf conda package still ships the nvcomp library's contents inside of it. Do you think this could be an issue in rapids-cmake that fetches the proprietary binary even if a local package is found? I was a little unsure what might cause this behavior, since moving from CPM to a conda dependency usually fixes repackaging issues. |
I'll touch base with you offline to repro the problem so that I can help you investigate. |
My first guess for what's happening here is that the binaries for nvcomp are being downloaded prior to the CPMFindPackage call and as a result the downloaded package is always being found (either because it's earlier in the search path or because Creating a local env to test. |
That is exactly what is happening. The current logic around Edit: |
@robertmaynard my POC solution was to just insert a |
We should avoid downloading the proprietary binary if a local package exists. |
My proposal would be that rapids-cmake
We wouldn't do a local search. |
I verified that all three C++ builds (CUDA 11.8 on amd64/arm64 and CUDA 12.0 on amd64) pulled the correct nvcomp package during their builds. All looks good in the build logs! |
/merge |
Thanks Bradley! 🙏 |
Last note: I confirmed that the libcudf conda packages shrank by a few MB, as expected. 😄 |
Looks like some changes to point to a feature branch were accidentally committed in #13566. Authors: - Vyas Ramasubramani (https://github.com/vyasr) Approvers: - Bradley Dice (https://github.com/bdice) URL: #13696
Description
This PR uses conda-forge packages of
nvcomp
rather than fetching a tarball. This means that the nvcomp binary should not be shipped in the libcudf conda package, but is instead listed as a dependency. This will reduce libcudf's conda package size.Addresses part of #13230.
Checklist