#260260th of 433 in ML frameworks and libraries

onnxmltools

Converts LightGBM, XGBoost, CatBoost, Core ML and other models to ONNX

Stars
1.2k
License
Apache-2.0
Last commit
Nov 2026
Last release
Jan 2026
Language
Python
Stars, last 29 weeks+23
7 May 2026: 1,156 stars14 May 2026: 1,156 stars21 May 2026: 1,156 stars28 May 2026: 1,156 stars4 Jun 2026: 1,156 stars11 Jun 2026: 1,158 stars18 Jun 2026: 1,158 stars25 Jun 2026: 1,159 stars2 Jul 2026: 1,160 stars9 Jul 2026: 1,160 stars16 Jul 2026: 1,162 stars23 Jul 2026: 1,163 stars30 Jul 2026: 1,166 stars6 Aug 2026: 1,166 stars13 Aug 2026: 1,166 stars20 Aug 2026: 1,167 stars27 Aug 2026: 1,169 stars3 Sept 2026: 1,169 stars10 Sept 2026: 1,169 stars17 Sept 2026: 1,169 stars24 Sept 2026: 1,171 stars1 Oct 2026: 1,171 stars8 Oct 2026: 1,172 stars15 Oct 2026: 1,173 stars22 Oct 2026: 1,173 stars29 Oct 2026: 1,175 stars5 Nov 2026: 1,175 stars12 Nov 2026: 1,176 stars19 Nov 2026: 1,179 stars26 Nov 2026: 1,179 stars

1,156 on 7 May 20261,179 on 26 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

A Python library that converts trained models from LightGBM, XGBoost, CatBoost, Core ML, H2O MOJO, libsvm and Spark ML (experimental) into ONNX ModelProto objects. scikit-learn and TensorFlow/Keras conversion wrap skl2onnx and tf2onnx. Tests compare original predictions with onnxruntime output.

Who it is for: ML engineers exporting tree-based and classic ML models to ONNX

Strengths

  • Covers LightGBM, XGBoost and CatBoost converters in one package
  • Tests compare converted predictions against onnxruntime on Linux, macOS and Windows
  • Configurable target_opset lets output load on older runtimes
  • Apache-2.0 licensed, installed with pip install onnxmltools

Weaknesses

  • Opset support stops at 15; higher target_opset values raise an error
  • TensorFlow/Keras wrapper is discouraged; README says use tf2onnx directly
  • Spark ML converter is marked experimental
  • Source toolkit must be installed to convert; Core ML untested on Windows

What it needs

  • no GPU
  • Needs Python 3.11+, onnx, numpy, protobuf, source toolkit (e.g. lightgbm, xgboost)
  • Models: LightGBM, XGBoost, CatBoost, Core ML, H2O MOJO

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#258mlforecastPython library for time series forecasting with scikit-learn style regressors1.3k starsApache-2.049 out of 100
#259smac3Bayesian optimization library for hyperparameter tuning with racing1.3k starscustom license49 out of 100
#261sonnetModule-based neural network library on top of TensorFlow 210k starsApache-2.048 out of 100
#262tsaiPyTorch and fastai library for time series classification and forecasting6.2k starsApache-2.048 out of 100
#263braxJAX physics engine and RL training library for massively parallel simulation Live demo ↗ (opens in a new tab)3.3k starsApache-2.048 out of 100