v0.1.0
First release of executorch-rs
!
The crate provides a high-level Rust API for executing PyTorch models on mobile, embedded and edge devices using the ExecuTorch library, specifically the C++ API. PyTorch models are created and exported in Python, and then loaded and executed on-device using the ExecuTorch library.
The first release contains support for the core of ExecuTorch, allowing loading and executing models with either the Program
or the Module
APIs.
In addition all the necessary structs and classes such as TensorImpl
, Tensor
, EValue
, DataLoader
, ect, have a matching struct in Rust with zero additional memory overhead.
The supported C++ version is 0.2.1
, and the user must build it manually, which is less convenient but allow for greater flexibility, matching the library use case: each compilation matches a specific hardware with specific constraints, allowing to run in embedded systems, while paying only for what you use.
The next release will come in the following weeks bumping the Cpp library to version 0.3.x
.