Skip to main content

safetensors

safetensors

  • Data & retrieval
  • Stage 5 · Running It
  • refs checked 2026-11-09
What problem it solves

A safer file format for model weights.

What it is
The official description: a simple format for storing tensors safely (as opposed to pickle) that is still fast (zero-copy). The docs state pickle is unsafe and runs arbitrary code; the format supports lazy loading.
Why it matters

Loading untrusted weights is running someone else's code. Check the format first.

Sources
  • safetensors repository ↗
Use this term in a task

Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

Task handbooks → · Filter three candidates →