$npx skillfedfor your agent

treelite-runtime

Treelite runtime

With conditionsPyPI Artificial IntelligenceReleased Sep 2023165.2K downloads / moApache-2.0Platform wheel

Decision gist · record as of 2026-08-14

platform wheels — treelite_runtime-3.9.1-py3-none-macosx_10_15_x86_64.macosx_11_0_x86_64.macosx_12_0_x86_64.whl · treelite_runtime-3.9.1-py3-none-macosx_12_0_arm64.whl · treelite_runtime-3.9.1-py3-none-manylinux2014_x86_64.whl
v3.9.1 · released 2023-09-13 · Python >=3.7 · 2 runtime deps: numpy, scipy

Yes, if you have a pre-compiled Treelite model and need fast, portable inference in Python. The package is stable, permissively licensed, and actively maintained. Install friction is moderate due to platform-specific wheels, but that is handled transparently by pip. Not useful without an existing Treelite model file.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a pre-compiled Treelite model file (.so on Linux/macOS, .dll on Windows); the runtime does not compile or train models, only executes them.
  • Medium install friction due to platform-specific wheels across macOS, Linux, and Windows.
  • Active maintenance with last commit on 2026-08-12 and production-stable status; latest release was 2023-09-13, indicating a mature package with stable API.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions beyond attribution and liability disclaimers.

last release 2023-09-13 (1066 days) · last repo commit 2026-08-12 · 828 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 165,158 downloads/mo, #10,529 on PyPI

Verify before relying

pip install treelite-runtime
import treelite_runtime
predictor = treelite_runtime.Predictor('model.so')
predictions = predictor.predict(data)
  • Whether the package works with current versions of numpy and scipy beyond the stated Python 3.7–3.8 classifier support.
  • Performance characteristics and typical inference latency compared to other tree runtime formats.
  • Whether model files from older Treelite versions remain compatible with runtime 3.9.1.
Same gist for agents: .md · .json

What it is and what it does

Treelite-runtime is a Python wrapper around a C++ runtime for executing decision tree forest models. It loads pre-compiled tree models serialized in Treelite's universal format and performs inference on new data. The package is designed to be lightweight and fast, relying on numpy and scipy for numerical operations.

The runtime does not train or compile models—it only executes them. Users must first export a tree model to Treelite's serialized format using the main Treelite library, then load and run predictions with this runtime package. It is primarily useful for production inference pipelines where model serving speed and portability across platforms matter.

Use it for

  • Serving tree-based models in production with low-latency inference requirements.
  • Deploying models across heterogeneous platforms (Linux, macOS, Windows) using a single serialized format.
  • Embedding fast tree inference in Python applications without retraining or recompiling models.
  • Benchmarking or comparing inference performance of tree models across different runtime implementations.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you have a pre-compiled Treelite model and need fast, portable inference in Python.

The package is stable, permissively licensed, and actively maintained. Install friction is moderate due to platform-specific wheels, but that is handled transparently by pip. Not useful without an existing Treelite model file.

Install

treelite-runtime on PyPI

Before you install

Medium install friction due to platform-specific wheels across macOS, Linux, and Windows. Active maintenance with last commit on 2026-08-12 and production-stable status; latest release was 2023-09-13, indicating a mature package with stable API.

Requires a pre-compiled Treelite model file (.so on Linux/macOS, .dll on Windows); the runtime does not compile or train models, only executes them.

License in practice

Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions beyond attribution and liability disclaimers.

Quickstart

pip install treelite-runtime
import treelite_runtime
predictor = treelite_runtime.Predictor('model.so')
predictions = predictor.predict(data)

Verify before relying

  • Whether the package works with current versions of numpy and scipy beyond the stated Python 3.7–3.8 classifier support.
  • Performance characteristics and typical inference latency compared to other tree runtime formats.
  • Whether model files from older Treelite versions remain compatible with runtime 3.9.1.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.7
Install frictionMedium. Platform-specific wheel
Runtime dependencies
2 packages
numpyscipy
MaintenanceActively maintained 1,066 days since the last release
Last repo commit
First released
Downloads165,158 / month, #10,529 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8

Evidence: treelite_runtime-3.9.1-py3-none-macosx_10_15_x86_64.macosx_11_0_x86_64.macosx_12_0_x86_64.whl; treelite_runtime-3.9.1-py3-none-macosx_12_0_arm64.whl; treelite_runtime-3.9.1-py3-none-manylinux2014_x86_64.whl; treelite_runtime-3.9.1-py3-none-win_amd64.whl

Tags

Capabilities
decision tree model inferencetree forest runtimemodel serialization formatfast tree predictiontreelite model execution
Topics
model-inferencetree-ensembleproduction-ml

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “decision tree model inference”

  • treelite-runtimeTreelite-runtime provides a Python runtime for loading and executing…
  • treeliteTreelite serializes and exchanges decision tree forest models in a…
  • dtreevizdtreeviz renders decision trees from scikit-learn, XGBoost, LightGBM,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also treelite · treeinterpreter · py_trees · tensorflow-decision-forests · dtreeviz · ydf · quantile-forest · onnxruntime · coremltools · sklearn2pmml