Elamur Research

Nonuniform-Tensor-Parallelism: Mitigating GPU failure impact for Scaled-up LLM Training

Paper · 2025 · Daiyaan Arfeen, Dheevatsa Mudigere, Ankit More et al.

Summary

A failed GPU can sideline an entire group of working GPUs during large training runs. The reason is that the group divides the work inside each layer, so its members depend on one another to produce a complete result. Fast links let larger groups divide that work efficiently, but they also give a single failure more reach. The paper studies how to retain the benefits of large, tightly connected groups while keeping their surviving devices useful after a failure. GPU & parallel computing

The authors propose nonuniform tensor parallelism, or NTP. Tensor parallelism divides the operations and parameters inside a layer among GPUs. With NTP, a partially failed group divides the same layer among fewer devices, while healthy groups elsewhere can retain their original size. The groups still have to combine gradients, the quantities that determine how the parameters are updated. Because a smaller group divides those gradients differently, NTP temporarily rearranges the gradients on the larger group to match. It then combines corresponding pieces across copies of the network and restores the arrangement used for computation.

The paper considers two ways to keep a smaller group from slowing the rest of the job. The software version gives the affected copy fewer training samples per iteration. That keeps the iterations close in duration, but it reduces the total batch unless spare capacity supplies the missing samples. The power-assisted version, NTP-PW, proposes a rack that can direct more power to the surviving GPUs in affected groups. If the boost lets them keep pace, the job can retain the original batch. A prototype measures the extra cost of rearranging gradients, while a simulator estimates how the policies would perform on a much larger cluster.

In the simulated failure sweep, dropping affected copies of the network costs up to 12% of throughput, while NTP limits the reported loss to 3%. In a separate simulation that pauses training whenever the target batch cannot be filled, dropping whole copies needs 90 spare NVLink domains to avoid pauses. Software-only NTP needs 16. NTP-PW needs zero in that scenario and loses <1% of throughput relative to a failure-free run. On physical hardware, the authors measure <1% end-to-end overhead in a particular prototype comparison. That measurement concerns the cost of running with differently sized groups. The large-cluster throughput and spare-capacity results come from simulation.

Deep dive: Nonuniform-Tensor-Parallelism: Mitigating GPU failure impact for Scaled-up LLM Training

Nonuniform tensor parallelism keeps healthy GPUs working after a failure and uses selective power boosts to recover training throughput. · about 36 minutes to read

The problem and its context

Why training uses several kinds of parallelism

A large training run has to distribute both work and memory. Parameters occupy device memory, and training also needs intermediate values from the forward pass and gradients from the backward pass. The authors point out that this footprint can exceed the high-bandwidth memory of a single accelerator by several times. Moving state to slower memory is possible, but the system can also divide it among devices and use their combined computing capacity. The question is how to split the work without making communication or idle time dominate the iteration.

In data parallelism, abbreviated DP, each replica holds the same parameters and processes a different part of the minibatch. A minibatch is the set of training samples whose gradients contribute to one update. Each replica calculates its own contribution, then a collective communication operation combines the contributions. The paper uses an all-reduce for this exchange. An all-reduce combines values from all participants and makes the result available to each participant. The need for a common result gives every replica a deadline. A replica that takes longer to produce its contribution can hold up the others.

Using more data replicas gives each replica fewer samples when the total batch is fixed. It also leaves the memory requirement of each copy in place. The paper therefore treats data parallelism as one part of a mixed arrangement. There is a workload constraint on increasing the batch indefinitely, since the authors point out that a larger batch can affect training accuracy. There is also a hardware constraint on holding an entire replica on one GPU. In the arrangements studied here, a replica is generally a group of GPUs, some of which work on different layers and some of which work on different pieces of the same layer.

Pipeline parallelism, or PP, divides a network at layer boundaries. A pipeline stage holds a consecutive group of layers. It passes intermediate values to the next stage in the forward pass and receives the corresponding backward information during gradient computation. Dividing a minibatch into smaller units, called microbatches, lets different stages work on different units at the same time. A stage can begin its part of another microbatch while a later stage continues processing an earlier one.

The pipeline cannot stay equally busy throughout the iteration. Some stages wait for work as the pipeline fills or drains, and the paper describes periods of idleness when the pipeline is flushed for synchronization. It calls this idle time a pipeline bubble. With fewer local microbatches, there is less work to fill the pipeline and the bubble occupies a larger share of time. Adding data replicas at a fixed minibatch can therefore make a pipeline less efficient even as the cluster gains more workers.

Pipeline partitioning also stops at layer boundaries. The paper notes that much of the growth in parameter count can come from wider layers, and that longer input sequences can make a layer more expensive to run and store. Assigning such a layer to its own stage still leaves that stage responsible for the whole layer. Tensor parallelism, or TP, addresses that problem by dividing the operations within the layer itself.

The paper describes a transformer and attention workload in which layers perform operations such as matrix multiplication and self-attention. In the tensor-parallel layout, different GPUs hold different pieces of the parameters. They calculate partial results and exchange those results at points where the rest of the layer needs a combined value. The TP degree is the number of GPUs participating in this arrangement. A larger degree can reduce the share of a layer assigned to each device, but the devices must communicate along the way.

The frequency and timing of that communication determine which links are suitable. A collective inside a layer can delay dependent calculations immediately. If the collective runs across a slow connection, having more devices divide the arithmetic may save little time. The authors call a set of devices connected through a high-bandwidth fabric a scale-up domain. The paper discusses NVLink domains as an example and describes the move from domains connecting up to 8 GPUs to an architecture connecting up to 72. That change gives a training job more room to increase TP while keeping its most frequent exchanges on fast links.

