Manuscript Offprint

arXiv:2610.07593

TRANSIT: Transparent Scale-in for Multi-Node LLM Training

Hyungyo Kim, Nicholas Satchanov, Hrishi Shah, Gaohan Ye, Jiaqi Lou, Robert Walkup, Shweta Salaria, I-Hsin Chung, Hubertus Franke, Seetharami Seelam, Apoorve Mohan, Nam Sung Kim

Abstract

TRANSIT is a transparent scale-in framework to enable multi-node model training on fewer GPUs while maintaining training efficiency by transparently leveraging CPU DRAM as an extension of GPU memory during distributed training. It achieves this through a user-space interposition layer, requiring no modifications to the application, training framework, cluster scheduler, device driver, or operating system. Furthermore, TRANSIT achieves higher efficiency by leveraging a zero-copy data path for CPU-GPU transfers.

We evaluate TRANSIT on dense and MoE models across scales up to 64 NVIDIA H100 GPUs and multiple parallelism configurations over a RoCE network. Our evaluation shows that TRANSIT can: (a) outperform state-of-the-art framework-managed offloading techniques, achieving up to 68%, 59%, and 42% higher per-GPU throughput than TorchTitan, ZeRO-Offload, and ZeRO-Infinity, respectively, (b) enables training with 50% fewer GPUs while maintaining over 90% of baseline per-GPU throughput, (c) lower per-node network traffic by up to 33%, and (d) improve per-GPU throughput by up to 35% in communication-bound settings.

1 Introduction

Motivation: The cost of training large AI models has grown to the point where it shapes fundamental decisions about infrastructure, methodology, and organizational strategy [16]. A common root cause underlies the constraints practitioners face: GPU memory cannot accommodate modern models within a reasonable number of devices [21], forcing scale-out across additional GPUs for memory capacity. For many organizations, training may fail before it begins due to GPU shortages, procurement overheads, export controls, and budget constraints, leaving sufficient GPU capacity unavailable [18].

For those who can provision enough GPUs, scale-out introduces a new problem: as the number of GPUs increases to meet memory requirements, so does the number of participants in collective operations, increasing communication volume and synchronization overhead [19]. A memory constraint thus translates directly into communication cost, making training performance increasingly sensitive to network conditions [34, 43]. Memory capacity and communication demand are therefore coupled through node count: adding nodes to relieve one constraint tightens the other.

This sensitivity is exacerbated by datacenter network design. Oversubscribed spine layers reduce effective bandwidth under load [20, 37, 44], and synchronized collective communication can induce congestion and unpredictable performance [17, 22, 44, 54]. Prior work on production RDMA-based AI training clusters shows that network contention degrades performance in up to ~36% of training jobs [17], where congestion alone can cause slowdowns exceeding 30% [38, 42], and up to 50% under packet loss [11]. These results highlight the fragility of collective communication in modern AI clusters and the increasing likelihood of network bottlenecks as systems scale out.

Such scale-out ultimately affects cluster efficiency, as training jobs are forced to be provisioned with a static resource configuration. Users specify the number of GPUs required for a training job, and the scheduler must allocate the exact number requested before execution can begin. Thus, if the exact requested number of GPUs is not immediately available at the time of submission, jobs are forced to wait in the queue [23, 25, 35, 51]. This delay is particularly costly in development environments, where rapid iteration often matters more than peak throughput.

Questions: The limitations practitioners face, i.e., infrastructure cost, GPU memory capacity, and network constraints in oversubscribed and congested scale-out AI clusters, thus prompt the following questions: (i) Is it possible to enable multi-node training of models on fewer GPUs without modifying or requiring support from existing training frameworks, while preserving per-GPU performance? (ii) If such a reduction in node count is possible, how does it affect the amount and structure of distributed communication during training? (iii) Does reducing node count translate into measurable reductions in rack-level and spine-level network traffic in datacenter deployments? (iv) How do these effects impact system efficiency under practical conditions, including network contention and limited cluster resources?

†^{\dagger}This work was initiated during Hyungyo Kim’s internship at IBM Research and was subsequently continued through the IBM-Illinois Discovery Accelerator Institute (IIDAI).

*Corresponding authors: Apoorve Mohan (Apoorve.Mohan@ibm.com) and Nam Sung Kim (nam.sung.kim@gmail.com).

Table 1. Comparison of mechanisms and systems for scaling-in LLM training across transparency (T), no privileged changes required (P), offload granularity (G), data-fetch mechanism (M), and demonstrated scale (S).

ApproachTPGMS
ZeRO-Offload [41]✕✓CoarseOn-demandMulti-node
ZeRO-Infinity [40]✕✓CoarsePrefetchMulti-node
TorchTitan [30]✕✓CoarseOn-demandMulti-node
DeepUM [27]✓✕PagePrefetchSingle-GPU
G10 [53]✓✕PagePrefetchSingle-GPU
TRANSIT✓✓PageMultiple (Prefetch, Zero-copy)Multi-node

Opportunity: Modern GPU servers provision hundreds of gigabytes to terabytes of CPU DRAM capacity, far exceeding GPU HBM, and unlike remote GPU memory, accessing this capacity does not require inter-node communication. Critically, local DRAM access over PCIe is 4–6× faster than remote GPU HBM access via GPUDirect RDMA for small transfers, narrowing to 2–3× at larger sizes, with the gap widening further under network congestion (see §2.3). Absorbing memory overflow locally rather than distributing it across the network can therefore reduce communication volume, lower sensitivity to inter-node bandwidth, and enable training configurations that the GPU memory limit would otherwise preclude.

Prior Art: Several recent efforts have explored ways to extend effective GPU memory capacity for LLM training [27, 30, 40, 41, 53]; however, they suffer from various limitations (see Table 1). The most widely adopted scale-in approaches today rely on framework-managed offloading systems such as ZeRO-Offload [41], ZeRO-Infinity [40], and TorchTitan [30]. These systems explicitly manage model parameters, gradients, and optimizer states to extend effective GPU memory capacity. While effective at enabling larger models to fit, they require framework-specific integration and support, limiting deployment across heterogeneous training environments. Furthermore, they typically manage memory at a coarse granularity and move substantially more data than the workload actually requires, thus leading to inefficiency (see §4.2).

An alternative is Unified Virtual Memory (UVM) [2, 13], a virtual memory abstraction supported in modern GPU runtimes that transparently extends GPU memory capacity using host memory without requiring modifications to applications or training frameworks. UVM is therefore an attractive foundation for transparent scale-in. However, UVM is rarely used as the default mechanism for large-scale training because its performance is "widely perceived to be inefficient" [4]. Recent works have sought to improve UVM performance by modifying runtimes, kernels, and device drivers [27, 53]. While effective in controlled settings, their reliance on privileged changes to the system software stack limits deployability in large-scale shared clusters. As a result, they have been demonstrated only within a single node, leaving their practicality for large-scale distributed training less established. Consequently, no existing approach simultaneously satisfies the requirements of transparency, efficiency, deployability, and distributed scalability. Finally, existing approaches do not support multiple data movement policies.

Requirements: For scale-in to deliver cluster-wide benefits, it must satisfy the following requirements: First, it must preserve training efficiency: saving GPUs while proportionally extending training time leaves cluster efficiency unchanged. Second, it must be transparent and broadly deployable, requiring no modifications to applications, frameworks, schedulers, runtimes, or device drivers. Third, it must be effective in distributed multi-node environments, where memory pressure and communication overhead are most pronounced. Fourth, it must be fine-grained to minimize data movement between CPU memory and GPU memory, thereby limiting its impact on training efficiency.

Our Approach: We present TRANSIT (TRANsparent Scale-In for Training), a lightweight scale-in framework for distributed LLM training workloads. TRANSIT enables existing training workloads to execute on fewer GPUs without requiring modifications to applications, frameworks, schedulers, kernels, or device drivers. It transparently instruments LLM training workloads at execution time to leverage CPU DRAM as an extension of GPU HBM using UVM. TRANSIT further extends UVM capabilities to augment or override its default reactive behavior at execution time, enabling policies such as fused prefetching and zero-copy access. Zero-copy allows the GPU to directly fetch CPU-resident data into the GPU L2 cache without copying it to GPU HBM, reducing data movement overhead (see §3).

At a high level, TRANSIT comprises three components: a memory allocation interceptor that transparently redirects all GPU memory allocations (e.g., parameters, gradients, optimizer states, and activations) to UVM-backed memory; an activity recorder that captures kernel launch activity and migration history; and a policy optimizer that reduces data transfer overhead between CPU and GPU memories.

TRANSIT tracks all managed memory allocations to understand memory allocation patterns during initial training iterations (i.e., warm-up period) and strategically applies optimization policies at key points during each training iteration (e.g., around the midpoint of the iteration) to minimize data movement overhead between CPU and GPU memory. This allows frequently reused data, such as activations and half-precision model parameters, to remain resident in GPU memory, while less frequently accessed data (including optimizer states and full-precision parameters), is accessed directly from host memory through zero-copy. As a result, our approach significantly reduces unnecessary page migrations and page faults, improving overall training efficiency.

By reducing the minimum node count required to fit a model, TRANSIT directly reduces the number of participants in collective communication, lowering per-node network traffic and reducing sensitivity to network congestion. TRANSIT is implemented as a user-space shared library injected via LD_PRELOAD at job launch time, requiring no modifications to applications, frameworks, schedulers, run-times, kernels, or device drivers, thus making it immediately deployable across heterogeneous workloads in shared environments.

Key Results: We evaluate TRANSIT on distributed LLM training workloads spanning dense and mixture-of-experts models, multiple parallelization strategies, and a range of cluster and network configurations using up to 64 NVIDIA H100 GPUs over a RoCE network. To assess the datacenter-level impact, we conduct a simulation study using production job traces from two production clusters. Key results/insights are as follows:

(a) Zero-copy is the key enabler: Training throughput improves by up to 3.4×3.4\times over the reactive page-fault-driven UVM behavior by avoiding migration thrashing and page-fault handling overhead.

(b) TRANSIT outperforms framework-managed techniques: It achieves 68%, 59%, and 42% higher per-GPU TFLOPS than TorchTitan, ZeRO-Offload, and ZeRO-Infinity, respectively. (c) TRANSIT preserves efficiency under scale-in: It reduces the GPU count by up to 50% while maintaining over 90% of the per-GPU TFLOPS achieved by the baseline configuration that uses more GPUs without offloading.

(d) TRANSIT delivers cluster-scale gains: Simulation using real-world traces shows that TRANSIT reduces inter-rack traffic by 15–49%, job queue time by up to 95% under capacity-constrained deployment, and allows a half-capacity cluster to match the job throughput of a full-sized deployment without TRANSIT.

To the best of our knowledge, TRANSIT is the first system to demonstrate that transparent scale-in can be both practical and efficient for distributed multi-node LLM training, outperforming framework-managed offloading approaches while enabling existing workloads to execute on fewer GPUs without modifications to the application, training framework, cluster scheduler, device driver, or operating system.

References (17)