How Emerging GPUs Support Large Model Training: From Capability to Stability
This article explores the technical challenges of adapting GPUs for large model training, distinguishing it from inference adaptation. It delves into the four key stages of the distributed training pipeline—native distributed paths, model loading, gradient synchronization, and numerical stability—and outlines the engineering systems required to transition from short-term execution to long-term, stable training.
1. First, Distinguish Two Things: Training Adaptation vs. Inference Adaptation
When new chips announce “first-time support” for a new model, they usually refer to inference-side integration. The model is already trained, and the chips run inference operators and deployment pipelines. Training adaptation is a different story. It requires synergy between the chip, software stack, and model, allowing the model to complete the entire process from initialization to multi-step parameter updates on the new hardware.
The differences can be summarized in the following table:
| Dimension | Inference Adaptation | Training Adaptation |
|---|---|---|
| Core Goal | Model outputs results correctly and quickly | Model completes parameter updates stably |
| Key Validation Metrics | Output consistency, latency, throughput | Finite loss and gradient norm, consistent convergence trend with reference implementation, no interruptions over long periods |
| Typical Failure Modes | Missing operators, precision deviation causing abnormal output | Numerical overflow, communication bottlenecks, insufficient VRAM, checkpoint restoration failure |
| Dependent Toolchain | Inference operator library, deployment framework | Distributed training framework, collective communication library, optimizer and checkpoint system |
Public materials may validate model capabilities across multiple compute routes, but these validations are mostly at the inference level. They do not indicate that the model’s foundational pre-training occurred on the corresponding hardware.
2. The Four Stages of the Training Pipeline
1. Native Distributed Training Path
Ultra-large models typically cannot fit into a single card. Fully Sharded Data Parallel (FSDP) shards parameters, gradients, and optimizer states across multiple devices, aggregating them on-demand during computation and releasing them afterward to reduce per-card VRAM usage. The first step of adaptation is to make this sharding mechanism run natively on the target software stack. “Natively” means the runtime uniformly orchestrates sharding and aggregation, rather than simulating it through a compatibility layer.
The native path brings three direct benefits:
- Aggregation and sharding are managed by the same scheduling logic, reducing redundant copies and synchronizations.
- Sharding granularity aligns with hardware topology, making communication volumes predictable and easy to optimize.
- In multimodal models, operators for vision and language branches can be placed within the same scheduling framework.
2. Model Loading and Sharding Scheduling
The loading phase must handle weight format parsing, parameter name mapping, and per-process shard alignment. During training, forward and backward computations must be correctly orchestrated layer by layer. When troubleshooting this phase, prioritize checking the following:
- Whether the shape, data type, and parameter name of each tensor correspond exactly before and after weight conversion.
- Whether the sharding boundaries of each process are consistent, especially when reloading after changing the number of cards.
- Whether random seeds and data sharding are reproducible, and whether multiple processes read non-overlapping data.
Below is an abstract illustration of cross-process training, intended only to explain the call sequence and not directly runnable:
# Abstract illustration, not directly runnable codefor step in range(total_steps):full_layer = all_gather(shard_params, layer_id) # Gather parameters by layer before forward passloss = forward(full_layer, batch) # Mixed precision forward computationbackward(loss * loss_scale) # Backward pass, with loss scaling to prevent underflowgrad_shard = reduce_scatter(full_grads) # Gradient reduction, each process keeps only its shardgrad_norm = clip_grad_norm(grad_shard, max_norm) # Gradient clippingassert is_finite(grad_norm) # Numerical stability checkoptimizer.step(grad_shard) # Each process updates only its local shardrelease(full_layer) # Release temporarily aggregated parameters
The most easily overlooked part of this pseudo-code is the stability check. If a numerical overflow is not caught in time, long-cycle training may continuously amplify errors in subsequent steps, causing massive waste of compute power.
3. Gradient Synchronization and Communication
In sharded training, parameters must be aggregated before the forward pass (All-Gather), and gradients must be reduced and scattered back to each process after the backward pass (Reduce-Scatter). Describing the entire process using only All-Reduce is inaccurate, as it would allow each process to retain full gradients, contradicting the goal of sharding.
In cross-node scenarios, the bandwidth and latency of these collective communications depend on network interconnect capabilities. When interconnect bandwidth is insufficient, communication slows down the entire training step, causing GPU utilization to drop. To determine if communication is a bottleneck, observe the ratio of communication time to compute time per step, and whether bandwidth utilization remains stable as the number of cards increases.
4. Numerical Stability Validation: What 400 Steps Mean
According to manufacturer disclosures, a dual-node setup with 16 accelerator cards completed about 400 optimizer updates, during which loss and gradient norms remained finite without numerical overflow or interruption. While this result has reference value, several contexts must be clarified when interpreting it:
- Parameter scale: “Nearly three trillion parameters” is the manufacturer’s claim. Public materials did not specify total parameters, activated parameters, or whether it uses a MoE architecture.
- Training method: Full parameter training, LoRA, and training only partial layers yield very different results.
- Resource configuration: Per-card VRAM, inter-card and inter-node interconnects, use of CPU or NVMe offloading, and parallel strategies all determine feasibility.
- Batch and precision: Global batch, sequence length, and mixed precision settings determine the actual computation per step.
- Process details: Whether checkpoint saving and restoration were included, and the threshold for judging loss and gradient norms.
400 steps can indicate that the software stack has no obvious numerical issues in the short term. It does not prove long-term training stability or that full precision perfectly matches the reference implementation. These two points require validation over thousands to tens of thousands of steps, with point-by-point comparison against the reference GPU’s loss curve.
3. From One-Time Success to an Engineering System
Running successfully once is just the starting point. The engineering system supporting long-term training typically includes the following capabilities:
- Operator coverage and precision alignment: Core operators need benchmark testing and regression testing, running automatically after every software update.
- Multi-card and multi-node collaboration: Collective communication libraries must implement congestion control and bandwidth aggregation tailored to network topologies.
- Automated toolchain: This includes distributed configuration generation, checkpoint resumption, monitoring and alerting, and automated anomaly diagnosis.