Hybrid parallelism combines these choices. The paper describes putting TP inside the fast domain, using enough pipeline stages to fit the training footprint in device memory, and fitting data replicas into the remaining cluster capacity. The resulting division depends on both the workload and the network. A larger domain makes higher TP possible, while the best setting can also depend on how pipeline bubbles and cross-replica exchanges change when that option is used. The earlier work the authors discuss includes a Megatron-LM study of how to compose these techniques efficiently on GPU clusters. Megatron-LM training study

High TP is especially relevant when adding more replicas or pipeline stages would worsen other costs. Adding replicas reduces the work available to each pipeline at a fixed global batch. Adding pipeline stages introduces more places that can wait. Global synchronization can also become more exposed, meaning that a larger portion of communication runs at a time when no useful computation can hide its delay. A larger fast domain gives the training system another way to distribute work under those constraints.

How a local fault affects the rest of the job

A fixed tensor-parallel group expects contributions from all of its ranks. A rank is the identifier used by a participating process in a communication group. If a GPU fails and the group keeps the same layout, some parameters and computations no longer have a worker in that layout. The surviving GPUs can still be physically functional, yet the group cannot continue its assigned layer computation as configured. That is the first step in failure amplification.

The rest of the replica can then lose its assignment too. A pipeline with several stages cannot produce a complete training result if one stage stops. Dropping the replica removes the active work of the other stages along with that of the failed group. As the amount of hardware required for a replica increases, the gap between a physically failed device and the capacity lost to the job can become substantial. The authors use the phrase blast radius for the reach of a failure. Later in the paper they also use it for the number of devices directly taken out by a fault, so it helps to distinguish that direct effect from the training system's decision about what else to stop using.

Checkpointing addresses a different part of the problem. A checkpoint preserves training state for restart, and the paper discusses earlier work on reducing the cost of saving and restoring that state. The job still needs enough usable devices to run once it restarts. Replacing a missing device or an entire group with spare capacity preserves the original layout, but capacity held in reserve can spend much of its time outside the training job. Faster restoration and better use of the remaining devices can therefore solve separate parts of the same outage.

The paper names a simple failure policy DP-DROP. If a replica is affected, the policy removes its contribution from the training iteration. Without a spare that can supply that contribution, the replica's samples disappear from the minibatch. The authors take a fixed minibatch as a requirement for the synchronous stochastic gradient descent setup they consider. Their evaluation separately examines how much throughput remains when the batch may shrink and how much spare capacity is needed when the target batch is enforced.

Earlier resilient pipeline systems, as characterized by the authors, can reconfigure work when devices disappear. The paper's distinction is the unit these systems remove. A method that adapts the pipeline but discards an entire tensor-parallel group still loses the surviving devices inside that group. The authors also discuss earlier work on heterogeneous training, where devices can differ in memory, compute capability or connectivity, and earlier studies of increasing processor clocks when the power and cooling arrangements permit it. NTP brings those concerns together around a specific source of heterogeneity. A failure leaves a group that is smaller than its peers even though it must still execute the same part of the network.

The method, step by step

Change the group size while keeping the computation

The starting point is that the layer needs particular mathematical contributions, and the devices assigned to produce them can change. If a group loses members, its surviving devices can take over their pieces. A healthy group elsewhere can keep its current assignment. The replicas still represent the same parameters and execute the same layers. What changes is which device within a replica owns each piece.

A straightforward restart on smaller groups creates two new problems. First, the affected group has more work per remaining GPU. That can slow its pipeline stage and then delay the next synchronization across data replicas. Second, replicas with different TP degrees divide gradients at different boundaries. The ordinary cross-replica exchange assumes a corresponding rank owns the same part of a parameter in each replica. That assumption has to be restored for synchronization, even as each group retains a layout appropriate to its size for computation.

NTP uses separate assignments for computation and synchronization. The smaller group has contiguous shards, meaning consecutive pieces along the dimension being divided. In a healthy group, a subset of devices assembles matching contiguous gradient shards just before cross-replica synchronization. Those devices can then communicate with corresponding ranks in the smaller group. Afterwards, the healthy group redistributes the result according to its computational assignment. Here, resharding means changing where pieces of a tensor reside while retaining the correspondence between each piece and its parameter coordinates.

How NTP resumes training with unequal groups

The steps in order.

How NTP resumes training with unequal groupsStep 1: Identify surviving GPUs after a failure1. Identify surviving GPUs after a failureStep 2: Assign smaller tensor groups and place affected domains2. Assign smaller tensor groups and place affected domainsStep 3: Adjust local batches or boost affected GPUs3. Adjust local batches or boost affected GPUsStep 4: Compute gradients using each group's shard layout4. Compute gradients using each group's shard layoutStep 5: Assemble matching gradient shards within healthy domains5. Assemble matching gradient shards within healthy domainsStep 6: All-reduce matching shards across replicas6. All-reduce matching shards across replicasStep 7: Restore gradients to their computational owners7. Restore gradients to their computational owners

A motivating example in the paper starts with TP64 and moves an affected group to TP62 if it loses two GPUs. The example illustrates the general idea of retaining working devices. The large simulation evaluates a particular menu of smaller groups, so the degrees it uses are a separate part of the experimental design. Whatever degree is selected, the group needs to produce every part of the layer and hold the necessary training state on the devices it retains.

Where shards come from in a feed-forward block

Consider the feed-forward block the paper calls an MLP. It applies an input projection, an activation function and an output projection. The paper writes the intermediate computation as follows.

Y = GeLU(XA)

Here, X is the input to the block, A is the first parameter matrix, and XA is their matrix product. GeLU is the activation applied to the entries of this product. Y is the resulting intermediate tensor. The following operation projects it to the output.

Z = YB

Z is the output of the block, Y is the intermediate tensor, and B is the second parameter matrix. YB denotes matrix multiplication. The dimension represented by Y's columns is also the dimension represented by B's rows. A GPU can therefore take responsibility for a set of columns of Y and the corresponding rows of B.

A = [A₁, …, Aₖ]

A is the first parameter matrix. A₁ through Aₖ are its column shards, and k is the number of shards. The brackets describe their horizontal concatenation, and the ellipsis stands for the intervening shards. The formula shows contiguous pieces, while the assignment can also collect selected columns on a device if their paired rows of B travel with them.

Yᵢ = GeLU(XAᵢ)

The index i identifies a shard. Aᵢ is that shard's part of the first parameter matrix, and X is the input available in full to the shard's GPU. GeLU acts on the product XAᵢ to produce Yᵢ, the corresponding columns of the intermediate tensor. Because GeLU acts on the entries of this product, calculating these columns locally gives the entries the full operation would assign to the same columns.

Y = [Y₁, …, Yₖ]

Y is the full intermediate tensor, Y₁ through Yₖ are the column shards indexed up to k, and the brackets indicate horizontal concatenation. The ellipsis stands for the shards between the displayed endpoints. This describes the relation between the pieces and the complete tensor. The calculation can proceed using the pieces on their owning devices.

B = [B₁; …; Bₖ]

B is the second parameter matrix. B₁ through Bₖ are its row shards, with the same shard index and count k used for Y. The separators inside the brackets indicate vertical stacking, and the ellipsis represents the intervening row shards. A device that computes Yᵢ also has Bᵢ available.

Z = ∑ᵢ Ẑᵢ = ∑ᵢ YᵢBᵢ

Z is the full block output, and each summation sign ∑ᵢ adds contributions over all shard indices i. The partial output Ẑᵢ is the product YᵢBᵢ, where Yᵢ holds the intermediate columns and Bᵢ holds the rows paired with them. These partial outputs have matching output coordinates and can be summed by an all-reduce within the tensor-parallel group.

This is why a change of ownership can preserve the layer computation. The output depends on including every paired contribution. A device that takes over more pairs computes a larger share of the work and contributes that share to the same sum. The mathematical freedom to place the pairs is especially valuable in the healthy group, where the authors use it to arrange an efficient exchange of gradients later. Equal results at the level of these formulas establish the intended computation. The formulas alone say little about how evenly the work will divide or how fast the devices can finish it.

How attention can be divided

The paper uses a similar argument for the self-attention block. Each attention head computes with its own query, key and value projections, and its result is multiplied by the corresponding part of the output projection. The paper gives the input projections as separate products.

Q⁽ⁱ⁾ = XW_Q⁽ⁱ⁾

Q⁽ⁱ⁾ is the query for head i, with the superscript ⁽ⁱ⁾ serving as a head index. X is the block input, and W_Q⁽ⁱ⁾ is the query projection matrix for that head. The juxtaposition denotes matrix multiplication.

K⁽ⁱ⁾ = XW_K⁽ⁱ⁾

K⁽ⁱ⁾ is the key for head i. X is the same block input, and W_K⁽ⁱ⁾ is the head's key projection matrix. Their matrix product makes the key available for the attention calculation.

V⁽ⁱ⁾ = XW_V⁽ⁱ⁾

V⁽ⁱ⁾ is the value for head i. X is the input and W_V⁽ⁱ⁾ is the value projection matrix belonging to that head. Their product supplies the value used by the attention operation.

MultiHead⁽ⁱ⁾(X) = Attention(Q⁽ⁱ⁾, K⁽ⁱ⁾, V⁽ⁱ⁾)

MultiHead⁽ⁱ⁾(X) denotes the contribution of head i before the output projection. Attention is the operation applied to the head's query Q⁽ⁱ⁾, key K⁽ⁱ⁾ and value V⁽ⁱ⁾, all derived from input X. The equation describes the work for one head. The output projection then places that head's contribution into the coordinates used by the rest of the block.

Z = ∑ᵢ Ẑᵢ = ∑ᵢ MultiHead⁽ⁱ⁾(X)W_O⁽ⁱ⁾

Z is the full attention block output. The summation ∑ᵢ covers all heads indexed by i, and Ẑᵢ is the partial output associated with head i. MultiHead⁽ⁱ⁾(X) is the head result for input X, and W_O⁽ⁱ⁾ is the part of the output projection paired with it. Multiplying these and summing across heads gives the full output.

A GPU can compute a head if it owns the relevant parts of all the projections used in the formula. That makes complete heads assignable to different devices. It also shows where placement flexibility runs into indivisible work. The feed-forward block commonly has enough columns that a small difference in shard size is a small share of the total. The paper describes attention head counts as O(10), where the notation expresses the order of magnitude. Dividing a relatively small number of heads among a changed number of GPUs can leave some devices with more whole heads than others. The collective still needs every contribution, so an uneven assignment can affect how quickly the reduced group finishes.

Give each gradient a computation rank and a synchronization rank

