Supercharge Tree-Based Model Inference with Forest Inference Library in NVIDIA cuML
AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.
Why it matters
NVIDIA's rebuilt Forest Inference Library in cuML 25.04 lets teams serve XGBoost, LightGBM and scikit-learn forest models far faster without changing their training workflows.
Many predictions about tabular data, like loan defaults or ad clicks, use tree ensembles, models that combine many decision trees. NVIDIA rebuilt its Forest Inference Library inside cuML 25.04, a software package for accelerated data science, so these trained models run on graphics cards or ordinary CPUs. It now tunes itself for each batch of data and ran up to 882 times faster than the standard scikit-learn approach. This matters for anyone whose machine-learning predictions are slowed by expensive computer time.
NVIDIA's cuML 25.04 update rewrites the Forest Inference Library so trained tree models from XGBoost, LightGBM or scikit-learn can be served on a GPU or CPU, with the library auto-tuning for each batch size. NVIDIA claims a median 147x speedup over native scikit-learn on an AMD EPYC 9654P, peaking at 882x, and 1.16x median gains over its prior version on an H100. Teams doing high-volume scoring could replace large CPU fleets with one GPU; a minor caveat is slight regressions on some shallow-tree configurations.
cuML 25.04's Forest Inference Library uses a redesigned C++ backend with batched GPU or CPU inference, OpenMP CPU-only builds, and Python runtime device selection via a context manager. A new .optimize() call empirically selects layout (depth_first default, layered or breadth_first alternatives) and chunk sizes; nodes are stored at minimal byte widths with cache-line alignment via a new align_bytes hyperparameter. New APIs .predict_per_tree and .apply expose per-tree predictions and leaf IDs, enabling tree-weighted ensembling, prediction intervals, and leaf-overlap similarity. Benchmarks: 75% of configurations beat cuML 25.02 (median 1.16x, max 4.1x) on H100 and Xeon 8480CL; versus scikit-learn on EPYC 9654P, median 147x, max 882x.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
cuML 25.04 Forest Inference Library H100 XGBoost LightGBM Triton Inference Server Treelite
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Samsung is testing a feature that changes the angle of photos you’ve already taken
Samsung’s new Recompose lets users change photo angles after shooting, potentially reducing the need for multiple shots and improving post-capture editing workflows for photographers and casual users alike.
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.