Skip to content

Safetensors

Safetensors is a new simple format for storing tensors safely (as opposed to pickle) and that is still fast (zero-copy). Safetensors is really fast.

This variant of Safetensors is installed with support for numpy and PyTorch

homepage: https://huggingface.co/docs/safetensors

Available installations

Safetensors version Supported CPU targets Supported GPU targets EESSI version Module
0.4.3 generic: aarch64, x86_64
Arm: a64fx, neoverse_n1, neoverse_v1, nvidia/grace
AMD: zen2, zen3, zen4
Intel: haswell, skylake_avx512, sapphirerapids, icelake, cascadelake
(none) 2023.06 Safetensors/0.4.3-gfbf-2023a

Extensions

Overview of extensions included in Safetensors installations

safetensors

safetensors version Safetensors modules that include it
0.4.3 Safetensors/0.4.3-gfbf-2023a