Skip to content

Update Treelite to 4.7.0#7870

Merged
rapids-bot[bot] merged 6 commits intorapidsai:release/26.04from
hcho3:update_treelite
Mar 13, 2026
Merged

Update Treelite to 4.7.0#7870
rapids-bot[bot] merged 6 commits intorapidsai:release/26.04from
hcho3:update_treelite

Conversation

@hcho3
Copy link
Contributor

@hcho3 hcho3 commented Mar 7, 2026

@copy-pr-bot
Copy link

copy-pr-bot bot commented Mar 7, 2026

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.

@github-actions github-actions bot added conda conda issue Cython / Python Cython or Python issue labels Mar 7, 2026
@hcho3 hcho3 added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change and removed conda conda issue Cython / Python Cython or Python issue labels Mar 7, 2026
@hcho3 hcho3 marked this pull request as ready for review March 7, 2026 22:04
@hcho3 hcho3 requested a review from a team as a code owner March 7, 2026 22:04
@hcho3 hcho3 requested a review from KyleFromNVIDIA March 7, 2026 22:04
@coderabbitai
Copy link

coderabbitai bot commented Mar 7, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 6e674dff-c6b1-4f83-8467-5bdb278b1204

📥 Commits

Reviewing files that changed from the base of the PR and between 3d9fd51 and 6b2205d.

📒 Files selected for processing (6)
  • conda/environments/all_cuda-129_arch-aarch64.yaml
  • conda/environments/all_cuda-129_arch-x86_64.yaml
  • conda/environments/all_cuda-131_arch-aarch64.yaml
  • conda/environments/all_cuda-131_arch-x86_64.yaml
  • dependencies.yaml
  • python/cuml/pyproject.toml

📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Raised the minimum Treelite dependency from 4.6.1 to 4.7.0 across environment and build configurations.
    • Updated the pinned Treelite release used by the build system to a newer revision.

Walkthrough

Treelite minimum version was raised from 4.6.1 to 4.7.0 across dependency manifests and build configs; the Treelite Git tag and VERSION were also updated in the CMake retrieval script.

Changes

Cohort / File(s) Summary
Conda Environment Files
conda/environments/all_cuda-129_arch-aarch64.yaml, conda/environments/all_cuda-129_arch-x86_64.yaml, conda/environments/all_cuda-131_arch-aarch64.yaml, conda/environments/all_cuda-131_arch-x86_64.yaml
Updated treelite constraint from >=4.6.1,<5.0.0 to >=4.7.0,<5.0.0.
Conda Build Configs
conda/recipes/cuml/conda_build_config.yaml, conda/recipes/libcuml/conda_build_config.yaml
Bumped treelite_version constraint from >=4.6.1,<5.0.0 to >=4.7.0,<5.0.0.
Core Manifests / Python Build
dependencies.yaml, python/cuml/pyproject.toml
Updated Treelite dependency entries from >=4.6.1,<5.0.0 to >=4.7.0,<5.0.0 (multiple occurrences in pyproject.toml).
CMake Treelite retrieval
cpp/cmake/thirdparty/get_treelite.cmake
Updated Treelite VERSION from 4.6.1 to 4.7.0 and changed pinned GIT_TAG to the commit for the 4.7.0 release.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and clearly summarizes the main change: updating Treelite from 4.6.1 to 4.7.0 across all dependency files.
Description check ✅ Passed The description is directly related to the changeset, explaining the purpose of the update and referencing specific improvements from the Treelite project.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan for PR comments
  • Generate coding plan

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

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@dependencies.yaml`:
- Line 319: The Treelite version is bumped to >=4.7.0 in dependencies.yaml but
cpp/cmake/thirdparty/get_treelite.cmake still pins VERSION 4.6.1; update the
CMake fetch to use VERSION 4.7.0 (replace the VERSION value and any
corresponding URL/checksum constants in get_treelite.cmake), ensure any
variables or comments referencing 4.6.1 are updated, and run the CMake fetch
step locally to verify the source URL/checksum remain correct and builds
succeed.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 8059b1a7-715a-44a3-b043-a68f50ce3d6a

📥 Commits

Reviewing files that changed from the base of the PR and between d28fd9d and d047689.

📒 Files selected for processing (8)
  • conda/environments/all_cuda-129_arch-aarch64.yaml
  • conda/environments/all_cuda-129_arch-x86_64.yaml
  • conda/environments/all_cuda-131_arch-aarch64.yaml
  • conda/environments/all_cuda-131_arch-x86_64.yaml
  • conda/recipes/cuml/conda_build_config.yaml
  • conda/recipes/libcuml/conda_build_config.yaml
  • dependencies.yaml
  • python/cuml/pyproject.toml

@hcho3 hcho3 requested a review from a team as a code owner March 7, 2026 23:13
@hcho3 hcho3 requested a review from csadorf March 7, 2026 23:13
@github-actions github-actions bot added conda conda issue Cython / Python Cython or Python issue CMake CUDA/C++ labels Mar 7, 2026
Copy link
Member

@jcrist jcrist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@hcho3 hcho3 changed the base branch from main to release/26.04 March 12, 2026 20:41
@hcho3
Copy link
Contributor Author

hcho3 commented Mar 12, 2026

Retargeting this pull request to the 26.04 branch.

@jcrist
Copy link
Member

jcrist commented Mar 12, 2026

The OOM failure you're seeing in the sklearn tests is the one that #7881 (cherry-picked back to this branch) will/should fix.

@jameslamb jameslamb removed the request for review from KyleFromNVIDIA March 13, 2026 14:56
@jcrist
Copy link
Member

jcrist commented Mar 13, 2026

/merge

@rapids-bot rapids-bot bot merged commit abc17be into rapidsai:release/26.04 Mar 13, 2026
183 of 186 checks passed
@hcho3 hcho3 deleted the update_treelite branch March 13, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CMake conda conda issue CUDA/C++ Cython / Python Cython or Python issue improvement Improvement / enhancement to an existing function non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants