Large Model Training Adaptation and Stability Practices on Domestic Full-Function GPUs
Large-model training is no longer only about whether individual operators can run; it requires an end-to-end closed loop covering model loading, sharding scheduling, gradient synchronization, numerical stability, fault recovery, and automation tooling. This article reviews a practice by a Chinese full-function GPU vendor that adapted a flagship open-source model with nearly three trillion parameters and ran cross-node joint training on two nodes with 16 accelerator cards. All 16 training processes completed 400 consecutive optimizer updates, with loss values and gradient norms remaining finite and no numerical overflow or abnormal interruption. The article clarifies the boundary between training adaptation and pretraining ownership, explains the fully sharded data parallel multimodal training path, summarizes the stability-validation methodology and engineering capabilities, and offers deployment recommendations for teams building large-model training on domestic full-function GPUs.
Large Model Training Adaptation and Stability Practices on Domestic Full-Function GPUs
As large-model parameter scales continue to rise, the challenges facing training systems have expanded from whether a single operator can run to a complete closed loop covering model loading, sharding scheduling, gradient synchronization, numerical stability, fault recovery, and automated tooling. Recently, a Chinese full-function GPU vendor completed training adaptation for a flagship open-source model with nearly three trillion parameters, using a flagship training-and-inference integrated accelerator card and an in-house software stack. The vendor also completed a cross-node joint training test on two nodes with 16 accelerator cards in total: all 16 training processes completed 400 consecutive optimizer updates, loss values and gradient norms remained finite throughout, and no numerical overflow or abnormal interruption occurred. The value of this practice lies not in a single performance number, but in validating that the end-to-end training link—from model loading to gradient synchronization—has runnable, observable, and recoverable engineering capability.
Clarifying the Boundary Between “Training Adaptation” and “Pretraining Ownership”
When discussing the relationship between large models and accelerators, the industry often conflates “Day 0 adaptation,” “inference integration,” “training adaptation,” and “pretraining.” In reality, these concepts correspond to different levels of technical depth.
First, inference deployment adaptation usually focuses on operator coverage, precision alignment, memory footprint, throughput, and latency. Its goal is to enable a model to complete forward inference on new hardware. Second, training adaptation further requires backpropagation, gradient computation, optimizer updates, distributed communication, and checkpoint saving to all be connected. If any link is missing, training may be interrupted or numerical anomalies may occur. Third, pretraining ownership concerns which compute cluster the model base was trained on, with what data and hyperparameters, and from scratch. This is not the same proposition as “a model can complete training adaptation on a certain type of chip.”
Therefore, “successful adaptation/integration” does not mean “the model was pretrained on that chip.” For example, some large-model technical reports validate operators and parallel schemes across different AI accelerator paths side by side. The industry generally understands this as compatibility validation for inference operators or training operators. As for the original compute source of base-model pretraining, if the official disclosure is absent, one should not over-infer. For developers, the rigorous statement is: a certain class of accelerator cards already has the technical conditions for training adaptation, fine-tuning, or continued training of the model; it is not directly equivalent to the model base having been pretrained on that hardware.
Core of Training Adaptation: Fully Sharded Data Parallel Multimodal Training Path
This practice built a native fully sharded data parallel multimodal training path and connected the complete training link from model loading and sharding scheduling to gradient synchronization. For a model with nearly three trillion parameters, a single card cannot hold the full parameters, gradients, and optimizer states. Parameter sharding, gradient sharding, optimizer state sharding, and cross-node communication must work together.
The key steps can be abstracted as follows:
- Model loading and parameter sharding: Split model parameters across accelerator cards by layer, by tensor, or by expert module, while keeping metadata consistent for forward and backward computation. Multimodal models also need to handle encoders and fusion layers for heterogeneous inputs such as text, images, and video. The sharding strategy cannot simply average by parameter count; it must also consider computational load and communication overhead.
- Sharded scheduling and computation-communication overlap: During a training step, each process loads data by shard, performs forward and backward computation, and conducts parameter aggregation or gradient synchronization when needed. A good implementation should hide communication behind computation as much as possible and reduce cross-node waiting.
- Gradient synchronization and optimizer updates: After backpropagation, sharded gradients are reduced, clipped, and updated. This stage is a high-risk area for numerical stability issues, so loss values, gradient norms, learning rates, and update steps must be closely monitored.
- Multimodal data pipeline: Multimodal training is more sensitive to data loading, preprocessing, and sample mixing. Data shards for each process must be balanced to avoid some processes sitting idle for long periods.
A stable training-step inspection flow can be sketched as follows:
for step in range(total_steps):batch = load_sharded_multimodal_batch(step)loss = model_forward_backward(batch)assert is_finite(loss)assert is_finite(gradient_norm)synchronize_sharded_gradients()clip_gradients_by_norm(max_norm)optimizer_update()if step % checkpoint_interval == 0:save_sharded_checkpoint(step)write_metrics(step, loss, gradient_norm)
The pseudocode above is interface-agnostic. It emphasizes a set of general engineering principles: every step should check whether loss values and gradient norms are finite, sharded checkpoints should be saved periodically, and key metrics should be written to the monitoring system. Only by turning “it can run” into “it runs stably and observably” does training adaptation become production-relevant.
Methodology for Stability Validation with 16 Cards Across Two Nodes and 400 Steps
The experiment used two nodes with 16 accelerator cards in total to complete a cross-node joint training test. All 16 training processes completed 400 consecutive optimizer updates. Loss values and gradient norms remained finite throughout, with no numerical overflow or abnormal interruption. For large-model training, the significance of 400 consecutive updates is to validate the stability of the end-to-end link, not to replace conclusions from large-scale, long-duration training.
Stability validation should focus on the following dimensions:
- Numerical stability: Loss values should not contain NaN or Inf, and gradient norms should remain within a reasonable range. Mixed-precision training requires attention to loss-scaling strategy and accumulation precision.
- Communication stability: Cross-node gradient synchronization should validate network jitter, retransmission, and timeout handling. Changes in multi-card communication topology may cause some processes to wait.
- Process consistency: The 16 training processes should remain in step. Some processes must not exit early or produce inconsistent checkpoints.
- Observability: Loss, gradient norm, learning rate, throughput, memory footprint, and communication time at every step should be collectable, and anomalies should be traceable to specific processes and operators.
- Recoverability: Sharded checkpoints should be saved periodically, and recovery from the latest checkpoint after an interruption should be validated to avoid losing long-cycle training progress due to a single point of failure.
Continuous updates over 400 steps are a valuable engineering threshold: they prove that model loading, sharding scheduling, gradient synchronization, optimizer updates, and logging/monitoring can work together. However, for trillion-parameter models, longer runs, more nodes, and higher fault-injection frequency are still needed to evaluate mean time between failures and recovery efficiency in real production environments.
Engineering System: From Fast Inference Deployment to Full-Link Stable Training
Behind this practice is an engineering system that supports both fast inference deployment of frontier complex large models and full-link stable training. For developers, it can be understood through the following capability layers:
- Operator and precision layer: Cover forward, backward, normalization, attention, communication, and optimizer operators required for training, and establish precision-alignment regression tests.
- Distributed parallelism layer: Support combined strategies such as data parallelism, tensor parallelism, pipeline parallelism, expert parallelism, and fully sharded data parallelism, and select schemes based on model structure and cluster topology.
- Scheduling and fault-tolerance layer: Use general infrastructure such as container platforms, logging services, monitoring and alerting, and object storage to implement task orchestration, metric collection, checkpoint persistence, and fault recovery.
- Automation toolchain layer: Automate environment checks, operator regression, precision comparison, performance profiling, checkpoint validation, and report generation to reduce manual tuning and troubleshooting costs.
Moving from “can train” to “trainable out of the box” depends not on single-point operator availability, but on making environment preparation, model conversion, parallel configuration, stability checks, monitoring and alerting, and fault recovery into reusable standard processes. Developers should first establish a small-scale numerical-stability baseline, then gradually expand node scale; first fix random seeds and data order, then introduce mixed precision and communication optimization; first verify that single-step loss and gradients are finite, then pursue throughput improvements.
Abstracting and Extending the Practice Results
In larger-scale training practice, related work has covered multiple scenarios: completing full training from scratch of a hundred-billion-parameter scientific foundation model, supporting full-stack native training of a world model, jointly completing full-process training of an embodied brain model, and advancing trillion-parameter large-model training. These scenarios share common characteristics: complex model structures, diverse data modalities, long training cycles, and higher requirements for sharding scheduling, communication efficiency, and fault tolerance.
For the industry, the significance of domestic accelerator cards training domestic models is not only hardware substitution, but also the coordinated maturity of software stacks, parallel strategies, toolchains, and engineering standards. Only by advancing training adaptation from “runnable in the lab” to “operable in production” can frontier large models truly move from “trainable” to “trainable out of the box” on domestic full-function GPUs.
Deployment Recommendations and Future Challenges
For teams planning to conduct large-model training on domestic full-function GPUs, the following sequence is recommended:
- Establish a minimum reproducible baseline: Fix the model version, data sharding, and random seeds, and validate single-step forward, backward, and optimizer updates.
- Expand scale in stages: Move from single-machine multi-card to two-node 16-card, then to larger clusters, and observe communication and stability metrics layer by layer.
- Improve observability: Bring loss values, gradient norms, learning rate, throughput, memory footprint, communication time, and process status into unified monitoring.
- Strengthen checkpointing and recovery drills: Save sharded checkpoints periodically and proactively inject faults to validate recovery processes.
- Build automated regression: Turn operator precision, numerical stability, and performance baselines into regression tests to avoid hidden degradation introduced by software-stack upgrades.
In the future, the competitive focus of training adaptation will shift from “single-operator availability” to “full-link stability, automated tuning, and out-of-box training.” Only by continuously refining operator adaptation, multi-card collaboration, automated toolchains, and engineering operations can frontier large models achieve a reproducible, scalable, and production-ready training experience on domestic full-function GPUs.
