Giter Club home page Giter Club logo

Comments (4)

JohnZed avatar JohnZed commented on September 2, 2024 1

The RAPIDS Forest Inference Library has a treelite front end for GPU inference. See this blog post: https://medium.com/rapids-ai/rapids-forest-inference-library-prediction-at-100-million-rows-per-second-19558890bc35
The released version (0.10) supports XGBoost and LightGBM models, but the newest nightlies can work with treelite protobufs and sklearn RandomForest models as well. For large-batch inference, it's very very fast, though PCI transfers etc. start to add up if you do single-row inference or very small batches.

(Using treelite as a front-end has been awesome to support all these libraries - many thanks to Philip for his work here.)

from treelite.

hcho3 avatar hcho3 commented on September 2, 2024

@Denisevi4 Interesting suggestion. Only problem is the added latency due to PCIe transfer and kernel launch overhead. For now, we are focusing on getting the best throughput using desktop/server-grade CPUs, and getting a good throughput for small-ish batches (~100) requires low latency.

from treelite.

hcho3 avatar hcho3 commented on September 2, 2024

@Denisevi4 #67 may make GPU inference more practical. See the RapidScorer paper: https://www.kdd.org/kdd2018/accepted-papers/view/rapidscorer-fast-tree-ensemble-evaluation-by-maximizing-compactness-in-data

from treelite.

hcho3 avatar hcho3 commented on September 2, 2024

Please check out RAPIDS cuML, whose GPU-accelerated Forest Inference Library (FIL) integrates with Treelite. Thanks!

from treelite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.