Adapting a Chinese-Developed GPU for Trillion-Parameter Large Model Training: Practice and Takeaways

    This article covers a public validation in which a Chinese-developed full-function GPU completed training adaptation for an open-source model with nearly 3 trillion parameters, using two machines with 16 accelerator cards in total. It explains why training adaptation is harder than inference adaptation, outlines the main technical areas involved (FSDP2-based multimodal training, cross-node communication, and numerical stability), and discusses what separates hardware that can be trained with expert effort from hardware that supports training out of the box.

    1. Event Overview: Training Validation Beyond “Day 0 Adaptation”

    Recently, a China-based company focused on full-function GPUs announced that it had quickly completed training adaptation for an advanced open-source large model with nearly 3 trillion parameters. The work used the company’s flagship AI training and inference accelerator card together with its in-house software stack. In the public technical validation, the team ran cross-node joint training across two machines with 16 accelerator cards in total. All 16 training processes completed 400 consecutive optimizer updates. Throughout training, the loss curve and gradient norm stayed finite, with no numerical overflow or unexpected interruptions.

    An important distinction: training adaptation is not the same as pretraining a foundation model. “Adaptation” here means verifying that the model can complete the full training pipeline on the target hardware, covering data loading, shard scheduling, and gradient synchronization. In other words, the training code and model architecture run correctly on this chip with correct numerics. That is a different claim from saying the model itself was pretrained on that chip.

    The industry often uses “Day 0 adaptation” to describe fast support for new open-source models. In most cases, the term refers to inference-side operator validation and quick integration. This validation focused on the training pipeline itself, which is considerably harder.

    Why is training validation harder than inference validation? Three dimensions help explain this:

    1. Numerical precision requirements are stricter. Inference can usually tolerate lower precision or even quantization. Training involves the forward pass, backward pass, and optimizer updates. Rounding error that accumulates at any stage can cause training to diverge. Whether gradient norms stay stable and whether the loss converges test both the hardware’s numerical precision and the software stack’s numerical implementation.

    2. System coupling is more complex. Training requires many processes across many nodes to coordinate over long periods. Communication, scheduling, and memory management must work together end to end. A single deadlock or memory leak can interrupt the job.

    3. Fault tolerance requirements are more demanding. Large pretraining runs that last weeks require hardware and software that can run stably for a long time. Getting a job to run briefly and getting it to train reliably over time are very different goals.

    2. Key Technical Breakdown: From Model Loading to Gradient Synchronization

    According to public information, this adaptation built a native FSDP2 multimodal training path. The path covers the full training pipeline, from model loading and shard scheduling to gradient synchronization. Several technical points merit more detail.

    2.1 The core idea of Fully Sharded Data Parallel (FSDP)

    For trillion-parameter models, even a very large single GPU cannot hold the full model. FSDP shards parameters, gradients, and optimizer states across the data-parallel ranks. During the forward and backward passes, it gathers parameters on demand and releases them after use. This reduces per-GPU memory from the full model to a shard plus temporarily gathered parameters.

    Compared with the traditional 3D parallelism combination (data parallelism, tensor parallelism, and pipeline parallelism), FSDP is encapsulated more fully in higher-level frameworks and requires fewer changes to user code. It is one of the mainstream approaches to large model training in recent years.

    Illustrative pseudocode:

    1. # Core logic of an FSDP-style training loop (illustrative)
    2. model = fully_shard(model) # Shard parameters, gradients, and optimizer states
    3. for batch in dataloader:
    4. loss = model(forward(batch)) # All-gather parameters on demand, then run the forward pass
    5. loss.backward() # Run the backward pass; release parameters after use
    6. clip_grad_norm_(model) # Clip gradients to keep numerics stable
    7. optimizer.step() # Update the sharded optimizer
    8. model.reset() # Reshard and free temporarily gathered memory

    2.2 Special challenges of the multimodal training path

    A flagship model with nearly 3 trillion parameters typically has multimodal capabilities. The training pipeline therefore includes not only text tokens but also heterogeneous components such as vision encoders and cross-modal alignment modules. A multimodal training path must handle the following:

    • Sampling and packing of heterogeneous data sources, keeping the modalities balanced within each batch;
    • Joint training strategies for the vision encoder and the language model backbone, such as staged freezing and separate learning rate groups;
    • High-throughput loading of multimodal data, so that I/O does not become a bottleneck.

    2.3 Cross-node communication and gradient synchronization

    Two machines with 16 cards means training crosses node boundaries. Bandwidth between nodes is usually far lower than intra-node interconnect bandwidth, such as NVLink-style links. The training framework needs careful communication design:

    • Overlap gradient all-reduce or reduce-scatter with computation during backpropagation to hide communication latency;
    • Bucket communication by merging small gradients to improve bandwidth utilization;
    • Use communication compression and quantization to reduce transfer volume while preserving accuracy.

    Keeping cross-node training stable on Chinese-developed hardware with comparatively weaker interconnects places high demands on the communication scheduling of the software stack.

    2.4 Mechanisms for numerical stability

    Four hundred consecutive updates with finite loss and gradient norms typically rely on a combination of techniques:

    • Mixed-precision training: Forward and backward passes use low-precision formats for speed, while master weights and optimizer states keep high-precision copies.
    • Loss scaling: Prevents low-precision gradients from underflowing.
    • Gradient clipping: Limits gradient explosions caused by individual batches.
    • Continuous monitoring: Records loss, gradient norm, and per-layer activation statistics in real time and raises alerts on anomalies.

    Whether these mechanisms are implemented correctly on in-house hardware and software is a direct measure of how mature a training system is.

    3. Industry Perspective: The Gap Between “Trainable” and “Train Out of the Box”

    This validation reflects a stage of development that China’s AI compute ecosystem is going through. Three levels help explain the progress.

    3.1 From single operators to the full training pipeline

    Early adaptation work for domestic chips focused mainly on inference. The goals were to confirm that mainstream open-source models run, to align operator precision, and to meet performance targets. Training requires coverage of the whole stack: operator libraries, distributed communication, automatic differentiation, mixed precision, and fault-tolerant scheduling. Any weak link becomes visible during long training runs. Completing a stable, full-pipeline training validation indicates that the software stack has reached a new level of completeness.

    3.2 The value of accumulated engineering practice

    According to public information, the team can support frontier complex large models from rapid inference deployment through to stable full-pipeline training. The team also reports that it previously completed training from scratch for a hundred-billion-parameter scientific foundation model, full-stack native training of what is described as the world’s first 5D world model, and end-to-end training of an embodied brain model.

    The value of this experience lies in the problems it surfaces and fixes. Training frameworks have pitfalls, including numerical boundaries, memory fragmentation, communication deadlocks, and checkpoint resumption. These problems are found and resolved in real projects. Engineering experience of this kind cannot be gained from isolated t