Linux Windows
Build Status Build Status


sklearn-onnx converts scikit-learn models to ONNX. Once in the ONNX format, you can use tools like ONNX Runtime for high performance scoring.


Full documentation including tutorials is available at

You may also find answers in existing issues or submit a new one.


You can install from PyPi:

pip install skl2onnx

Or you can install from the source with the latest changes.

pip install git+

If you install sklearn-onnx from its source code, you must set the environment variable ONNX_ML=1 before installing the onnx package.


We welcome contributions in the form of feedback, ideas, or code.


MIT License