lleaves

Compiler for LightGBM gradient-boosted trees, based on LLVM. Speeds up prediction by ≥10x. (by siboehm)

Lleaves Alternatives

Similar projects and alternatives to lleaves

  • mljar-supervised

    Python package for AutoML on Tabular Data with Feature Engineering, Hyper-Parameters Tuning, Explanations and Automatic Documentation

  • ngboost

    - lleaves VS ngboost

    Natural Gradient Boosting for Probabilistic Prediction

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • miceforest

    Multiple Imputation with LightGBM in Python

  • m2cgen

    - lleaves VS m2cgen

    Transform ML models into a native code (Java, C, Python, Go, JavaScript, Visual Basic, C#, R, PowerShell, PHP, Dart, Haskell, Ruby, F#, Rust) with zero dependencies

  • zod

    1 lleaves VS zod

    TypeScript-first schema validation with static type inference

  • awesome-cold-showers

    For when people get too hyped up about things

  • catboost

    - lleaves VS catboost

    A fast, scalable, high performance Gradient Boosting on Decision Trees library, used for ranking, classification, regression and other machine learning tasks for Python, R, Java, C++. Supports computation on CPU and GPU.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better lleaves alternative or higher similarity.

lleaves reviews and mentions

Posts with mentions or reviews of lleaves. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-18.
  • Cold Showers
    4 projects | news.ycombinator.com | 18 Jun 2022
    I built this decision tree (LightGBM) compiler last summer: https://github.com/siboehm/lleaves

    It get's you ~10x speedups for batch predictions, more if your model is big. It's not complicated, it ended up being <1K lines of Python code. I heard a couple of stories like yours, where people had multi-node spark clusters running LightGBM, and it always amused me because by if you compiled the trees instead you could get rid of the whole cluster.

  • Tree compiler that speeds up LightGBM model inference by ~30x
    2 projects | /r/dataengineering | 22 Aug 2021
    For a few months now I've been working on a library (as a weekend project) for speeding up inference of LightGBM gradient boosted trees. It's ~30x faster than LightGBM and ~3x faster than other tree compilers. The interface is stable now and it's well tested. I'm looking for a few more users to figure out in which direction I should develop this further and which other libraries (apart from LightGBM) I should incorporate. Link: https://github.com/siboehm/lleaves
    2 projects | /r/dataengineering | 22 Aug 2021
    In a near-future version I'll expose some of the compilation parameters, I was somewhat afraid of having an API that's too complicated deterring people who just want a no-fuzz drop-in replacement for LightGBM. But as long as I keep sane defaults and have the parameters optional it should be fine. Relevant parameters are definitely block size (needs to adjust to L1i size and tree size) as well as the LLVM codemodel (a smaller adress space increases single-batch prediction speeds but doesn't work for large models). The thread-size specific compilation I'm still looking into, it makes the API more complicated and so might not be worth it.
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 28 Mar 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic lleaves repo stats
4
290
7.0
27 days ago

siboehm/lleaves is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of lleaves is Python.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com