Training Enablement for a Nearly 3-Trillion-Parameter Model on Domestic GPUs: 400 Consecutive Stable Steps on 16 Cards Across 2 Nodes
This article breaks down what "training enablement" actually means versus pre-training, explains why 400 consecutive optimizer updates on 16 GPUs across two nodes is a meaningful stability benchmark, and walks through the native FSDP2 training path, the stability engineering practices behind long runs, and the layered engineering system required to support frontier-scale models. Developers will find practical guidance on code-based acceptance criteria, reproducibility, and total cost of ownership when bringing up large model training on new hardware and software stacks.
From “It Runs” to “It Holds”: A Technical Breakdown of Large Model Training Enablement on Domestic GPUs
1. Aligning the Concepts: Training Enablement Is Not Pre-Training
A notable technical milestone has recently surfaced in the industry: a domestic full-function GPU vendor completed training enablement for an open-source flagship model with nearly 3 trillion parameters, using its flagship training-and-inference compute card and a self-developed software stack. Under a configuration of two nodes with 16 cards in total, the setup completed 400 consecutive optimizer updates with no numerical overflow and no abnormal interruptions.
Many readers’ first reaction is “domestic cards trained a large model.” A strict conceptual separation is needed here, or the result will be misread:
- Pre-training: Starting from randomly initialized weights, repeatedly running forward and backward passes over massive corpora to produce base weights. It sets the ceiling on model capability, and the compute investment is typically at the thousand- or ten-thousand-card scale, running for weeks or even months.
- Training enablement: Verifying that the target model’s architecture, operators, parallelism strategy, and numerical behavior can be executed correctly and stably on new hardware and a new software stack. It addresses the engineering feasibility question of whether this hardware/software combination can carry this class of model training.
- Inference enablement/integration: Only guarantees correct forward computation and adequate throughput; it does not involve backward propagation, optimizer state, or gradient synchronization.
So “training enablement completed” precisely means: the full training path from model loading and shard scheduling through gradient synchronization has been connected end to end, and numerical stability has been demonstrated. It is not equivalent to saying “the model’s base weights were pre-trained on this hardware.” There is precedent in the industry for technical reports that validate fine-grained expert parallelism across multiple hardware platforms in parallel, yet the original compute source of the base model is usually not stated explicitly in the report’s conclusions. Conflating enablement validation with pre-training output both overstates the coverage of a single validation run and understates the complexity of pre-training engineering.
2. Why “400 Consecutive Stable Steps” Is a Meaningful Metric
Getting a short run to pass is not hard; staying up across many consecutive steps is. 400 consecutive optimizer updates are worth calling out separately because they cover the window in which training stability problems surface most readily.
1. Coverage of the Full Optimizer State Lifecycle
After the first step, the first and second moments have only just been initialized; after a few dozen steps, the second-moment estimate for the adaptive learning rate gradually takes shape; after a hundred or more steps, weight decay, gradient clipping, and learning rate scheduling begin to produce cumulative effects. If the dynamic range of the numerical format (such as low-precision floating point) is handled poorly, problems often appear at this stage as loss spikes or surging gradient norms.
2. Coverage of the Cross-Node Communication Steady State
Single-node multi-card setups only involve intra-machine interconnects, whereas cross-node training introduces variables such as network topology, collective communication tuning, timeouts, and retries. 400 consecutive steps mean the communication path has gone through enough synchronization rounds to expose intermittent stalls and failures of communication/computation overlap.
3. Observable Acceptance Criteria Must Be Written Down
The stated condition is that “loss and gradient norm stayed finite throughout, with no numerical overflow or abnormal interruption.” In engineering practice, it is advisable to turn such acceptance criteria into an executable checklist:
# Illustrative code: core checkpoints for training stability acceptancefor step, batch in enumerate(train_loader):loss = model(batch) # forward passloss.backward() # backward pass, produces gradientsgrad_norm = clip_grad_norm_(model.parameters(), max_norm=1.0)assert torch.isfinite(loss), f"step {step}: loss is not finite"assert torch.isfinite(grad_norm), f"step {step}: grad_norm is not finite"optimizer.step()optimizer.zero_grad(set_to_none=True)if step % 50 == 0:log({"loss": loss.item(), "grad_norm": grad_norm,"lr": scheduler.get_last_lr()[0], "step": step})
Judging a run as “stable” should cover at least four items: finite values, no abnormal interruption, no sustained throughput degradation, and no monotonically increasing memory usage (which rules out memory leaks).
3. Why the Native FSDP2 Training Path Matters
The report mentions building a native FSDP2 multimodal training path. The technical point here lies in the word “native”: rather than forcing a parallelism strategy into the framework with external patches, sharding, communication, recomputation, and checkpointing work together at the framework level.
The core idea of fully sharded data parallelism is to shard the three tensor categories—parameters, gradients, and optimizer state—along the data parallel dimension, all-gather parameters on demand during the forward and backward passes, and release them immediately after computation, while gradients are aggregated with reduce-scatter in the backward phase. Compared with traditional data parallelism, memory usage drops from “one full copy of the state per card” to “one shard per card,” which is the fundamental reason a nearly trillion-parameter model can run on a limited number of cards.
A typical training path can be abstracted as:
- Model loading: Parse the model architecture from configuration and determine the parallel dimensions (a combination of data, tensor, pipeline, and expert parallelism).
- Shard scheduling: Build a shard mapping for each parameter and plan the timing and ordering of all-gather / reduce-scatter, overlapping them with computation as much as possible.
- Forward and recomputation: Apply selective recomputation to activations, trading compute for memory.
- Backward and gradient synchronization: Aggregate sharded gradients, combined with gradient clipping and low-precision reduction.
- Optimizer update: Each card updates only the shard it holds, then synchronizes the parameter version.
- Checkpointing and fault tolerance: Periodically save sharded checkpoints asynchronously, with support for resuming from a checkpoint.
Illustrative configuration (pseudocode, semantics only):
parallel:data_parallel_size: 16tensor_parallel_size: 1pipeline_parallel_size: 1sharding: full # full sharding of parameters/gradients/optimizer statemixed_precision: bf16 # low precision for compute, high-precision accumulation for critical reductionsactivation_checkpointing: selectivecheckpoint:interval_steps: 100async_save: true
The extra complexity of the multimodal training path is that the vision encoder, the projection layers, and the language backbone often differ enormously in parameter count and compute characteristics. Applying the same parallelism and precision strategy uniformly can easily make one segment a memory or communication bottleneck. The reasonable approach is to set differentiated strategies per module and make shard planning aware of this heterogeneity.
4. Stability Engineering: Turning Intermittent Crashes into Locatable Problems
Staying up across many consecutive steps is not luck; it comes from stacking four categories of mechanisms.
- Numerical health monitoring: Periodically sample loss, gradient norm, parameter norm, and activation distributions, with spike alert thresholds; use high-precision accumulation for low-precision reductions to avoid dynamic range overflow.
- Communication observability: Record the latency distribution and retry count of each collective communication to identify slow nodes; separately instrument cases where communication/computation overlap fails.
- Memory and fragmentation governance: Fix random seeds and data ordering for reproducible experiments, monitor peak memory and fragmentation rate, and adjust recomputation granularity and sharding strategy when necessary.
- Fault tolerance and resumption: Persist sharded checkpoints asynchronously to high-throughput storage, and close the loop with logging and alerting services so that a long run of 400 steps can be safely interrupted and resumed.
5. The Engineering System: From Fast Inference Deployment to Full-Path Stable Training
The report emphasizes that the vendor already has the engineering capability to support frontier complex large models. Abstractly, this system has four layers:
- Operator layer: Coverage of high-frequency operators such as attention variants, normalization, positional encoding, and expert routing, ensuring numerical correctness and target performance.
- Parallelism layer: Multiple parallel dimensions that can be combined, supporting differentiated sharding for heterogeneous modules.
- Toolchain layer: Automated configuration generation, performance profiling, failure diagnosis, and checkpoint resumption, lowering the barrier to use.
- Ecosystem layer: Interface alignment with mainstream training frameworks, keeping user migration costs as low as possible.
The practice of training domestic models on domestic chips also confirms the necessity of this system: from complete from-scratch training of a ten-billion-scale scientific foundation model, to full-stack native training of a multi-dimensional world model, to full-pipeline training of an embodied intelligence brain model, parameter scale and structural complexity rise step by step, ultimately pointing toward advancing the training of trillion-parameter models. The value of this path is that each step fills gaps in operators, parallelism, and the toolchain.
6. Practical Recommendations for Developers
- Align at small scale first, then scale up: Get numerical alignment working on a single node with a few cards before expanding to multi-node, multi-card setups, avoiding burning large cluster resources on small problems.
- Codify acceptance criteria: Write “finite loss, finite gradient norm, no interruption, stable memory” as assertions and dashboards rather than verbal agreements.
- Prioritize reproducibility: Fix data ordering and random seeds; any performance optimization must be premised on numerical alignment.
- Watch total cost of ownership: Training stability directly determines effective compute utilization, and the cost of rolling back after one crash often exceeds the upfront toolchain investment.
- Combine with cloud environments: A container platform hosting the training image, object storage holding checkpoints, and monitoring, alerting, and logging services providing observability are a fairly general combination.
7. Conclusion: From “It Can Train” to “Train Out of the Box”
The technical substance of a training enablement run with 16 cards across two nodes holding stable for 400 consecutive steps lies not in “getting it to run” but in “keeping it running and being able to explain why.” Only when operator coverage, shard scheduling, numerical monitoring, and fault-tolerance tooling are consolidated into standardized capabilities will the barrier to using frontier large models on domestic full-function GPUs genuinely drop. The value of an enablement result ultimately comes down to whether it turns intermittent problems into an engineering process that is locatable, reproducible, and acceptable—which is the substance of “train out of the box.”