The paper uses N₁ for the healthy TP degree and N₂ for the smaller degree, with N₁ greater than N₂. If both groups independently use contiguous computational shards, the boundaries of one layout generally fall inside the shards of the other. A gradient shard may then need to exchange one large slice with one peer and a small slice with another. The small message still incurs the cost of starting a transfer, and the resulting traffic is uneven across peers.

For an example, the authors take a hidden size of 12K and compare TP32 with TP30. In their illustration, a shard in the smaller group can have 375 parameter columns or rows to synchronize with one shard in the larger group and only 25 with another. The counts describe overlaps between particular parameter partitions. They illustrate why simply matching every overlap can create communications that are inefficient for their payload, even when the two group sizes are fairly close.

The NTP mapping starts with the smaller group's contiguous shards. It assigns each of those ranges to a synchronization rank inside the healthy group as well. A chosen device in the larger group is responsible for presenting that complete range to the data-parallel collective. The selected devices are fewer than the total devices in the healthy group. During computation, some of the pieces belonging to each synchronization range are therefore assigned to the remaining devices, so all the healthy GPUs share the layer workload.

The paper's rank assignment spreads these offloaded pieces across the extra devices in rotation. This aims to distribute traffic over the available connections instead of turning one transfer into the longest step. Each piece has a computation rank, which determines where its operations and gradient calculation take place, and a synchronization rank, which determines where its gradient goes for the cross-replica exchange. A healthy GPU can thus compute a shard assembled from pieces of several synchronization ranges. During the exchange, the range needs to be contiguous on its assigned synchronization device.

Before combining gradients across replicas, NTP gathers the pieces of each range within the healthy scale-up domain. The prototype uses an all-to-all, a collective in which different pairs of ranks can exchange their assigned portions. Send and receive sizes are prepared from the rank mapping. A device that computed offloaded pieces sends the pieces to their respective synchronization ranks, and each selected receiver puts together the range it will exchange across replicas. The rearrangement travels on the fast local links. The ordinary all-reduce now has matching ranges to combine among replicas, without a separate cross-domain transfer for every small overlap.

After synchronization, the reverse movement returns the combined gradient pieces to their computation ranks. This step matters because the healthy group will continue using its full TP degree. The synchronization layout is a temporary way of making parameter coordinates line up across replicas. The original computation layout still determines where the next work on those parameters occurs. There are also fewer ranks doing the cross-replica exchange when it is organized around the smaller layout. The gradients cover the same parameter space, so the ranks that take part can have more data to synchronize.

Fit the exchanges around the backward pass

The authors implement NTP on the NVIDIA Megatron framework. The backward pass computes gradients for the parameters by working back through the layers. Mega­tron groups gradients into buckets for synchronization, so the exchange for a bucket can begin when all its gradients are ready. This gives the implementation an opportunity to start communication while later portions of the backward pass still have work.

The prototype inserts a PyTorch backward hook before a gradient is marked ready for synchronization. A hook is code that runs at a specified point in the surrounding computation. For NTP, that code first reshards the gradient. The gradient becomes eligible for the bucket's all-reduce after its pieces are in the synchronization layout. The authors describe using this hook on the final backward pass for the minibatch, after the gradient contributions from the preceding local work have been accumulated. Earlier backward passes therefore do not pay the same pre-synchronization cost.

On the way back, the implementation uses the final bucket's all-reduce as a window to restore pieces from buckets whose cross-replica exchange has already finished. The final bucket's own pieces are restored after its collective. This ordering ensures that a bucket has a synchronized result before the reverse movement begins. The authors connect the scheduling choice to the way Megatron is configured to make its communication execution predictable. The prototype trace shows pre-synchronization transfers alongside backward computation and the return transfers alongside the final collective.

Overlap changes the cost visible to the job even if the amount of transferred data stays the same. A transfer can be active while another operation runs and add little to elapsed time. A transfer whose result is needed immediately can leave a gap on the critical path, the chain of dependent operations that determines when an iteration can finish. NTP's mapping and its scheduling address these different aspects. The mapping tries to keep the local exchange balanced, while the schedule tries to put that exchange where backward computation or another collective can cover it.

Keep replicas with different group sizes in step

With the software policy, the replica that has lost capacity receives a smaller local batch. A local batch is the portion of the minibatch assigned to that replica. A reduced group still computes each sample using every required layer contribution. It has fewer samples to process before the next synchronization, which gives it a way to finish close to the healthy replicas' time. This policy changes how much work the iteration completes if the missing samples are left out. The fixed-minibatch policy in the study supplies capacity from spares or waits when the batch cannot be filled.

A replica with pipeline stages has an internal pacing problem as well. If a single stage slows, the others can end up waiting even if they have their full complement of GPUs. The authors consider redistributing layers among stages, but explain why that would complicate pipeline schedules and create additional mismatches between data replicas during parameter synchronization. Their software policy instead changes which stages are grouped together. When restarting, the resource manager gives partially failed domains the lowest process-group ranks so they are packed into as few data replicas as possible.

Inside these affected replicas, the software configuration also operates healthy stages at the reduced TP degree. Devices that are left over on those healthy stages can be assigned to lower-priority workloads while the fault is repaired. From the perspective of the training job, those devices still represent capacity it cannot use in that configuration. From the perspective of the cluster, some of that hardware can do other work. The distinction matters when reading the paper's claims about recovering GPU utilization.

The power-assisted policy keeps the local batch unchanged and aims to speed up the surviving devices in the impaired domain. The paper gives an example in which a group of 8 GPUs loses one member and each remaining GPU has to perform 14.3% more operations. A power increase is intended to let the remaining devices run at higher frequency and absorb the extra work. The proposed rack can supply up to 30% additional power per GPU above its nominal thermal design power, or TDP. That is the stated power headroom of the design. How much additional computation it buys is a separate performance question.

