How far along is the ML ecosystem with Rust?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • linfa

    A Rust machine learning framework.

    I'm working on machine learning in Rust at Tangram. We currently only provide an implementation of linear models and gradient boosted decision trees but will move into exposing training of deep models in the future. You can check out Tangram here: https://github.com/tangramdotdev/tangram. You may also be interested in checking out Linfa https://github.com/rust-ml/linfa. If you're interested in the future of machine learning in Rust, check out Luca Palmieri's blog post: https://www.lpalmieri.com/posts/2019-12-01-taking-ml-to-production-with-rust-a-25x-speedup/

  • tract

    Tiny, no-nonsense, self-contained, Tensorflow and ONNX inference

    tract is an ONNX runner written purely in Rust which will work for most Neural Network inference use cases.

  • 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.

  • tangram

    Discontinued Tangram makes it easy for programmers to train, deploy, and monitor machine learning models.

    I'm working on machine learning in Rust at Tangram. We currently only provide an implementation of linear models and gradient boosted decision trees but will move into exposing training of deep models in the future. You can check out Tangram here: https://github.com/tangramdotdev/tangram. You may also be interested in checking out Linfa https://github.com/rust-ml/linfa. If you're interested in the future of machine learning in Rust, check out Luca Palmieri's blog post: https://www.lpalmieri.com/posts/2019-12-01-taking-ml-to-production-with-rust-a-25x-speedup/

  • tch-rs

    Rust bindings for the C++ api of PyTorch.

    For deep learning, the Torch binding (tch-rs) are quitte good and will let you both load a model from python and train your own model from scratch in Rust.

  • friedrich

    A Rust implementation of Gaussian Process regression.

    For other algorithms, there is not yet a single library to rule them all (linfa might become that at some point) but searching for the algorithm you need on crate.io is likely to give you some results (obligatory plug to Friedrich, my gaussian process implementation).

  • 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 more popular project.

Suggest a related project

Related posts