UMLoad: Fast On-Demand Model Loading on Unified Memory Architecture
Zimeng Wang, Jinrong Yang, Rong Chen
Abstract
On-demand model loading dominates response latency for interactive on-device AI, yet unified memory architectures (UMAs), now common on edge devices, should make it cheap by placing weights in memory the GPU already sees. However, frameworks still use the loading flow built for discrete GPUs, leaving significant inefficiencies. This paper presents UMLoad, a system-level model-loading accelerator that decouples a framework's logical allocations from their physical page backing. UMLoad uses on-demand reconstruction to eliminate the weight copy while preserving copy independence, and GPU-assisted page zeroing to accelerate runtime allocation while preserving its security guarantee. Implemented on Intel, AMD, and NVIDIA UMA platforms and evaluated with llama.cpp, PyTorch, and vLLM across six models, UMLoad reduces average loading time by 36.6%-71.9% over vanilla and 19.9%-62.7% over pipelined loaders, and cuts mean LLM-routing time to first token (TTFT) by 51.3%-59.3% and model-backed tool completion latency by 10.2%-31.6%.
Create a lesson
Related papers
High-Throughput Private Information Retrieval with on-CPU Accelerators
Gyuyeong Kim
RTP-LLM: Building an Evolvable and Reliable LLM Inference Engine at Alibaba Scale
Jiarui Guo, Zhi Zhang, Boyu Tan et al.
Beyond Source Compatibility: WebAssembly as a Stable ABI for ARINC 653 Applications
Wanja Zaeske, Patrick Siegl, Florian Hartung et al.
Rimuru: Unified Memory Management for Modern LLM Serving via Elastic Expert Offloading
Zhiyuan Fang, Dingyang Li, Jianfeng Zhong et al.
USB Differentiated Service for Networked Cyber-Physical Systems
Anton Njavro, Rafiuddin Syed, Shriram Raja et al.
Callosal: Rethinking the Kernel Page Cache for Disaggregated Storage and Memory
James McMahon, Amit Samanta, Seung-seob Lee et al.