← all repositories

LaurentMazare/tch-rs

Rust bindings for PyTorch's C++ API (libtorch) enabling machine learning in Rust.

5.4k stars Rust ML Frameworks
tch-rs
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.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.