rustio rustio.net
62

tch

v0.24.0 Growing

Rust wrappers for the PyTorch C++ api (libtorch).

MIT/Apache-2.0 Edition 2021
Science #machine-learning#deep-learning#pytorch

Quick Verdict

  • โœ“Actively maintained (updated 1d ago)
  • !Pre-1.0: API may have breaking changes
  • โœ“Trusted by 854 crates
  • โœ“Permissive license (MIT/Apache-2.0)

Security

Checking security advisories...
Downloads
4.7M
Dependents
854
Releases
48
Size
3.0MB

Deep Insights

๐Ÿ“‰
Download decline

125.1K downloads in the last 30 days, down 28% from the previous period. May indicate migration to alternatives.

๐Ÿ”—
Moderate adoption

854 crates depend on tch. Reasonable ecosystem adoption, though not yet a core dependency.

๐Ÿ‘ค
Prolific maintainer

The primary maintainer publishes 58 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.

๐Ÿ”ฌ
Pre-1.0 for over a year

Despite being 7+ years old, tch hasn't reached 1.0 yet. Expect potential API changes between versions.

๐Ÿ“
Large crate size

3.0MB is relatively large. May impact download and compile times.

๐ŸŒŸ
Used by top crates

Notable dependents include tfrecord, burn-tch, wasmtime-wasi-nn, show-image, rust-bert. When high-quality crates choose tch, it's a strong quality signal.

Health Breakdown

Maintenance 20/25

Recency, release consistency, active ratio

Quality 11/25

Yanked ratio, deps, size, maturity, features

Community 13/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 10/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
5K/day avg-31%
05K10K15K20K12/291/162/32/213/113/28

Top Dependents

Version Adoption

v0.19.0
37%
v0.17.0
34%
v0.13.0
14%
v0.20.0
8%
v0.15.0
7%

Release Timeline

48 releases1 yankedsince 2019
J
F
M
A
M
J
J
A
S
O
N
D
2019
12
2020
6
2021
6
2022
7
2023
6
2024
6
2025
3
2026
2
Less
More|
Yanked

Feature Flags

doc-onlyrl-pythoncuda-testspython-extensiondownload-libtorch

README

Loading README...

Maintainers

Dependencies
16
direct dependencies
Dependents
854
crates depend on tch

Similar Crates