Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

safetensors

Safe and fast serialization format for machine learning model tensors used by Hugging Face and PyTorch.

ML and data sciencePYPI

GitHubWebsite

1. License

License from PyPI classifier.

github.com/huggingface/safetensors

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What safetensors does

Safe and fast serialization format for machine learning model tensors used by Hugging Face and PyTorch.

safetensors popularity

67 / 100
Gid Score, #540 overall
22.3M
downloads a week, pypi
3,991
GitHub stars
21
agent projects use it
safetensors: downloads per weekPyPI, safetensors 22,224,858
safetensors: GitHub starshuggingface/safetensors 3,991

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How safetensors is used

  • safetensors is a dependency in 21 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (1.3% of the 1,623 Python ones), #22 of 293 in ml and data science.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 405; those are left out of every share on this page.
  • Projects that use it most often also use Hugging Face Transformers (95.2%), NumPy (85.7%), PyTorch (85.7%).

By coding agent

13 projects, 0.4%
13 projects, 0.4%
5 projects, 0.2%

Often used with

In 95.2% of its projects
In 85.7% of its projects
In 85.7% of its projects
In 81.0% of its projects
In 71.4% of its projects
In 71.4% of its projects
In 66.7% of its projects
In 66.7% of its projects

More about safetensors

More in ML and data science

Alternatives

safetensors This page

Apache-2.0Gid 6722.3M/wk

Compare safetensors with another tool

Get started

Install it.

pip install safetensors

No step-by-step start for safetensors yet: we have not written its hand-checked card.