Releases: dmlc/treelite
4.3.0 Release
What's Changed
- Compatibility patch for latest RapidJSON by @hcho3 in #567
- Test with latest XGBoost by @hcho3 in #572
- [GTIL] Allow inferencing with FP32 input + FP64 model by @hcho3 in #574
- Update edit.rst by @stephenpardy in #576
- Support XGBoost UBJSON by @hcho3 in #578
- Use DFS to get a valid but smaller new node order by @tmct in #570
New Contributors
- @stephenpardy made their first contribution in #576
- @tmct made their first contribution in #570
Full Changelog: 4.2.1...4.3.0
Patch release 4.2.1
What's Changed
This release is identical to 4.2.0 release, except for the following hotfixes:
Full Changelog: 4.2.0...4.2.1
4.2.0 Release
What's Changed
- Update outdated docstrings by @hcho3 in #556
- Support NumPy 2.0 (fixes #560) by @jameslamb in #562
- Handle deleted nodes in XGBoost by @hcho3 in #564
New Contributors
- @jameslamb made their first contribution in #562
Full Changelog: 4.1.2...4.2.0
Patch Release 4.1.2
This patch release is identical to 4.1.0, save for the following fixes:
- Don't load libtreelite.so with symbols visible globally. This breaks downstream packages that embeds Treelite as a library. Global visibility should only be enabled for special environments such as Conda.
Patch release 4.1.1
This patch release is identical to 4.1.0, save for the following fixes:
- Restore support for Python 3.8
- PyPy compatibility patch
- Load libtreelite.so with symbols visible globally
4.1.0 Release
We are excited to announce Treelite 4.1.
What's Changed
- Don't fetch GTest if it's found by CMake by @trxcllnt in #539
- Fix the GTest target name case by @trxcllnt in #541
- Restore support for old binary XGBoost models by @hcho3 in #547
- Enable configuration for custom libpath by @hcho3 in #543
- Clarify output dimensions of GTIL by @hcho3 in #548
- [Breaking] Set 1st dim of prediction output to be row ID by @hcho3 in #549
- Fix GTIL if input does not have sufficient number of columns by @hcho3 in #550
- Support sparse inputs in GTIL by @hcho3 in #551
- Support multi-class, multi-output RandomForestClassifier by @hcho3 in #552
- Fix categorical data handling for HistGradientBoosting in scikit-learn 1.4.0+ by @hcho3 in #553
New Contributors
Full Changelog: 4.0.0...4.1.0
4.0.0 Release
We are excited to announce Treelite 4.0.
What's new
- Native support for multi-target models
- Complete support for XGBoost 2.0, including vector-leaf trees (
multi_strategy="multi_output_tree"
) - Greater variety of scikit-learn estimators, including
HistGradientBoostingRegressor
andHistGradientBoostingClassifier
. - Vector
base_scores
, to support boosting from the average - Brand-new model builder API with built-in model validation
- Ability to edit trees using field accessor API
- We now provide a pre-built binary wheel targeting ARM64 (aarch64) architecture.
Bug fixes
- Fix base_scores for sklearn GradientBoostingClassifier by @hcho3 in #536
- Fix model concatenation by @hcho3 in #538
- Don't fetch GTest if it's found by CMake by @trxcllnt in #540
Breaking change
- The compiler (C codegen) module has been removed from Treelite. You may use TL2cgen for equivalent functionalities. See the migration guide.
Treelite 4.0.0 Release Candidate 1
We are excited to announce a Release Candidate for Treelite 4.0.
What's new
- Native support for multi-target models
- Complete support for XGBoost 2.0, including vector-leaf trees (
multi_strategy="multi_output_tree"
) - Greater variety of scikit-learn estimators, including
HistGradientBoostingRegressor
andHistGradientBoostingClassifier
. - Vector
base_scores
, to support boosting from the average - Brand-new model builder API with built-in model validation
- Ability to edit trees using field accessor API
Breaking change
- The compiler (C codegen) module has been removed from Treelite. You may use TL2cgen for equivalent functionalities. See the migration guide.
How to install and test Release Candidate
- Pip:
pip install treelite==4.0.0rc1
- Conda:
conda install -c conda-forge/label/treelite_rc treelite=4.0.0rc1
Full Changelog: 3.9.1...4.0.0rc1
Patch release 3.9.1
This release is almost identical to 3.9.0 release. It was updated to be compatible with XGBoost 2.0.
3.9.0 Release
Deprecation notice
The following parts of Treelite are deprecated and will be removed in Treelite 4.0.0.
You may use TL2cgen for equivalent functionalities. See the migration guide.
treelite.Model.export_lib
treelite.Model.export_srcpkg
treelite.Model.compile
treelite.Annotator
treelite.generate_makefile
treelite.generate_cmakelists
treelite.create_shared
treelite_runtime.Predictor
treelite_runtime.DMatrix
What's Changed
- Don't install gtest if building from source by @hcho3 in #491
- Deprecate C codegen by @hcho3 in #493
- [CI] Make nightly builds of CPack for amd64 and aarch64 by @hcho3 in #494
Full Changelog: 3.4.0...3.9.0