The authors propose redirecting power associated with failed devices within the rack. They discuss sizing the supply and delivery components for higher local demand, including the rack feeds, protection and distribution equipment, power supplies and voltage regulators. The cooling system must also handle the higher demand at the boosted GPUs. Even if a row of racks usually draws less than the sum of the local maxima, the path to a particular boosted group must be able to support its draw. In this design, selective boosting depends on both the available power budget and where that power and heat can be handled.

The power-assisted configuration can place a smaller group next to a healthy one in the same pipeline. The paper relies on the replicated stage output at transformer layer boundaries. When a transfer crosses between stages with different TP degrees, it exchanges activations at the smaller degree. A larger receiving group can then distribute that information locally to its additional GPUs. The simulations charge for the reduced aggregate bandwidth between stages and assume the local broadcast can be fully overlapped. This handles a different data path from gradient synchronization across replicas.

What the training procedure changes

NTP changes the assignment of existing training work in response to failures. The layer operations and their parameter coordinates stay defined by the same workload. The choices added by the method are the active group size, the placement of shards and stages, and the way an affected replica keeps pace. The software and power-assisted policies can therefore be compared on a common training workload while asking different questions about local batch size, power and spare capacity.

The paper describes workloads by architecture and input dimensions, including hidden width, layer count, attention heads, sequence length and tokens per minibatch. It uses those workloads to measure execution time and to simulate the response to faults. The procedure does not name a training corpus or conventional train and test splits. Its failure-sweep inputs are placements of down devices, and its fixed-batch experiment uses a trace with failures and repair times. These inputs test properties of the training system, while the actual gradient calculations provide the work whose scheduling and throughput the system must preserve.

Experiments and results

The prototype isolates the cost of resharding

The authors use 2× DGX-A100 machines to measure communication overhead. Each machine has 8× 80GB-A100 GPUs with 600GBps NVLink bandwidth and 8× 200Gbps host channel adapters connected to a shared InfiniBand network. The local links carry tensor-parallel communication and gradient resharding. The network connects the data replicas for their collective. This setup lets the authors observe both paths while changing the TP degree of one replica.

The profiled workloads have hidden sizes of 12,288 and 6144, attention head dimension 128, and a feed-forward dimension of 4× the hidden size. Sequence lengths range between 4K and 16K. The experiment uses 2 data replicas, with one on each machine and 1 pipeline stage per replica. Each replica executes 1-3 layers and uses 1-2 samples in a local batch before synchronization. The single-stage setup lets the measurements focus on data and tensor parallelism without pipeline scheduling in the measured path.

For the final backward pass comparison, the baseline has TP8 and local batch 2 on both machines. In the nonuniform condition, the replica being timed stays at TP8 with local batch 2. Its peer uses a reduced TP degree and local batch 1. This comparison keeps the healthy replica's sample workload fixed while adding the work of preparing its gradients for a smaller peer. Slowdown is measured against the healthy replica's backward time in the uniform baseline.

Across the prototype settings, the slowdown of the final backward pass reaches at most 4%. The paper also reports the full iteration breakdown for hidden size 12K, sequence length 8K and a peer reduced to TP6. In that case, end-to-end slowdown is <1%. The final backward pass is only part of the iteration, and timing shows overlap between the extra resharding work and communication. The larger all-reduce burden on the participating ranks accounts for most of the overhead that remains visible in the full iteration.

These measurements answer a specific question about overhead on hardware. They show how the sharding mechanism behaves while replicas of different sizes run together. The prototype keeps the pipeline out of the measurement and compares configured group sizes. The cluster-wide impact of faults, restarts and spare allocation is evaluated separately.

The qualification tests for the simulator

The simulator starts from a computation graph. It partitions the graph according to the data, pipeline and tensor parallel configuration and adds the operations needed to exchange data. It estimates the time of those operations using characteristics of the GPU and of the communication network. It can also place communication and computation in overlapping intervals. This matters because adding all operation durations would count time that the execution can spend doing both sorts of work at once.

To compare predicted throughput with actual throughput, the authors use DGX-H100 measurements with workloads from 8B-175B parameters, sequence lengths of 2K-8K and runs ranging from 8-512 GPUs. These comparisons include FP8 and BF16, the numerical formats used in the tests. The authors search for the best parallel configurations for the workloads and plot measured throughput against predicted throughput. They describe a high correlation across the workloads and scales examined.

A separate comparison varies the power budget per GPU for workloads of 15B and 340B parameters on DGX-H100. Here the test is whether simulated throughput responds to changing power in a way that tracks the response on hardware. The authors again report high correlation. The two comparisons address different uses of the simulator. One tests whether it tracks throughput as the workload and distributed arrangement change. The other tests whether it tracks throughput as the available device power changes.

Why the baseline layout uses large domains

A scaling comparison in the paper examines a workload with 480B parameters, 8K sequence length and 16M tokens per minibatch. The authors vary the NVLink domain size and present per-GPU throughput normalized to the NVL32 setting at 16K GPUs. At 8K GPUs they report little improvement from larger domains. At 32K GPUs they report per-GPU utilization of 87% with NVL32 and 68% with NVL8. The comparison establishes the reason to preserve large domains in the first place. The benefit depends on the scale at which communication would otherwise constrain the job.

