rustio rustio.net
59

tch

v0.26.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 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

Checking security advisories...
Downloads
8.0M
Dependents
1.1K
Releases
49
Size
3.3MB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

972.1K downloads in the last 30 days (32.4K/day), up 23% from the previous period.

๐Ÿ”—
Widely adopted

1.1K crates depend on tch. Strong ecosystem adoption means battle-tested code and long-term stability.

๐Ÿ‘ค
Prolific maintainer

The primary maintainer publishes 66 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.3MB is relatively large. May impact download and compile times.

๐ŸŒŸ
Used by top crates

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

Maintenance 17/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
7K/day avg-100%
020K40K60K8/239/109/2810/1611/311/20

Top Dependents

Version Adoption

v0.17.0
32%
v0.19.0
30%
v0.24.0
14%
v0.20.0
14%
v0.22.0
11%

Release Timeline

10 releasessince 2024
J
F
M
A
M
J
J
A
S
O
N
D
2024
4
2025
3
2026
3
Less
More

Feature Flags

doc-onlyrl-pythoncuda-testspython-extensiondownload-libtorch

README

Loading README...

Maintainers

Dependencies
16
direct dependencies
Dependents
1.1K
crates depend on tch

Similar Crates