Decision Workspace
bintensors vs safetensors vs pystse-safetensors
Side-by-side comparison of Rust crates
Bintensors is a high-performance binary tensor serialization format designed to be faster eliminating use of JSON serialization metadata.
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.
Core Metrics
| bintensors | safetensors | pystse-safetensors | |
|---|---|---|---|
| Health Score | 42 | 70 | 36 |
| Total Downloads | 3.8K | 18.0M | 1.8K |
| 30d Downloads | 0 | 1.6M | 0 |
| Dependents | 0 | 2.9K | 1 |
| Releases | 6 | 22 | 1 |
| Last Updated | 439d ago | 34d ago | 811d ago |
| Age | 1y 3m | 3y 7m | 2y 2m |
Health Breakdown
Technical Details
| bintensors | safetensors | pystse-safetensors | |
|---|---|---|---|
| Version | 0.1.1 | 0.8.0 | 0.0.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | Apache-2.0 | Apache-2.0 |
| Dependencies | 10 | 8 | 5 |
| Crate Size | 29KB | 35KB | 14KB |
| Features | 4 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.85 | 1.80 | — |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •safetensors leads with a health score of 70/100, but none of the options score above 80.
- •safetensors is depended on by 2.9K crates — strongest ecosystem trust.
- •⚠ bintensors, pystse-safetensors have not been updated in over a year.