tch
v0.26.0 GrowingRust wrappers for the PyTorch C++ api (libtorch).
Quick Verdict
- โActively maintained (updated 47d ago)
- !Pre-1.0: API may have breaking changes
- โMassive adoption (1.1K crates depend on it)
- โPermissive license (MIT/Apache-2.0)
Security
Deep Insights
972.1K downloads in the last 30 days (32.4K/day), up 23% from the previous period.
1.1K crates depend on tch. Strong ecosystem adoption means battle-tested code and long-term stability.
The primary maintainer publishes 66 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.
Despite being 7+ years old, tch hasn't reached 1.0 yet. Expect potential API changes between versions.
3.3MB is relatively large. May impact download and compile times.
Notable dependents include burn-tch, tfrecord, wasmtime-wasi-nn, rust-bert, show-image. When high-quality crates choose tch, it's a strong quality signal.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata