ppc64le/linux/: fastsafetensors-0.4.0 metadata and description

Simple index

High-performance safetensors model loader

author_email Takeshi Yoshimura <[email protected]>
classifiers
  • Programming Language :: Python :: 3.10
  • Programming Language :: Python :: 3.11
  • Programming Language :: Python :: 3.12
  • Programming Language :: Python :: 3.13
  • Programming Language :: Python :: 3.14
  • Environment :: MetaData :: IBM Python Ecosystem
description_content_type text/markdown
dynamic
  • license-file
keywords fastsafetensors,safetensors,GDS
license Apache-2.0
license_file
  • LICENSE
maintainer_email Takeshi Yoshimura <[email protected]>
project_urls
  • Repository, https://github.com/foundation-model-stack/fastsafetensors
provides_extras
  • progress
  • test
  • dev
  • threefs
requires_dist
  • typer>=0.9.0
  • tqdm>=4.66.3; extra == "progress"
  • torch>=2.10.0; extra == "test"
  • pytest>=9.0.3; extra == "test"
  • pytest-cov>=5.0.0; extra == "test"
  • transformers>=5.0.0; extra == "test"
  • safetensors>=0.4.0; extra == "test"
  • pre-commit>=3.6.0; extra == "dev"
  • black==26.3.1; extra == "dev"
  • isort==6.1.0; extra == "dev"
  • flake8==7.3.0; extra == "dev"
  • mypy==1.19.1; extra == "dev"
  • fastsafetensor-3fs-reader>=0.3.3; extra == "threefs"
requires_python <3.15,>=3.10
File Tox results History
fastsafetensors-0.4.0-cp312-cp312-manylinux_2_39_ppc64le.whl
Size
275 KB
Type
Python Wheel
Python
3.12
fastsafetensors-0.4.0-cp313-cp313-manylinux_2_39_ppc64le.whl
Size
2 MB
Type
Python Wheel
Python
3.13
fastsafetensors-0.4.0-cp314-cp314-manylinux_2_39_ppc64le.whl
Size
276 KB
Type
Python Wheel
Python
3.14

fastsafetensors

fastsafetensors is an efficient safetensors loader. If you develop your own code that loads large safetensors files, you can try fastsafetensors APIs (see docs). For example, vLLM and SGLang have --load-format fastsafetensors command-line argument to speed up their initialization.

This library supports Linux/CUDA, ROCm, Windows, 3FS, unified-memory systems such as DGX Spark, and so on. We welcome more platform/storage-specific optimizations like them by adding new copier backends. Our CI tests Python 3.10-3.14 with PyTorch 2.11.0.

Performance Highlights

Performance highlights from the CLOUD 2025 paper and benchmark docs:

Quick Start

pip install fastsafetensors
pip install vllm # for quick demo
vllm serve Qwen/Qwen3-0.6B --load-format fastsafetensors
...
Loading safetensors using Fastsafetensor loader:   0% Completed | 0/1 [00:00<?, ?it/s]
Loading safetensors using Fastsafetensor loader: 100% Completed | 1/1 [00:00<00:00,  1.23it/s]

Design Details

See Overview for features, basic API usage, and configuration.

Code of Conduct

Please refer to Foundation Model Stack Community Code of Conduct.

Development

See Development.

Publication

Takeshi Yoshimura, Tatsuhiro Chiba, Manish Sethi, Daniel Waddington, Swaminathan Sundararaman. (2025) Speeding up Model Loading with fastsafetensors arXiv:2505.23072 and IEEE CLOUD 2025.

Export Classification Notice

The software hosted on this website consists of publicly available open‑source packages. To the extent U.S. export regulations apply, software that is publicly available as described in 15 C.F.R. §§ 734.7 (for non-encryption software) or 742.15(b) (for encryption software) is not subject to the Export Administration Regulations (EAR). Users are responsible for complying with all applicable export laws and regulations.