The paper also describes searching the hybrid configurations with the NVLink domain fixed at 16 and TP limited to 8, limited to 16, or left without that cap. A TP restriction removes possible ways of dividing a layer, so the best configuration under that restriction can use a different number of data replicas or pipeline stages. The authors find that the larger TP option is important for sustaining per-GPU throughput as the job scales. Their appendix examines how that shift changes the time spent in the different parts of the iteration.

For the fault-tolerance comparison itself, the simulated cluster has 32K B200 GPUs, 189GB of memory per GPU and domains of 32 GPUs. The paper gives 1.8TBps of NVLink bandwidth and 800Gbps of InfiniBand bandwidth per GPU. Its workload still has 480B parameters, but this experiment uses 16K sequence length and 16M tokens per minibatch. The network has hidden size 20,480, 128 attention heads, 100 layers and a feed-forward dimension of 4× its hidden size. These are the conditions for the main NTP simulations. In particular, the sequence length is different from that of the domain-scaling example.

Tune the reduced groups before injecting failures

The healthy configuration uses TP32 with local batch 8 at baseline power 1×. The simulator supports dropping the degree to TP30 or TP28. For the software configuration, the authors look for the largest local batch that keeps the smaller replica close to the healthy iteration time. For the power-assisted configuration, they keep the full local batch and look for a sufficient boost. This calibration asks which recurrent workload the affected replica can sustain before the paper considers how often the cluster experiences such a reduction.

At TP30 and power 1×, the software policy uses local batch 7, with relative iteration time reported as 1.002. The power-assisted TP30-PW keeps local batch 8 at power 1.15×, with relative iteration time .978. At TP28, the software policy uses local batch 6 at power 1× and has relative iteration time 1.003. The boosted TP28-PW uses local batch 8 at power 1.3× and has relative iteration time .999. The healthy TP32 row gives its relative timing in the form 1 / .994. The chart uses the reduced settings, which the paper reports as single values in that column.

Simulated relative iteration time for reduced TP on the 480B training workload

The power-assisted settings keep the full local batch and finish sooner than the corresponding software settings.

Simulated relative iteration time for reduced TP on the 480B training workloadTP30: 1.002TP301.002TP30-PW (this paper): .978TP30-PW (this paper).978TP28: 1.003TP281.003TP28-PW: .999TP28-PW.999
The numbers
System or settingrelative iteration time
TP301.002
TP30-PW (this paper).978
TP281.003
TP28-PW.999

The timing measure is distinct from the throughput of the full job. Local batch size varies across the software and power-assisted settings, so similar iteration durations can correspond to different amounts of completed work. The values show the choices the authors use to keep the schedules aligned. The cluster experiments then assess how the policies affect throughput when a mix of healthy and impaired groups is active.

The failure traces establish the operating conditions

The paper first illustrates amplification on a 32K GPU cluster by distributing failed GPUs uniformly and changing the TP degree. The same fraction of failed devices can make a different amount of the fleet unavailable to training depending on the group size. For TP64, the main text gives 94% fleet availability when 0.1% of GPUs are failed. The abstract and introduction separately use a nearly 10% loss example for a high-TP job. The main-text availability value belongs to the specified uniform-placement exercise. The paper's examples give different figures, so they should be read with their stated conditions.

To see how long comparable failure fractions might persist, the authors simulate a trace using a failure rate from the Llama 3 training report for H100 hardware. They set the hardware share of failures to 78% and use hardware recovery times of 3/5 days. The remaining failures are treated as software failures with a recovery time of 3 hours. Under the reported trace conditions, the cluster spends 81% of a 15-day trace with > .1% of GPUs failed. These are durations and fractions of simulated cluster states. The failure rate used to generate them comes from an earlier run.

The authors also consider a hypothetical failure rate of 3× that reported for the earlier training run. The paper reports 2× higher peak concurrent failures under that case, sufficient in its illustration to lower availability to 80%. The purpose of the exercise is to account for faults that accumulate while repairs are pending. A new failure can affect a job that is already operating with diminished capacity, so the peak simultaneous loss depends on the recovery assumptions as well as the arrival rate.

Throughput when the batch may shrink

In the main failure sweep, the authors vary the fraction of GPUs down over values informed by their trace. For each fraction, they sample many placements of the failed devices and average the result. This design matters because failures concentrated in already affected domains can have a different consequence from the same count spread across otherwise healthy parts of the cluster. A single placement would give only one version of the loss at a given fault level.

DP-DROP loses up to 12% throughput in the sweep, with a proportional reduction in minibatch size. Software NTP reduces the loss to 3%. The power-assisted version keeps throughput loss at <1% with a failed fraction of up to 4e-3. These figures refer to simulated throughput for the training workload under the specified policies. The available batch can change in this experiment, so a job can continue at a lower throughput even if it can no longer process the original number of samples per iteration.

The difference between DP-DROP and software NTP comes from the work a damaged replica still contributes. DP-DROP assigns it none of the training batch. With NTP, the retained GPUs process a smaller share while the healthy replicas continue their work. The power-assisted result adds another mechanism. It uses the calibrated power settings to keep the original local batch in the supported reduced groups. The sweep therefore compares several ways of serving the same job as working capacity changes, rather than measuring the communication overhead of resharding on its own.

Spare capacity when the batch is fixed

The paper then enforces the original minibatch. If the working replicas cannot fill it, simulated training pauses until enough capacity returns. The evaluation uses the failure rate observed during Llama3.1 training and a hardware recovery time of 5 days. The authors vary how many spare NVLink domains the job can use and report throughput per GPU normalized to the failure-free case. Capacity reserved as spares contributes to the resource cost of running the job, even when the spare devices do little of its training work.

