AI Potluck
Infrastructure / Core ML frameworks & libraries

Safetensors

Hugging Face

Safetensors is a file format and library for storing and loading tensors safely, designed as an alternative to Python pickle that avoids arbitrary code execution and supports fast zero-copy loading. It is implemented in Rust with Python bindings and works across PyTorch, TensorFlow and other frameworks. Hugging Face maintains it and publishes model weights in it.

Verified 2026-08-13 via GitHub and the LICENSE body.

Openness

5 high confidence
5.0
license
Apache-2.0(OSI)
source
public
core-gated
ungated

LICENSE body is verbatim Apache License 2.0; full Rust/Python source public. The repository is public and unarchived, and the README describes the whole library with no paid, enterprise or hosted tier beside it, so source is public and the core ungated.

Adoption

5 high confidence
5.0

111,835,984 PyPI downloads of `safetensors` in the trailing 30 days, which falls in the top band of the software usage scale, over 10M a month, level 5.

Capability

4 high confidence
4.0

Narrow scope (storage format) but central as the default Hub weight format.

Verified 2026-08-13