Large Model Training on Domestically Developed Full-Featured GPUs: Adaptation and Stability Practices
As large-model training moves into the ultra-large-scale stage, compute adaptation is shifting from whether inference can run to whether training can run continuously and stably. This article examines the engineering methodology behind adapting a nearly three-trillion-parameter flagship multimodal model to a type of domestically developed full-featured GPU and completing 400 consecutive optimizer updates on two nodes with 16 GPUs. It distinguishes training adaptation from base pretraining, outlines the full training chain from model loading and sharding to gradient synchronization, checkpointing, and fault recovery, and discusses stability validation metrics, engineering tooling, and the path from "can train" to "stable training" and "out-of-the-box training."
Large Model Training on Domestically Developed Full-Featured GPUs: Adaptation and Stability Practices
As large-model training enters the ultra-large-scale stage, discussions of compute adaptation are shifting from “whether inference can run” to “whether training can run continuously and stably.” The former usually focuses on operator coverage, model loading, and whether a single forward inference pass can complete. The latter requires backpropagation, gradient synchronization, optimizer updates, checkpoint saving, exception recovery, and long-term stability monitoring to form a complete loop. A recent practice around training adaptation for a nearly three-trillion-parameter flagship multimodal model on a type of domestically developed full-featured GPU, followed by 400 consecutive optimizer updates on two nodes with 16 GPUs, provides a typical sample for observing the engineering methodology of training adaptation.
A common misconception should be clarified first: successful training adaptation does not mean the model completed base pretraining on that hardware. Training adaptation proves that the model training pipeline can run on the target hardware and software stack, including model loading, parameter sharding, forward and backward computation, gradient synchronization, and optimizer updates. The original compute source for base pretraining, the training data mixture, and the full training cycle generally require explicit disclosure by the model provider. It is also common in the industry for technical reports to list validation on different hardware routes side by side, but this often only shows that inference operators or some training operators are available; it cannot directly establish the attribution of base-pretraining compute. Distinguishing “adaptation/integration success” from “pretraining completion” is an important premise for evaluating domestic compute training capability.
1. The Core of Training Adaptation: From Isolated Operators to the Full Training Chain
Inference integration usually focuses on forward operator coverage, model weight loading, precision alignment, and throughput optimization. Training adaptation is far more complex and must at least connect the following chain:
- Model loading and weight partitioning: Ultra-large models cannot fit entirely in single-GPU memory. Parameters, gradients, and optimizer states must be sharded, and the post-loading shard layout must remain consistent with the computation graph.
- Data pipeline and shard scheduling: Multi-node, multi-GPU training requires deterministic data sampling, preprocessing, batch division, and inter-process scheduling to avoid different training processes reading inconsistent samples or experiencing step misalignment.
- Forward and backward computation: Training requires not only forward operators but also stable gradient computation paths for backward operators, loss functions, normalization layers, attention mechanisms, and multimodal fusion modules.
- Gradient synchronization and communication overlap: In cross-node training, gradient reduction, parameter gathering, and sharded communication are major overheads. Hierarchical communication, compute-communication overlap, and reasonable sharding strategies are needed to reduce waiting.
- Optimizer updates and numerical stability: Mixed-precision training, dynamic loss scaling, gradient clipping, NaN/Inf detection, and optimizer state management determine whether long-duration training will encounter numerical overflow or abnormal interruption.
- Checkpointing and fault-tolerant recovery: Continuous training requires periodic sharded checkpoints and recovery capability after process failure; otherwise, long-running tasks lack operability.
In such practices, a native sharded data parallel training path is a common approach: parameters, gradients, and optimizer states are partitioned by training process, and collective communication performs the necessary parameter gathering and gradient reduction, thereby supporting larger models under limited memory. The key is not whether a single operator is available, but whether the complete chain from model loading and shard scheduling to gradient synchronization is consistent, observable, and recoverable.
2. Two Nodes, 16 GPUs, 400 Update Steps: What Stability Validation Looks At
Completing 400 consecutive optimizer updates on two nodes with 16 GPUs is a stability validation scenario with engineering significance. It is not equivalent to full pretraining, but it can cover key paths such as cross-node communication, shard scheduling, backpropagation, and optimizer state updates. When evaluating this type of validation, the following metrics should be emphasized:
- Whether the loss remains finite: The loss at each step must not contain NaN or Inf, and there should be no unexplained sudden changes within a short number of steps.
- Whether the gradient norm is controllable: The gradient norm should remain within a reasonable range. Sustained growth or a sudden drop to zero may indicate numerical overflow, communication misalignment, or an abnormal shard layout.
- Whether training processes remain continuous: All training processes should complete the same number of optimizer update steps, with no timeouts, hangs, or abnormal exits in some processes.
- Whether communication and memory remain stable: Cross-node collective communication should not accumulate timeouts, and GPU memory usage should not keep growing with the number of steps.
- Whether checkpoints and logs are complete: Loss, gradient norm, learning rate, and communication time per step should be recordable for troubleshooting.
According to publicly available technical descriptions, this type of experiment requires all 16 training processes to complete 400 consecutive optimizer updates, with loss and gradient norm remaining finite throughout and no numerical overflow or abnormal interruption. This result indicates that the training chain has basic stability over a short cycle. However, moving toward long-term training of trillion-parameter models will require longer stress testing, fault injection, and recovery drills.
3. Engineering System: From “Can Train” to “Out-of-the-Box Training”
A single successful training run is only the starting point. True compute support for frontier large models requires an engineering system that ensures repeatability, observability, and operability. A complete training engineering system usually includes:
- Operator and graph adaptation layer: Covers commonly used training operators, backward operators, mixed-precision paths, and multimodal fusion operators, and establishes a precision alignment baseline.
- Parallel strategy configuration layer: Combines data parallelism, sharded data parallelism, tensor parallelism, pipeline parallelism, or expert parallelism according to model scale, avoiding reliance on a single parallel strategy alone.
- Communication tuning layer: Performs hierarchical communication, communication group merging, and compute-communication overlap for cross-node bandwidth and topology.
- Observability layer: Collects loss, gradient norm, learning rate, memory usage, communication time, process status, and hardware alerts in a unified way.
- Automation toolchain: Provides configuration validation, launch orchestration, fault retry, checkpoint management, and performance profiling to reduce the operational cost from model integration to stable training.
The following pseudo-code summarizes key checkpoints in a stable training loop:
training:world_size: 16nodes: 2sharding: parameter_gradient_optimizergrad_sync: reduce_scatter_then_all_gatherstability:check_nan_inf: truegrad_clip_norm: 1.0loss_scale: dynamiccheckpoint:interval_steps: 50keep_last: 2
for step in range(max_steps):batch = data_loader.next()loss = model(batch)loss.backward()sync_gradients()grad_norm = compute_grad_norm()assert_all_finite(loss, grad_norm)clip_gradients(grad_norm)optimizer.step()optimizer.zero_grad()log_metrics(step, loss, grad_norm)if step % checkpoint_interval == 0:save_sharded_checkpoint()
These configurations are not proprietary interfaces of any product; they illustrate that training adaptation needs to build stability checks into the training loop. For ultra-large models, any undetected numerical anomaly may amplify into training failure after hundreds of steps.
4. Practice Path and Future Directions
From an engineering practice perspective, the training support capability of domestically developed full-featured GPUs is expanding from inference deployment to full-chain training. Publicly mentioned practice directions include training hundred-billion-parameter scientific foundation models from scratch, full-stack native training of world models, full-process training of embodied intelligence models, and training advancement for trillion-parameter models. These scenarios share complex model structures, long training pipelines, and high communication and memory pressure; completing inference adaptation alone cannot meet the requirements.
In the future, competition in training adaptation will not be only about whether a given model can run. It will be about whether a complete capability can be formed from operator adaptation and multi-GPU collaboration to automated toolchains, enabling frontier models on domestically developed full-featured GPUs to move from “can train” to “stable training” and “out-of-the-box training.” This requires coordinated evolution of hardware, software stacks, parallel strategies, and operations systems, as well as reproducible experimental metrics and long-term stability data to build engineering trust.
