Integrating machine learning models into Rust applications?

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

Our great sponsors
  • Revelo Payroll - Free Global Payroll designed for tech teams
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • SonarLint - Clean code begins in your IDE with SonarLint
  • tch-rs

    Rust bindings for the C++ api of PyTorch.

    This depends greatly on the kind of model you're talking about. For example, for pytorch, you can use the tch-rs package to load up a model you've saved. I do this; it's a little awkward because of the way the build manages the bindings to the torch library, but it works. But there are many many kinds of model, and the specific thing you're trying to accomplish is going to dominate this discussion. Perhaps you can clarify more what you're hoping to accomplish?

  • tvm

    Open deep learning compiler stack for cpu, gpu and specialized accelerators

    (2) You could use TVM as your executor instead of tch-rs: https://github.com/apache/tvm/tree/main/rust/tvm

  • Revelo Payroll

    Free Global Payroll designed for tech teams. Building a great tech team takes more than a paycheck. Zero payroll costs, get AI-driven insights to retain best talent, and delight them with amazing local benefits. 100% free and compliant.

  • rust

    Rust language bindings for TensorFlow (by tensorflow)

    (3) You could use TensorFlow as your executor: https://github.com/tensorflow/rust

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