safetensors python library

safetensors

Subscription: Developer
Last updated a month 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.7.0
  • 0.7.0
    Linux
    Last updated a month ago