NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

FlowLoader: an efficient large language model loader via parallel transmissions and local multi-tier caching

Jun Yin, Fei Wu, Shihao Li, Peng HuangJournal of Supercomputing 2025

Abstract

The loading of Large Language Models (LLMs) from storage to GPUs presents a significant "cold-start" bottleneck, often taking seconds to minutes. We present FlowLoader, a model loader that leverages multi-tier local caching and parallel communication pipeline optimization. By treating a server's internal hardware—including PCIe, NVLink, and RAM—as a coordinated network, FlowLoader achieves up to 10x faster startup speeds. Our key innovations include an asynchronous pipeline transporter using task stealing and affinity domain awareness, alongside a co-designed multi-tier caching system.

Introduction

In multi-tenant cloud environments and serverless AI architectures, GPU resources are frequently reclaimed when idle to minimize costs. Consequently, subsequent requests for a model trigger a "cold start," requiring the transfer of tens or hundreds of gigabytes of model weights from persistent storage (SSD) to GPU memory (VRAM). Current industry-standard loaders, such as those in PyTorch or Safetensors, are often inefficient for this task, relying on synchronous processes that fail to saturate high-speed interconnects like NVLink. When traffic bursts, these delays lead to unacceptable latency for end-users.

FlowLoader Architecture

FlowLoader transforms the model-loading process into a high-speed "flow" through two primary innovations:

Asynchronous Pipeline Transporter

FlowLoader abstracts hardware components (SSDs, CPUs, GPUs) as "actors" in a graph.

  • Affinity Domains: Using a Breadth-First Search (BFS) algorithm, the system determines the most direct path for data based on hardware "affinity," ensuring optimal routing.
  • Task Stealing: To mitigate congestion, FlowLoader allows underutilized links to "steal" data chunks and act as relays. For instance, an idle GPU's PCIe lane can pull data from the CPU, which is then transferred to the target GPU via the significantly faster NVLink.

Multi-Tier Local Caching

The system manages a three-tier hierarchy to accelerate data accessibility:

  • Tier 1 (GPU VRAM): Static caching for active model layers.
  • Tier 2 (CPU DRAM): Dynamic buffering.
  • Tier 3 (SSD): Persistent storage. When a model is unloaded, its layers persist as "static cache" in VRAM rather than being immediately deleted, enabling near-instant re-activation for subsequent requests.

Performance Evaluation

Experiments were conducted on a server equipped with 4x NVIDIA H800 GPUs (interconnected via NVLink 3.0), dual AMD EPYC CPUs, and PCIe 3.0 NVMe SSDs.

Performance characteristics of FlowLoader across different transmission patterns: (a) P2P bandwidth, (b) Broadcast scaling, (c) Gather scaling, and (d) Scatter-Gather comparison.

Key Insights

  • Interconnect Saturation: While NVLink can reach 300 GB/s, standard loaders are often bottlenecked by PCIe or SSD read speeds (~3 GB/s). FlowLoader bypasses these bottlenecks by using neighboring GPUs as relays. By scattering data across multiple GPUs' PCIe lanes and gathering it via NVLink, the system effectively parallelizes the transfer.
  • Out-of-Order Delivery: By sharding weights into chunks with strict address mapping, FlowLoader supports deterministic out-of-order delivery, allowing parallel paths to operate at maximum speed without compromising data integrity.

Results

FlowLoader achieved 2.8x to 10x faster startup speeds compared to PyTorch and ServerlessLLM (SLLM). In local-NUMA node tests, efficiency improved by 3.6x by expanding single-channel transmissions into four parallel channels. The tiered system achieved a 6.4% higher cache hit rate compared to standard global LRU strategies. For a 14B parameter model, loading time was reduced to a fraction of a second when cached.

Conclusion

FlowLoader significantly reduces the cold-start latency of LLMs by optimizing the utilization of heterogeneous hardware resources. While the raw read speed of SSDs remains a physical bottleneck, FlowLoader's parallel approach ensures that internal interconnects are no longer the limiting factor. Future work will focus on extending these optimizations to distributed multi-node clusters.

Summary updated

BibTeX
@article{yin2025flowloader,
  author = {Jun Yin and Fei Wu and Shihao Li and Peng Huang},
  title = {{FlowLoader: an efficient large language model loader via parallel transmissions and local multi-tier caching}},
  journal = {The Journal of Supercomputing},
  year = {2025},
  doi = {10.1007/s11227-025-07646-4},
}
Figure