safetensors

cargov0.7.0

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.

License Apache-2.021 versions0 deps4,983,160 weekly dl
huggingface/safetensors
69
/ 100
Health
safe to use

[email protected] is safe to use (health: 69/100)

Health breakdown0 – 100
15/25
maintenance
17/20
popularity
25/25
security
12/15
maturity
0/15
community
Vulnerabilities
0
none known

Health History

Dependency Tree

License Audit

API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/cargo/safetensors

First published · 2022-12-13T14:10:22.035486Z

Last updated · 2025-11-19T15:14:57.482050Z

safetensors — Health Score 69/100 | DepScope | DepScope