Repository navigation
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. |
…carried through from RAFT)
|
/ok to test f751598 |
| set(CMAKE_CXX_STANDARD 20) | ||
| set(CMAKE_CXX_STANDARD_REQUIRED ON) |
There was a problem hiding this comment.
C++20 standard was coming through transitively from other other targets before. This PR removes them, so now it needs to be set explicitly.
Recall that other projects across RAPIDS have been using C++20 for a while, e.g. cuML has for over a year: NVIDIA/cuml#7619
| "librmm==27.2.*,>=0.0.0a0", | ||
| "ninja", | ||
| "pylibraft==27.2.*,>=0.0.0a0", | ||
| "treelite==4.8.1", |
There was a problem hiding this comment.
treelite wheels don't have headers or the treelite static library. They aren't actually needed at build time for nvforest wheels.
Wheel builds here get treelite via CPM instead, just like cuML does (I'm proposing a similar change in NVIDIA/cuml#8973)
| GLOBAL_TARGETS raft::raft | ||
| BUILD_EXPORT_SET nvforest-exports | ||
| INSTALL_EXPORT_SET nvforest-exports COMPONENTS ${RAFT_COMPONENTS} | ||
| GLOBAL_TARGETS raft::raft COMPONENTS ${RAFT_COMPONENTS} |
There was a problem hiding this comment.
Because raft is a PRIVATE dependency only used in nvforest's tests, it doesn't need to be in any export set.
| try: | ||
| # These libraries must all be loaded before libnvforest | ||
| import libraft | ||
| import librmm |
There was a problem hiding this comment.
libnvforest doesn't actually need RAFT or RMM for library code. Only for C++ tests.
$ git grep -E 'include.*(raft|rmm)'
cpp/CMakeLists.txt: include(cmake/thirdparty/get_raft.cmake)
cpp/tests/inference.cu:#include <raft/core/handle.hpp>
cpp/tests/inference.cu:#include <rmm/cuda_stream_pool.hpp>| - output_types: [conda, requirements, constraints, pyproject] | ||
| packages: | ||
| - click | ||
| - *packaging |
There was a problem hiding this comment.
nvforest[test] doesn't need to declare packaging. The only use in this repo is in the sphinx configuration.
$ git grep packaging *.py
docs/source/conf.py:from packaging.version import Version
python/libnvforest/libnvforest/load.py: # before packaging the wheel), look for a system installation.|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
|
Let's come back to this after #301 |
|
#301 was merged so we can move forward here. |
|
I went ahead and resolved the merge conflicts. |
Contributes to rapidsai/build-planning#353
Notes for Reviewers
See inline comments for details.