-
Notifications
You must be signed in to change notification settings - Fork 67
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
Move cuFile linking to kvikio target #379
Move cuFile linking to kvikio target #379
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, kvikio's cuFile dependency should be handled the same way we handle cuFile packages in libkvikio. This looks right to me. Thanks!
(I've only ever checked cuFile support for libkvikio because that's what we use in libcudf, so I wasn't aware of this.)
What I don't understand is why this doesn't already work. kvikio/conda/recipes/libkvikio/meta.yaml Lines 77 to 85 in 6ed7bcc
|
...and it seems this change doesn't work either. I need to go back to the drawing board. |
Thanks Kyle! 🙏 Think Am curious if there are more details on what is not working with this change. Would also have expected this to work |
I'm still getting the same error:
|
Could you please share a bit more on how that is coming up? Is that one of the GHA jobs here? Or is that a local build? If so, are there any details? Taking a look at one of the CUDA 12.2
Same story with one of the CUDA 11.8
Note that cuFile's Stream API was added in CUDA 12.2. So it is expected to be disabled in CUDA 11.8 Admittedly haven't checked all of the jobs. So could be missing things |
It looks like cmake dosn't run Reverting #342 fixes the issue. |
Local testing seems to indicate that this fix works. Ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonderful! Thank you for the additional comments.
Something seems off here. I agree that the changes are good for FetchContent/add_subdirectory like use cases, but IIUC we were observing issues with conda Python builds which should be finding libkvikio's config, right? Why aren't they? |
/merge |
This was discussed offline and is being fixed in #381. |
Use `build.sh` in `meta.yaml`, and pass `-DFIND_KVIKIO_CPP=ON` to CMake. xref: #379 (comment) Fixes #378 Authors: - Kyle Edwards (https://github.com/KyleFromNVIDIA) Approvers: - Bradley Dice (https://github.com/bdice) - Vyas Ramasubramani (https://github.com/vyasr) - Jake Awe (https://github.com/AyodeAwe) URL: #381
The exported
kvikio
target has anINTERFACE
dependency on cuFile. Add this dependency in the local buildsystem too for consistency, and remove the usage from the examples. This will allow all targets that link againstkvikio
to automatically get cuFile, including the Python modules.Fixes: #378