Decision Workspace
tpt-safetensors-io vs ztensor vs safecheckpoint
Side-by-side comparison of Rust crates
45
tpt-safetensors-io
experimentalv0.1.0
Memory-mapped safetensors reader/writer — zero-copy mmap, aligned header, builder API.
60
ztensor
stablev2.1.1
zTensor v2: an aligned, verifiable container format for tensor data
42
safecheckpoint
experimentalv0.1.4
A Rust-native ML model checkpoint library replacing torch.save() with zero-copy mmap-based serialization and parallel shard writes.
Core Metrics
| tpt-safetensors-io | ztensor | safecheckpoint | |
|---|---|---|---|
| Health Score | 45 | 60 | 42 |
| Total Downloads | 65 | 2.0K | 70 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1 | 15 | 0 |
| Releases | 1 | 11 | 4 |
| Last Updated | 87d ago | 66d ago | 63d ago |
| Age | 2m | 1y 4m | 2m |
Health Breakdown
tpt-safetensors-io
Maintenance
8
Quality
16
Community
7
Popularity
2
Documentation
12
ztensor
Maintenance
15
Quality
18
Community
11
Popularity
4
Documentation
12
safecheckpoint
Maintenance
10
Quality
12
Community
6
Popularity
2
Documentation
12
Technical Details
| tpt-safetensors-io | ztensor | safecheckpoint | |
|---|---|---|---|
| Version | 0.1.0 | 2.1.1 | 0.1.4 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 3 | 6 | 14 |
| Crate Size | 18KB | 87KB | 45KB |
| Features | 2 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.80.0 | 1.87 | 1.85 |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •ztensor leads with a health score of 60/100, but none of the options score above 80.
- •tpt-safetensors-io, safecheckpoint are pre-1.0 — API may change.