3 ms·
PyTorch has libtorch as its purely native library. There are also Rust bindings for libtorch: https://github.com/LaurentMazare/tch-rs https://github.com/Lauren
by microtonal 4y ago
PyTorch has libtorch as its purely native library. There are also Rust bindings for libtorch:
https://github.com/LaurentMazare/tch-rs https://github.com/LaurentMazare/tch-rs
I used this in the past to make a transformer-based syntax annotator. Fully in Rust, no Python required:
https://github.com/tensordot/syntaxdot https://github.com/tensordot/syntaxdot