BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

safetensors

v0.7.0crates.io· Rust

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.

The verdict
Aging — last published 6 months ago — check before adopting. Check the repo for activity before adopting.
Check the repo for activity before adopting.
Live from the crates.io registry · derived rules, not AI
How it scores
MaintenanceAging
PopularityWidely used
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published 6 months ago — check before adopting.
Popularity
397K downloads / week
Security
No known advisories for this version (OSV).
License
Apache-2.0
Dependencies
No runtime dependencies
Recent releases
  • 0.7.06 months ago
  • 0.6.210 months ago
  • 0.6.110 months ago
  • 0.6.011 months ago
  • 0.5.3over a year ago
  • 0.5.2over a year ago
  • 0.5.1over a year ago
  • 0.5.0over a year ago
safetensors — 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. (Rust / crates.io) — verdict, alternatives & security · Modules