RunInfraby RightNow
  • CatalogNew
  • Pricing
  • Research
  • Contact
DashboardSign inGet started
Home/Glossary/SafeTensors

Serving

SafeTensors

What it is

SafeTensors is a tensor checkpoint format with a metadata header and raw tensor data. It avoids arbitrary code execution during deserialization and supports memory-mapped access patterns.

Why it moves cost and latency

A data-only format narrows the trust boundary when loading external checkpoints. Mapping and predictable offsets can simplify loading, but they do not guarantee zero-copy device placement.

What it looks like in practice

Loaders validate offsets, data types, and shapes before exposing tensor views. Actual transfer behavior still depends on framework, storage, operating system, and destination device.

Related terms

  • FP8 quantization->
  • Model loading->
  • GGUF->

Questions this definition answers

What does SafeTensors mean in inference serving?

SafeTensors is a tensor checkpoint format with a metadata header and raw tensor data. It avoids arbitrary code execution during deserialization and supports memory-mapped access patterns. Loaders validate offsets, data types, and shapes before exposing tensor views. Actual transfer behavior still depends on framework, storage, operating system, and destination device.

Why can SafeTensors move cost or latency?

A data-only format narrows the trust boundary when loading external checkpoints. Mapping and predictable offsets can simplify loading, but they do not guarantee zero-copy device placement.

If you need custom optimization for a specific model, describe what you need

Describe the model and hardware you want optimized...
ModelsAuto engineAuto GPU
End-to-end encryption
Isolated GPU infrastructure
No training on your data
SOC 2 Type II
RunInfraby RightNow

© 2026 RunInfra. All rights reserved.

System status
Pipeline BuilderModelsCost CalculatorPricingStartupsBenchmarksDocsResearchNewsContact
Backed by
YCombinator
AICPA Type II
SOC 2
NVIDIA Inception ProgramNVIDIA Inception Program
Ask AI about RunInfra
Part of RightNow
SecurityDPAAUPCookiesTermsPrivacy