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

Not currently ranked — collecting fresh signals.
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.
Frequently asked
- What is LaurentMazare/tch-rs?
- Rust bindings for PyTorch's C++ API (libtorch) enabling machine learning in Rust.
- Is tch-rs open source?
- Yes — LaurentMazare/tch-rs is open source, released under the Apache-2.0 license.
- What language is tch-rs written in?
- LaurentMazare/tch-rs is primarily written in Rust.
- How popular is tch-rs?
- LaurentMazare/tch-rs has 5.5k stars on GitHub.
- Where can I find tch-rs?
- LaurentMazare/tch-rs is on GitHub at https://github.com/LaurentMazare/tch-rs.