safetensors python library

safetensors

Subscription: Developer
Last updated 9 days ago
Active
Subscription: Developer

Provides functions to save and load tensors using a safe format in both NumPy and PyTorch. Supports saving dictionaries of arrays or tensors with specified keys and loading them back into memory for easy manipulation and storage.

pip install safetensors==0.8.0
  • 0.8.0
    Linux
    Last updated 9 days ago
  • 0.7.0
    Linux
    Last updated 10 days ago