aotinductor-rs
Rust bindings for pytorch AOTInductor.
Build
This crate requires the libtorch in the same version as tch-rs. You need to set the environment variable LIBTORCH to the path to folder of the library.
- If you are using pytorch, then the path is in the site-packages folder:
.../lib/python3.xx/site-packages/torch/ - If you have downloaded a libtorch, then the path is where you unpackaged the library.
Getting Started
use ModelPackage;
use Tensor;
if let Some = new ;