LaurentMazare/tch-rs
Rust bindings for PyTorch's C++ API (libtorch) enabling machine learning in Rust.

Velocity · 7d
+2.0
★ / day
Trend
→steady
star history
This crate provides thin wrappers around the PyTorch C++ API (libtorch), allowing Rust developers to access deep learning functionality. It aims to stay close to the original C++ API while enabling idiomatic Rust usage for neural network development. The project requires libtorch v2.11.0 and supports CPU and CUDA builds.