OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Infrastructure & Serving

Timber

Timber is an ahead-of-time compiler and serving tool that turns supported trained machine-learning models into native inference code and exposes loaded models through a REST API.

Independent OpenViST project profile, based on linked sources.

Timber — The documented load, compile, serve and query workflow for supported model files
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Timber when you have a supported trained model file and want to compile it for native inference, then serve it through the documented local REST API.

Who it is for

  • Developers with trained XGBoost, LightGBM, scikit-learn, CatBoost or ONNX models who need a documented local serving workflow.
  • Teams evaluating compiled C inference for a supported model rather than running model inference through a Python runtime.

Documented uses

  • Compile a supported trained model file into C99 and a native shared library.
  • Start a local server for a named compiled model.
  • Submit inputs to the local prediction endpoint and receive model outputs.
Before you choose

Requirements & limits

The getting-started documentation provides a Python package installation workflow and starts a local server on port 11434.

  • The getting-started workflow requires Python 3.10 or later and a C compiler.
  • Supported model formats listed in the documentation include XGBoost, LightGBM, scikit-learn, CatBoost and ONNX.
  • The basic serving workflow is local; the inference call runs through compiled C while Python handles the HTTP layer.
  • The documentation lists additional output targets, but those are separate from the local native-library walkthrough.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Compile and serve a trained model through the local API

Load a supported trained model, start Timber's local server and request a prediction.

Before you start

  • Python 3.10 or later
  • A C compiler such as GCC or Clang
  • A trained XGBoost, LightGBM, scikit-learn, CatBoost or ONNX model file

Steps

  1. Install Timber with the command below.

    Documented command
    pip install timber-compiler
  2. Load the model and assign it a name with timber load model.json --name my-model.

  3. Start serving it with timber serve my-model.

  4. Send JSON inputs to http://localhost:11434/api/predict using the documented model and inputs fields.

Expected outcome

A named compiled model is served locally and accepts prediction requests through a REST API.

Guide limitations

  • The documented request uses a local server and a model already available as a file.
  • Model support depends on the listed framework formats and file types.
COMPARE OPTIONS

Compare options for Model inference and serving

These projects document a common task and share a project role. This is a source-based comparison, not an execution benchmark or a guarantee of interchangeability.

ProjectDocumented purposePlatformAccess and requirements
TimberCompile a supported trained model file into C99 and a native shared library.Linux, Windows, macOS, Server, Self-hostedThe getting-started documentation provides a Python package installation workflow and starts a local server on port 11434.
GlydReduce the GPU memory footprint of supported LLM inference deployments.Linux, CLI, ServerThe repository states that versions from v0.29.0 are under BUSL-1.1: personal and non-commercial use is free, while commercial use needs a license. Each version becomes Apache-2.0 four years after release; earlier versions retain their release-specific licenses.
kalavai-net.github.ioCreate a shared pool from GPU capacity on multiple machines.Cloud, Self-hostedThe project is described as open source. Its client is a Python CLI program.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
23 October 2026
Original website title
Home | Timber · Official homepage title · retained in its source language