Latest / Developer tools

Timber

github.com · Open source · Maintained

Compiles classical ML models into native C99 inference code

Visit github.com ↗Share

Stars
692
Forks
23
Open issues
1
Last commit
Releases
4
Found
9 months ago

GitHub figures as of . They are context, not a ranking.

Timber is an ahead-of-time compiler that turns XGBoost, LightGBM, scikit-learn, CatBoost, and ONNX models into native C99 inference code. It also provides a command to serve models, and the repository reports large speedups over Python inference. It suits engineers deploying tabular models in low-latency or embedded settings.

Repository description on GitHub: “Ollama for classical ML models. AOT compiler that turns XGBoost, LightGBM, scikit-learn, CatBoost & ONNX models into native C99 inference code. One command to load, one command to serve. 336x faster than Python inference.”

What it does

  • Compiles XGBoost, LightGBM, scikit-learn, CatBoost and ONNX models to C99
  • Generates native C99 inference code for each model
  • Includes a command to serve compiled models
  • Reports large speedups over Python inference

Good for

  • Deploy a tabular model in a low-latency service
  • Run gradient-boosted models on an embedded device

Suits: Engineers deploying tabular ML models in low-latency settings.

What you can try

Read the README on GitHub and install from source.

Install

pip install timber-compiler

Taken from the project’s README. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Timber on , when kossisoroyce posted it to Show HN. The oldest published release on GitHub is v0.2.0, dated . Its first tagged release came 2 days after it was found. 4 releases have been published in total; the latest is v0.6.0 ().

Day-7 and day-30 updates

Day 7 2 releases shipped

  • 2 releases in the first 7 days: v0.2.0 (3 Mar 2026), v0.4.0 (4 Mar 2026)
  • Show HN discussion at check time: 207 points, 33 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 3 releases shipped

  • 3 releases in the first 30 days: v0.2.0 (3 Mar 2026), v0.4.0 (4 Mar 2026), v0.5.0 (13 Mar 2026)
  • Show HN discussion at check time: 207 points, 33 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (4 in total, busiest month 3).
  1. Repository created on GitHub: kossisoroyce/timber
  2. Found: kossisoroyce posted it to Show HN. Show HN
  3. Release v0.2.0
  4. Release v0.4.0
  5. Release v0.5.0
  6. Release v0.6.0
  7. Day-7 check recorded by Kip (details)
  8. Day-30 check recorded by Kip (details)

Quick answers

When was Timber released?
Its first tagged release on GitHub is dated 3 Mar 2026. Kip found it on Show HN on 2 Mar 2026.
Is Timber open source?
Its source is public on GitHub at kossisoroyce/timber; check the repository for licence terms.
What does Timber run on?
Command line.
Is Timber free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Timber still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorykossisoroyce/timber
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-47212576. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.