Training Enablement for Large Models on Domestic GPUs: A Dual-Node, 16-GPU Stable Training Walkthrough
As model parameter counts move toward the trillion scale, locally developed and self-controlled compute supply has become a central industry concern. A domestic full-function GPU vendor recently announced that, using its flagship training-and-inference AI accelerator together with its in-house unified software stack, it completed training enablement for a frontier open-source large model with nearly three trillion parameters, and sustained 400 consecutive optimizer updates on a two-node, 16-card configuration. This case offers a useful lens on how domestic compute supports large model training. Rather than taking a product-centric view, this article works from general technical principles to explain the engineering logic and key challenges behind this kind of "training enablement."
1. First, a key distinction: training enablement is not pre-training
When discussing domestic chips and large models, the most common confusion is this: a chip having “completed training enablement for a model” does not mean the model was pre-trained from scratch on that chip. These are two entirely different layers of work.
Pre-training starts from massive amounts of unlabeled or weakly labeled text and, through self-supervised objectives such as next-token prediction, gradually learns language and world knowledge from random initialization. It requires thousands or even tens of thousands of accelerators running continuously for weeks or months, placing extreme demands on cluster scale, interconnect bandwidth, fault tolerance, and cost control. It is the most compute-intensive stage in the entire lifecycle of a large model.
Training enablement (also called training adaptation) means making a model’s forward pass, backward pass, and parameter updates execute correctly and efficiently on a specific hardware platform, while meeting numerical stability and throughput targets. Its core goal is to make the model trainable on that hardware, and it involves a chain of engineering work: operator implementation, parallel strategy mapping, communication library adaptation, numerical precision handling, and more.
An analogy: pre-training is like running a full marathon on one particular track, while training enablement is more like making sure an athlete can still run normally after switching to a new pair of shoes. Whether the shoes fit (whether hardware and the software stack match) and whether the running form stays stable (whether numerics hold up) are prerequisites that must be verified, but “being able to run” is not the same as “having finished the race.”
For exactly this reason, judging whether a domestic chip’s training capability is mature cannot rest on whether it has been “connected to” a given model. What matters is whether it can run stably over long periods under real training workloads, whether the loss converges normally, and whether numerical overflow or abnormal interruptions occur. The practice of 400 consecutive steps of stable running on two nodes with 16 cards is precisely a solid verification of that capability.
2. Fully sharded data parallelism: the first hurdle to fitting a large model
Large model training first runs into the memory wall. Take a trillion-parameter-scale model: parameters, gradients, and optimizer states alone add up to a memory footprint far beyond a single card’s capacity. The mainstream industry response is a class of techniques such as Fully Sharded Data Parallel (FSDP).
The core idea is to stop keeping a complete copy of the model state on every card. Instead, parameters, gradients, and optimizer states are sharded across all data-parallel processes. Each card permanently holds only one shard of the model state, gathers the parameter shards it needs on demand via communication (all-gather) during forward and backward computation, and releases them once computation finishes. During the optimizer update, each rank updates only the shard it owns, and the results are then synchronized.
This “trading communication for memory” strategy substantially lowers peak per-card memory usage and is core infrastructure for training very large models. In multimodal scenarios, the training path additionally has to handle encoding, alignment, and fusion for non-text modalities such as images, video, and audio, raising the bar for data pipeline scheduling, sharding of variable-length sequences, and organization of multimodal tokens.
A mature training enablement effort has to connect the complete chain from model loading → parameter sharding → forward/backward scheduling → gradient reduction → optimizer update. A defect or performance bottleneck in any single link gets amplified into crashes or convergence anomalies during long training runs.
3. Cross-node training: the real test of stability
Single-card and single-node problems are relatively manageable. What actually separates implementations is cross-node (multi-node, multi-card) joint training. When training scales from one node to two nodes with 16 cards, the communication pattern changes qualitatively:
- Intra-node communication typically relies on high-bandwidth, low-latency die-to-die or card-to-card interconnects and is efficient;
- Inter-node communication has to cross a network (RDMA, high-speed Ethernet, and so on), with noticeably worse bandwidth and latency than intra-node links, making it a potential bottleneck for overall throughput.
The core challenges of cross-node training include:
Overlapping communication with computation: ideally, communication such as gradient reduction and parameter gathering overlaps with the backward pass to hide communication latency. A poorly chosen overlap strategy leaves GPUs waiting idle in large numbers, and utilization collapses.
Load balancing: if the shards and compute volume assigned to different processes are unequal, faster processes end up waiting on slower ones, creating a “weakest link” effect.
Fault tolerance and recovery: the larger the cluster, the higher the probability of a single point of failure. Without effective checkpoints and automatic recovery, one anomaly can waste a long training run entirely.
Numerical consistency: when synchronizing gradients across nodes, inconsistent accumulation order or precision handling can introduce small but persistently accumulating numerical drift.
4. Numerical stability: loss and gradient norm as health signals
During long training runs, the two most direct indicators of whether training is “healthy” are loss and gradient norm.
- Loss reflects the gap between the model’s predictions and the true targets. Under normal training it should show a steadily decreasing or converging trend. A sudden spike, or a turn into NaN or Inf, usually signals a numerical problem.
- Gradient norm measures the overall magnitude of gradients during backpropagation. It needs to stay within a reasonable range: too large can make parameter updates overly aggressive and cause divergence (gradient explosion); too small can stall training (gradient vanishing).
In this practice, all 16 training processes completed 400 consecutive optimizer updates, with loss and gradient norm remaining finite throughout, no numerical overflow, and no abnormal interruptions. That is strong evidence of numerical stability. Achieving this stability typically requires combining several engineering measures:
# Generic engineering measures for training stability (pseudocode, not a specific framework API)for step, batch in enumerate(dataloader):# 1. Mixed-precision training: low precision accelerates compute, but needs loss scaling to avoid gradient underflowwith autocast(dtype=bfloat16):loss = model(batch)# 2. Loss scaling (optional): scale up the loss so tiny gradients do not become 0 in fp16# loss = loss * loss_scale# 3. Backward passloss.backward()# 4. Gradient clipping: cap the gradient norm to prevent gradient explosiongrad_norm = clip_grad_norm_(model.parameters(), max_norm=1.0)# 5. Optimizer updateoptimizer.step()optimizer.zero_grad()# 6. Monitoring: log loss and grad_norm, alert on anomaliesif not isfinite(loss) or not isfinite(grad_norm):trigger_alert_and_restore_from_checkpoint()
A few of these mechanisms deserve a closer look:
- Mixed-precision training: low-precision formats such as bf16 and fp16 significantly improve compute throughput and reduce memory usage, but their limited dynamic range makes gradient underflow or overflow likely during backpropagation. bf16 offers a wider dynamic range than fp16, so it is generally friendlier to training stability.
- Gradient clipping: by setting an upper bound on the gradient norm and scaling proportionally, this effectively suppresses gradient explosion and is a standard line of defense against divergence.
- Loss scaling: in fp16 scenarios, multiplying the loss by a large factor lifts tiny gradients into a representable range, and the scaling is undone before the update, counteracting underflow.
- Checkpoints and automatic recovery: periodically saving model state and optimizer state means that once NaN/Inf values or a process failure are detected, training can automatically resume from the most recent checkpoint instead of losing a long run.
5. From “trainable” to “ready-to-train”: why engineering systems matter
A single successful run of 400 stable steps proves that the hardware and software stack have the baseline ability to train. But to genuinely support production adoption, the “ready-to-train” bar still has to be cleared. That rests on a whole engineering system:
Operator completeness and correctness: large models involve a large number of complex operators, such as attention, normalization, various activations, and sparse computation. Each one needs a correct and efficient implementation on the domestic hardware, validated through strict numerical consistency checks.
Flexible combinations of parallel strategies: data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism (EP, mainly used in mixture-of-experts architectures) need to be composable and auto-tunable so they fit different model sizes and cluster topologies.
Automated tooling: from environment setup and dependency management to training script generation, profiling, and bottleneck localization, the maturity of the toolchain directly determines how efficiently migration and debugging go.
Support for trillion-parameter scale: as model sizes keep growing, demands on cluster interconnect, distributed fault tolerance, and memory optimization (activation recomputation, memory offloading) all rise.
One industry pattern worth noting: some frontier technical reports validate several different architectures of domestically produced AI accelerators alongside mainstream international GPUs, and run operator-level verification on the inference side for different parallel schemes (fine-grained expert parallelism, for instance). But this kind of “side-by-side validation” typically focuses on inference operators and does not amount to declaring the original compute source of pre-training. It is another reminder that assessing the maturity of domestic compute requires distinguishing the capability boundaries between inference validation, training enablement, and pre-training.
6. Conclusion
From single-card inference to multi-card training, from “runs” to “runs stably,” the ability of domestic GPUs to support large model training is evolving quickly. The practice of 400 consecutive stable steps on two nodes with 16 cards is only one verified slice of the training pipeline, yet it reflects several important signals: fully sharded data parallelism allows very large models to reside in limited memory through sharding; cross-node communication and compute overlap determine scaling efficiency; and stability in loss and gradient norm throughout is a direct expression of numerical health in training.
For developers and enterprises, understanding the difference between training enablement and pre-training, mastering methods for verifying distributed training stability, and building solid checkpoint and recovery mechanisms are the fundamentals of running large-scale training. As operator adaptation, multi-card coordination, and automated tooling continue to be refined, moving frontier large models on domestic full-function GPUs from “trainable” to “ready-to-train” is becoming an increasingly clear practical path in the push toward compute self-sufficiency.
