microsoft/hummingbird

Hummingbird compiles trained ML models into tensor computation for faster inference.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 35 minutes ago
Added to GitGenius on September 19th, 2026
Created on March 12th, 2020
Open Issues & Pull Requests: 76 (+0)
GitHub issues: Enabled
Number of forks: 291
Total Stargazers: 3,545 (+0)
Total Subscribers: 50 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.5 hours
Mean response time: 7.8 days
90th percentile: 53.8 days
Tracked items: 7

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 9
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 506 days
Stale 30+ days: 9
Stale 90+ days: 8

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • help wanted (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Hummingbird is a library for compiling trained traditional machine learning models into tensor computations.

The tool addresses the challenge of accelerating inference on traditional ML models by converting them into tensor operations that can run on neural network frameworks. Rather than rewriting models from scratch, Hummingbird reconfigures algorithmic operators to perform regular, vectorized computations suitable for GPU execution. For decision trees, the library employs strategies like GEMM-based translation, where tree traversal is implemented using matrix multiplications. This approach allows traditional models to benefit from optimizations built into frameworks like PyTorch while maintaining their original logic.

Hummingbird suits teams with trained scikit-learn, LightGBM, or XGBoost models who want faster inference without model re-engineering. It is particularly valuable when you need GPU acceleration or want to serve models through existing neural network infrastructure. The tool provides a uniform inference API following the scikit-learn convention, so swapping a traditional model for its Hummingbird-compiled version requires no changes to calling code. Models can be converted to PyTorch, TorchScript, ONNX, or TVM, enabling deployment through frameworks like TorchServe.

Development on the project shows consistent activity with regular commits and pull requests addressing bug fixes, feature additions, and model support expansion. The maintainers actively respond to issues and incorporate community contributions. The roadmap is publicly visible and updated to reflect planned work on additional backends and model types.