Technical Breakdown: Adapting Emerging Domestic GPUs for Ultra-Large-Scale Model Training

    This article provides a technical analysis of recent progress in adapting domestic GPUs for ultra-large-scale model training. It distinguishes between inference and training adaptation, explores key technical components such as parameter sharding, gradient synchronization, and mixed precision, evaluates the significance of stable 400-step optimizer updates, and outlines the evolutionary path for the domestic training ecosystem.

    In recent years, the demand for computing power in large model training has continued to surge. Whether domestic AI chips can support the full training of frontier large models has been a core issue of industry concern. Recent news indicates that a domestic compute vendor, using its flagship training and inference card along with a proprietary software stack, completed the training adaptation for an open-source large model with nearly three trillion parameters. It achieved stable operation for 400 continuous optimizer updates in a two-node, 16-GPU cross-node environment. This progress carries strong signaling significance and warrants an in-depth technical analysis.

    1. The Essential Difference Between Training Adaptation and Inference Integration

    First, we must clarify a commonly confused concept. What the industry often refers to as “Day 0 adaptation for the latest open-source large model” usually means that after a model is released, the chip vendor quickly completes operator adaptation and deployment verification on the inference side, enabling the model to run normally on the hardware. The requirements for training adaptation are significantly higher:

    1. Inference mainly involves forward computation, where operator coverage and precision alignment are relatively controllable.
    2. Training requires a complete closed loop of forward, backward, and optimizer updates. Any gradient implementation errors, numerical precision issues, or communication anomalies can lead to training divergence or silent errors.
    3. Training also involves the combined scheduling of distributed strategies such as data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism, demanding a much higher level of maturity from the software stack.

    Therefore, transitioning from “capable of inference” to “capable of training,” and finally to “stable training,” represents three critical milestones for the maturity of a domestic compute software stack.

    2. Key Technical Aspects of the Training Pipeline

    Based on disclosed information, this adaptation built a native distributed multimodal training path, connecting the full pipeline from model loading and sharded scheduling to gradient synchronization. Breaking it down, the key segments include:

    1. Model loading and parameter sharding. A model with nearly three trillion parameters cannot fit into the memory of a single GPU. It must rely on strategies like Fully Sharded Data Parallel (FSDP) to shard parameters, gradients, and optimizer states across multiple cards, aggregating them on-demand during forward and backward computation. A typical sharding configuration is illustrated below:

    1. from torch.distributed.fsdp import FullyShardedDataParallel as FSDP
    2. model = FSDP(
    3. model,
    4. sharding_strategy=ShardingStrategy.FULL_SHARD,
    5. mixed_precision=MixedPrecision(
    6. param_dtype=torch.bfloat16,
    7. reduce_dtype=torch.float32,
    8. ),
    9. device_id=torch.cuda.current_device(),
    10. )

    2. Gradient synchronization and communication optimization. In cross-node training, the communication efficiency of gradient AllReduce or Reduce-Scatter directly determines overall throughput. Domestic chips require proprietary high-speed interconnects and collective communication libraries, utilizing methods like compute-communication overlap and gradient bucketing to hide communication latency.

    3. Mixed precision and numerical stability. Training typically employs mixed precision to balance speed and stability. Loss scaling, gradient clipping, and the floating-point precision management of optimizer states must be deeply aligned with the hardware’s compute unit characteristics.

    3. Stability Verification: The Significance of 400 Continuous Updates

    This experiment completed 400 continuous optimizer updates in a two-node, 16-GPU cross-node environment. Throughout the process, loss values and gradient norms remained finite, with no numerical overflow or abnormal interruptions. Although the scale is still medium, it is technically substantial:

    1. Short-term stability is a prerequisite for long-cycle training. Real large model pretraining often lasts for weeks or even months. Any single NaN or process crash requires a checkpoint-based recovery mechanism, meaning stability issues will be amplified over time.
    2. Gradient norm monitoring is a core metric for training health. If the gradient norm experiences spikes or continuous growth, it often indicates problems with learning rate settings, data quality, or precision strategies.
    3. Cross-node joint operation also verifies system engineering capabilities such as network interconnect, fault tolerance, and scheduling, which cannot be covered in a single-node environment.

    4. Evolution Path of the Domestic Training Ecosystem from Engineering Practices

    Beyond this specific adaptation, relevant vendors have implemented large model training practices in multiple directions. These include training scientific foundation models with hundreds of billions of parameters from scratch, supporting full-stack native training for multimodal world models, and end-to-end training for embodied AI brain models. They are now pushing towards trillion-parameter training. These cases collectively point to a clear evolutionary path:

    1. Operator Layer: Continuously supplementing the high-performance operators required for large model training, especially key operators like attention mechanisms, Mixture of Experts (MoE) routing, and expert computation.
    2. Framework Layer: Improving native support for distributed training strategies to reduce the migration costs from mainstream training frameworks.
    3. Toolchain Layer: Building automated calibration, precision alignment, checkpoint resumption, and fault diagnosis tools to make the training process as “out-of-the-box” as possible.

    5. Conclusion

    The completion of ultra-large-scale model training adaptation by domestic GPUs marks a critical stage where domestic compute power is transitioning from inference-ready to training-ready. The 400 continuous stable updates represent a phased achievement rather than the endpoint. The real test lies in the long-cycle training efficiency, stability, and cost competitiveness on 10,000-GPU clusters. As the operator ecosystem, parallel strategies, and automated toolchains continue to be refined, domestic full-function GPUs are expected to play an increasingly important role in frontier large model training.