The simulated job uses 8 NVLink domains per data replica. In the failure scenario examined, the worst loss with software NTP and no spares is no larger than the contribution of 2 replicas. The paper reports that 16 spare domains restore the required batch throughout the simulated scenario. DP-DROP needs 90 spare domains to avoid pauses, with a lower throughput per GPU because the job requires more capacity to sustain the target batch. NTP-PW uses zero spares in the same scenario and shows <1% throughput reduction compared with the state in which no failures occur.

Spare NVLink domains needed without fixed-batch pauses on the 480B workload

The power-assisted configuration avoids fixed-batch pauses without reserved domains in the simulated failure scenario.

Spare NVLink domains needed without fixed-batch pauses on the 480B workloadDP-DROP: 90DP-DROP90NTP: 16NTP16NTP-PW (this paper): 0NTP-PW (this paper)0
The numbers
System or settingspare NVLink domains
DP-DROP90
NTP16
NTP-PW (this paper)0

The reported absence of pauses is defined by the simulation's fixed-batch rule. Once an operating configuration has been selected, the job can keep filling its batch over the trace. The method itself still describes restarting the job and assigning ranks after a fault. The spare result speaks to sufficient capacity after such reconfiguration. Its conditions include the trace and the supported TP reductions.

What the ablations show

More backward work can hide a given transfer

The prototype sensitivity study varies hidden size, sequence length and the size of the peer's reduced TP group. For each setting, the authors compare final backward slowdown with a communication-to-computation ratio. They form the ratio by dividing the maximum resharding bytes sent or received by a GPU by the amount of backward computation. The numerator represents the transfer burden on the busiest relevant device. The denominator represents the useful work available as a window in which to perform that transfer.

The paper reports a strong linear relationship between this ratio and backward slowdown across the tested settings. A longer sequence creates more backward work for the relevant layers without adding to the size of the gradient shards being moved. Larger hidden sizes also change how computation grows compared with the cost of rearranging gradients. The study uses those effects to explain where the same scheduling scheme can hide more communication.

A more severe reduction in TP generally makes the healthy group move more data to fit the smaller group's synchronization layout. With more to move, the chance that some transfers extend beyond the useful computation window increases. The paper compares the ratio from the prototype to the operating point of its large simulation. The simulated workload is larger, uses larger TP groups and applies relatively small reductions. It falls in the region the authors associate with <1% backward slowdown. The association is an extrapolation from the measured relationship to a workload with conditions more favorable to overlap.

The iteration breakdown identifies the remaining cost

The authors separate the cost of pre-synchronization resharding, the increase in all-reduce work per participating rank, and the return to the computation layout. The comparison for hidden size 12K, sequence length 8K and reduced TP6 shows that most of the iteration is unaffected. The pre-synchronization rearrangement runs on the final backward pass. A portion of its delay and the additional all-reduce time occurs together, so the added elapsed time is smaller than the delays would be if scheduled consecutively.

The post-synchronization traffic is fully overlapped in the reported breakdown. The remaining end-to-end cost comes mainly from the all-reduce involving more data per synchronization rank. That finding locates the cost that survives even when the fast local transfers fit inside available windows. Larger cross-replica transfers still matter because the rank alignment is built around the reduced group. The timing breakdown demonstrates that a communication operation can be substantial in data volume and still contribute little elapsed time if its dependencies and placement permit overlap.

The paper's comparison of high and restricted TP also uses a time breakdown. In its appendix, the authors describe a 32K GPU case with NVL32 in which capping TP and the context parallelism folded into it forces greater use of pipeline and data parallelism. The pipeline then spends more time in bubbles. Giving the search more freedom to use TP can increase the cost of that communication and even the reported computation time, while reducing total execution time through the saving in pipeline overhead. This helps explain why lowering TP everywhere would sacrifice part of what made the healthy layout efficient.

Selective power boosting has a measurable efficiency cost

For the TP30 setup, the simulator reports a performance-per-watt reduction of 2.8% at 1.1× baseline power and 6.5% at 1.2× baseline power. Those figures describe the efficiency of operation at the stated power settings. The aim of increasing power is to recover throughput from fewer devices, and the resulting increase in throughput does not keep pace with the increase in power in these comparisons.

The authors argue that this cost is limited by boosting only impaired domains. In their worst case, they report that the penalty applies to 12% of NVLink domains. Power from unavailable GPUs can be directed to active ones within the rack. The analysis thereby distinguishes the price of running a device at a higher power from the effect of boosting a subset of groups on the larger system. It also explains why the proposal leaves healthy domains at normal power even though they too could potentially run faster with a higher power budget.

The software and power-assisted variants expose a related tradeoff in the failure experiments. With software NTP, giving up some local batch work is the way to make an affected replica finish in time. With NTP-PW, the full local batch is retained at higher power on the affected hardware. Both variants rely on the same ability to use reduced TP and synchronize gradients across unequal layouts. The difference in spare requirements follows from how each variant makes up the missing compute capacity under the chosen workload and failure trace.

Faults that remove several GPUs leave less room for recovery

The authors vary how many GPUs are directly taken out by an individual fault, because treating every failure as isolated can favor a recovery method that depends on having survivors. According to the characterization they cite, 91% of failures fall into two categories that affect individual GPUs: uncontained memory errors and memory management unit errors. The same characterization attributes 5% of errors to NVLink, a source of faults that can affect additional devices. The paper also notes that a repair or restart policy can determine the practical unit of removal. It gives a GB200-NVL72 example with 36 CPUs and 72 GPUs in which discarding a whole node can be simpler than retaining only its working part.

