In this article
The reported loader speedup does not equal full server-startup acceleration. GDS is optional, and storage topology can change which path wins.
Starting a large language model begins well before answering a request: its weights must first be read from storage and placed in accelerator memory. Even with files already on local SSDs, this stage can occupy a substantial part of a cold start. The Python library fastsafetensors accelerates SafeTensors loading by aggregating transfers and creating tensor objects after their data reaches GPU memory. It retains the existing file format and can use NVIDIA GPUDirect Storage (GDS) when the environment supports it.
IBM researchers describe the method in Speeding up Model Loading with fastsafetensors, published for IEEE CLOUD 2025. The arXiv preprint appeared on May 29, 2025. The authors report a 4.8–7.5-fold standalone-loader speedup on selected models against their SafeTensors baseline. This is the result of particular experiments, rather than a promise for every server. arXiv record, full paper.
From file to tensors
The vLLM loading-strategy guide compares ordinary reading paths. SafeTensors stores a header containing tensor names, types, shapes and offsets, followed by tensor data. In the conventional path examined by the authors, software maps a file into host memory, obtains individual tensors, slices them where needed and copies them to GPUs. Numerous relatively small operations, filesystem-cache work and object creation can prevent a large model from fully utilizing fast storage. None of this requires changing the file format. Format and author analysis.
Fastsafetensors uses file-layout metadata to transfer large contiguous groups of tensors into device memory first. It then creates tensor views over those buffers using DLPack, avoiding a separate copy for every tensor merely to instantiate an object. Transfers can run concurrently. With multiple GPUs, files are assigned to devices, after which collective operations distribute and shard the needed weights. This moves some weight preparation onto accelerators, while requiring GPU-to-GPU communication and temporary memory. Algorithm.
“Direct” needs qualification. Enabled and correctly configured GDS can transfer between storage and GPU memory without intermediate host-memory buffering. The library also works without GDS, using ordinary file operations and RAM bounce buffers. Copies can still occur within GPU memory, for example to correct alignment or convert types. Fastsafetensors therefore does not remove every copy from every execution path. GDS and fallback mechanisms, project documentation.
What the authors measured
The standalone-loader experiment used Llama-7B and 13B on one GPU, Falcon-40B on two, Llama-70B on four and Bloom-176B on eight. Its baseline was safetensors 0.4.3 using mmap, loading tensor slices into host memory before copying them to the corresponding GPUs. The server had 1.2 TB of RAM, two NUMA nodes, eight NVIDIA A100 GPUs with 80 GB each and four NVMe SSDs used in the main experiment. Files were distributed across drives beforehand to balance process I/O. Experimental conditions.
The reported 4.8–7.5-fold improvement concerns this standalone loader against that baseline. For Llama-70B on four GPUs, NVMe reading reached 26.4 GB/s with GDS and 25.8 GB/s without it. These are storage-read rates in one configuration, rather than guaranteed end-to-end model-startup throughput. The authors attribute most storage-utilization improvement to aggregating reads; GDS additionally reduced host-resource use. Results and analysis.
The authors separately modified vLLM and compared startup using the upstream project as of March 3, 2025. Llama-2-13B on four L40S GPUs started in 12.39 seconds with the baseline and 4.74 seconds with fastsafetensors. On one A100, the figures were 16.04 and 6.88 seconds. These measure vLLM startup rather than repeating the standalone-loader experiment. Applying the 4.8–7.5-fold range to the complete server start would be incorrect. The work does not establish identical results for every current vLLM release or model. Paper Table II.
Independent evidence and limitations
Results depend on both the baseline and the infrastructure. In particular, record OS file-cache state separately. In a 2026 Swiss AI Research Platform study, Llama-3.1-70B was loaded through SGLang 0.5.10 on one Bristen node with tensor parallelism across four devices; weights resided on HDD-backed Lustre. Weight loading took 453.7 seconds with the default mmap path, 59.1 seconds with fastsafetensors and 45.7 seconds with mmap disabled in SGLang. The researchers warn that storage contention and node differences create substantial variability. This is an independent comparison on different infrastructure, rather than reproduction of IBM’s local-NVMe and vLLM experiment. Swiss AI report.
GDS has its own driver, library, filesystem and device-placement requirements. In IBM’s experiment, accessing a GPU across the other NUMA node degraded GDS performance. For Bloom, GDS also delivered a lower storage-read rate than the non-GDS path in their configuration. Nevertheless, GDS can reduce CPU and host-memory contention when other jobs run concurrently. Both modes should be evaluated on the actual topology. Topology and colocated-workload experiments.
The library is relevant to teams frequently starting or scaling inference servers, switching large models or recovering after failures. Those are situations where shorter weight loading can materially reduce readiness delays. It does not promise faster token generation after startup. The project repository provides Python APIs and a vLLM example using --load-format fastsafetensors, and also identifies SGLang support. Practical evaluation should include complete startup time, peak memory consumption, output correctness and alternative loaders on the intended storage system.
Sources
- Yoshimura and colleagues, Speeding up Model Loading with fastsafetensors — design and author experiments.
- Fastsafetensors repository — code, documentation and integration examples.
- Swiss AI Research Platform, servekit: Fast LLM weights loading from Lustre datastores — independent loader comparison on Lustre.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.