Skip to content
Preprint

Fast and Memory Efficient Offload Training Framework with Hybrid XPU Computation

Oct 2026 · 0 citations · 37 references
Computer Science

TL;DR

This paper designs and implements MemFerry, a novel hybrid on-GPU and DHA model that offloads gradients to CPU memory via DHA, and extends it to emerging scale-up domains with ScaleUp-MemFerry, which exploits otherwise underutilized accelerator interconnect bandwidth to assist host-to-accelerator data movement through adaptive multi-path transfer.

Abstract

With the ever-growing size of deep learning models, GPU memory is prone to being insufficient during training. A prominent approach is ZeRO-Offload, which moves the optimizer states to CPU memory and performs parameter update using CPU. However, the deficiencies of ZeRO-Offload include low GPU utilization, imperfect overlapping of communication and computation, and inflexible offloading. In this paper, we leverage Direct Host Access (DHA) on the GPU that can compute data in CPU memory, forming a novel hybrid on-GPU and DHA. We design and implement MemFerry consisting of an execution scheduler and a shadow model. The scheduler strategically chooses layers of parameters for DHA computation and transmits the remaining parameters to GPU memory simultaneously to shorten forward propagation time, and further loads DHA parameters to GPU memory to reduce backward propagation time. The shadow model presents a unified memory abstraction for the parameter partitions stored separately in GPU and CPU memories. To further reduce GPU memory usage, we present MemFerry along with its dynamic programming algorithm that offloads gradients to CPU memory via DHA. We further extend MemFerry to emerging scale-up domains with ScaleUp-MemFerry, which exploits otherwise underutilized accelerator interconnect bandwidth to assist host-to-accelerator data movement through adaptive multi-path transfer. Our experiments show that \system trains up to $1.68\times$ faster and MemFerry can train $1.52\times$ larger model compared to ZeRO-Offload on a single GPU, and increase training speed by at least $28.1\%$ when scaling to data parallelism on 8 GPUs. We further extend the design to a Huawei CloudMatrix384 scale-Up node with up to 8 NPUs, and our ScaleUp-MemFerry reduces the end-to-end iteration time by up to $20.7\%$ over DeepSpeed.

View source

Similar papers

Open access May 2025

ZenFlow: Enabling Stall-Free Offloading for LLM Training

ZenFlow is presented, a new offloaded training framework that decouples updates between GPU and CPU by prioritizing important gradients and achieves up to 5× end-to-end speedup, 2× lower PCIe traffic, 85% less GPU stalls, and up to 72% lower cloud GPU cost, all while preserving accuracy.

Ting-Feng Lan, Yu-Sen Wu, Bin Ma et al. · 8 citations · ⚡3
Preprint Oct 2026

PACT: NVFP4 Data-Flow LoRA Fine-Tuning on Consumer GPUs

Fine-tuning language models on consumer GPUs is constrained by computation and memory. Although LoRA reduces trainable parameters and optimizer state, frozen projections remain expensive, and activations retained for backward can dominate memory usage. We present PACT, a LoRA fine-tuning system that accelerates frozen...

Lei Gao, Hossein Entezari Zarch, Chao-Yi Jiang et al. · 0 citations
Preprint Oct 2026

Ember: Making Unified Virtual Memory Practical for Discrete-Memory GPUs

Ember is presented, a UVM management framework for oversubscribed workloads that is implemented within NVIDIA's open-source UVM driver for unmodified applications and as a userspace variant on stock CUDA.

Senad-Leandro Lemes Galera, Michail Georgoulakis Misegiannis, Ferdinand Gruber et al. · 0 citations
2026

GPU MEMORY MANAGEMENT SYSTEM WITH DEFERRED BUFFER REUSE FOR WEBGPU

The paper proposes an architecture that includes separate allocators for storage buffers and readback buffers, a mechanism for deferred return of buffers to the free-resource pool after synchronization, a best-fit reuse strategy, eviction of unused buffers based on an LRU approach, and a separate metadata arena for com...

Andrei T. Soldatov, N. Z. Sultanov · 0 citations
Preprint Oct 2026

MemX: Memory-Aware Automatic Parallelism for Cross-Vendor Heterogeneous GPU Training

MemX is presented, a new memory-aware automatic parallelism system that jointly optimizes iteration time, peak memory usage, and cross-GPU memory balance and is the only method that identifies the real Top-1 configuration under both time-based and memory-balance rankings.

Lin Meng, Yu-Zhong Sun, Jie Zhu · 0 citations
Review Open access Oct 2026

GPU Memory Bandwidth and the MemoryWall on Computing Performance

This review examines the hierarchical memory architecture of modern GPUs, including registers, caches, shared memory, and global memory, with particular emphasis on the role of data locality and memory-access efficiency in overall system performance.

Tao-Ran Ye · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.