Increasing that direct fault radius makes NTP and NTP-PW lose more throughput. Fewer available GPUs mean less remaining compute in the affected domain and a harder task for the smaller group. DP-DROP shows no change in the comparison described by the paper because the policy already discards at data-replica granularity. Both NTP variants still outperform DP-DROP over the tested fault radii. That is evidence that the benefit survives the particular multi-device faults the authors vary, while showing why the exact gain depends on the size of the smallest unit that can be kept in service.

Limitations

Limits the authors identify

The large scale-up systems motivating the design were insufficiently available for the authors to perform the main failure experiments on them. They therefore use a simulator for the 32K B200 cluster and use hardware measurements to check aspects of the simulated performance. The physical NTP prototype establishes the cost of resharding in a smaller setup. The physical DGX-H100 comparisons check predictions for throughput across configurations and powers. The headline fault-recovery results combine these mechanisms in simulation.

The authors acknowledge limits to the flexibility of sharding. Some TP degrees divide the attention heads unevenly, leaving more work on certain GPUs. Reduced groups also have fewer endpoints for pipeline communication, so the aggregate bandwidth between stages can fall. The software resource manager concentrates affected stages, but healthy domains within an affected replica can have unused capacity for this job. The paper proposes making those devices available for other workloads where possible and retains spares as a fallback.

The paper identifies conditions on the power-assisted result as well. The rack must tolerate a higher local draw and remove the extra heat. More power also comes with worse performance per watt in the sensitivity study. The authors give examples of accelerators and cooling systems that support high power as evidence for the engineering feasibility of the proposal. Those examples concern components and existing capabilities. The fixed-batch result rests on the assumed response of the proposed rack and the workload when selective boosts are applied.

Finally, the authors discuss uncertainty in the severity and frequency of faults. Their main experiments generally assume that a GPU failure directly removes one GPU, and the larger-radius analysis tests departures from that case. They also use failure rates from earlier hardware and choose repair times for the trace. The paper raises the possibility that more complex hardware could show higher failure rates. Its alternate trace explores one such possibility, while the future rate for a particular deployment remains open.

Limits of the evidence

The main simulation represents a particular large job on domains of 32 GPUs, using TP32 with reduced degrees of TP30 and TP28. The paper motivates the work with other domain sizes and gives a TP64 example, but the full throughput and spare requirements are reported for the evaluated layout and trace. Different degrees can alter head balance, how much state must fit per GPU, and how much gradient traffic must move. The implementation equations show how to preserve the calculation when redistributing shards. They do not establish that an arbitrary surviving group has enough memory or an acceptable iteration time.

The software comparison shows how much training work can be processed under the selected batch policy. It does not report the resulting effect on convergence or final training quality when the total minibatch varies. The fixed-batch scenario avoids that specific variation by enforcing a capacity condition. The paper does not follow a complete training run to measure the quality of the resulting parameters under either policy. Its workload descriptions and performance results are appropriate evidence for iteration time, throughput and capacity, while learning outcomes remain outside the measurements.

The prototype and simulator checks leave some details unmeasured at the intended deployment scale. The prototype has a single pipeline stage per replica. The simulator includes reduced cross-stage bandwidth and assumes that the local broadcast for mismatched groups can overlap with receiving activations. The validation figures describe the correlation between predicted and measured throughput. The paper gives no numerical prediction error or uncertainty range for the large-scale fault projections. The comparisons establish that simulated throughput tracks the tested regimes, while leaving the precision of a particular projected loss open.

The paper presents a mapping algorithm whose printed rank bounds conflict with the adjacent description of the offload devices. The described construction takes the extra devices from the healthy group after selecting the smaller set of synchronization ranks. That interpretation is also consistent with the appendix's account of senders and receivers for the precomputed exchange. The prose and the prototype trace support the intended data movement, while the printed pseudocode would require clarification for a direct implementation.

The fixed-batch result also has a specific meaning for interruption. The resource manager assigns groups on restart, and the spare-capacity experiment counts pauses when the job cannot assemble the target batch. It does not give a separate measurement of time lost to detecting the fault, restarting, restoring a checkpoint or configuring the new groups at the target scale. Those delays can coexist with enough post-restart capacity to keep the batch full. Thus the paper's zero-spare power-assisted result establishes that the simulated job meets its batch constraint under that failure scenario, with the tested resource and power assumptions.

What came after

No later study is documented here as extending or evaluating NTP. The paper leaves open how its shard mapping and selective boosting perform together on a large production cluster, including the time spent on restart and the effect of faults that take out several devices at once.

Cite

Cite as Daiyaan Arfeen, Dheevatsa Mudigere, Ankit More, Bhargava Gopireddy, Ahmet Inci and Gregory R. Ganger. 2025. Nonuniform-Tensor-Parallelism: Mitigating GPU failure impact for Scaled-up LLM Training. arXiv:2504.06095.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2504.06095 · arXiv 2504.06095

@misc{arfeen2025nonuniform,
  title = {{Nonuniform-Tensor-Parallelism: Mitigating GPU failure impact for Scaled-up LLM Training}},
  author = {Daiyaan Arfeen, Dheevatsa Mudigere, Ankit More, Bhargava Gopireddy, Ahmet Inci and Gregory R. Ganger},
  year = {2025},
  doi = {10.48550/arxiv.2504.06095},
  eprint = {2504.06095},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2504.06095}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/arfeen-2025-nonuniform-tensor-parallelism-mitigating-gpu/