Decision Workspace
pystse-safetensors vs safetensors vs bintensors
Side-by-side comparison of Rust crates
Provides functions to read and write safetensors which aim to be safer than their PyTorch counterpart. The format is 8 bytes which is an unsized int, being the size of a JSON header, the JSON header refers the `dtype` the `shape` and `data_offsets` which are the offsets for the values in the rest of the file.
Provides functions to read and write safetensors which aim to be safer than their PyTorch counterpart. The format is 8 bytes which is an unsized int, being the size of a JSON header, the JSON header refers the `dtype` the `shape` and `data_offsets` which are the offsets for the values in the rest of the file.
Bintensors is a high-performance binary tensor serialization format designed to be faster eliminating use of JSON serialization metadata.
Core Metrics
| pystse-safetensors | safetensors | bintensors | |
|---|---|---|---|
| Health Score | 36 | 68 | 43 |
| Total Downloads | 1.7K | 11.0M | 3.7K |
| 30d Downloads | 21 | 2.4M | 10 |
| Dependents | 1 | 1.3K | 0 |
| Releases | 1 | 21 | 6 |
| Last Updated | 703d ago | 128d ago | 331d ago |
| Age | 1y 11m | 3y 3m | 11m |
Health Breakdown
Technical Details
| pystse-safetensors | safetensors | bintensors | |
|---|---|---|---|
| Version | 0.0.1 | 0.7.0 | 0.1.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | Apache-2.0 | MIT |
| Dependencies | 5 | 6 | 10 |
| Crate Size | 14KB | 31KB | 29KB |
| Features | 0 | 3 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | 1.80 | 1.85 |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •safetensors leads with a health score of 68/100, but none of the options score above 80.
- •safetensors is depended on by 1.3K crates — strongest ecosystem trust.
- •⚠ pystse-safetensors has not been updated in over a year.