Compiler for trained ML models into tensor computation
Top 14.3% on sourcepulse
Hummingbird compiles traditional machine learning models (scikit-learn, LightGBM, XGBoost) into tensor computations, enabling faster inference through neural network framework optimizations and hardware acceleration. It targets ML engineers and researchers seeking to unify their ML model serving infrastructure without re-engineering existing models.
How It Works
Hummingbird reconfigures model operators into tensor computations, primarily using matrix multiplications (GEMM) for decision tree traversal. This approach allows for vectorized and GPU-accelerated execution by transforming algorithmic steps into regular tensor operations, abstracting away the underlying hardware specifics.
Quick Start & Requirements
python -m pip install hummingbird-ml
or python -m pip install hummingbird-ml[extra]
for LightGBM/XGBoost.Highlighted Details
inference
API consistent with scikit-learn.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The TVM backend is restricted to Python 3.10. Support for additional backends and model types is planned for future releases.
2 weeks ago
1 day