Training a Trillion-Parameter LLM on a Domestic GPU: A Technical Breakdown

    A Chinese GPU vendor recently completed training adaptation for an open-source model with nearly 3 trillion parameters on its flagship AI training-and-inference card. This article explains why training adaptation is far harder than inference adaptation, dissects the full training pipeline—from model loading and FSDP-style sharding to cross-node gradient synchronization—and discusses what this milestone means for domestic AI infrastructure.

    Background: A Landmark Training Adaptation

    According to public reports, a Chinese GPU vendor recently completed training adaptation for an advanced open-source model with nearly 3 trillion parameters, using its flagship AI training-and-inference accelerator card together with its self-developed software stack. The experiment used a cross-node setup with two machines and 16 accelerator cards. All 16 training processes completed 400 consecutive optimizer updates, and both the loss values and gradient norms remained finite throughout, with no numerical overflow or abnormal interruptions.

    One clarification is important: “training adaptation” and the industry’s common claim of “inference support on day one of a model release” are capabilities at very different levels. Inference adaptation means model weights can be loaded and operators can run forward passes correctly. Training adaptation requires building a complete training pipeline—every stage, from model loading and sharded scheduling to gradient synchronization, must be stable and reliable. Additionally, completing training adaptation does not mean the model was pre-trained on this chip. These are two statements the industry often conflates, and readers should distinguish between them.

    Why Training Adaptation Is Far Harder Than Inference Adaptation

    LLM training places far higher demands on hardware and the software stack than inference deployment, across multiple dimensions.

    1. Orders-of-magnitude differences in compute and memory pressure

    Inference only requires forward propagation, and activations are discarded after use. Training must retain forward activations for the backward pass and maintain optimizer states (such as momentum and second-order moments), so memory consumption typically reaches several times the parameter count. For a model with nearly 3 trillion parameters, no single card’s memory can hold it—systematic sharding and offloading strategies are mandatory.

    2. Numerical precision and stability challenges

    Training involves mixed-precision computation: the forward pass commonly uses half precision for throughput, while master weights are maintained at higher precision. Details such as gradient scaling, loss scaling, and precision handling in normalization layers can all cause numerical overflow if anything goes wrong—manifesting as loss suddenly becoming NaN or violent oscillation in the training curve. The statement in this experiment that “loss and gradient norms remained finite throughout” is in fact a direct verification of numerical stability, the core metric.

    3. The engineering bar for cross-node communication

    With 16 cards spread across two machines, gradient synchronization must cross node boundaries. Cross-node bandwidth is far lower than intra-node interconnect bandwidth, so the communication strategy must be carefully designed: which tensors to synchronize, when to synchronize, whether communication can overlap with computation, and whether compressed communication is supported—all of these directly affect training efficiency and stability.

    Dissecting the Complete Training Pipeline

    The report mentions “building a native multimodal training path, connecting the full training pipeline from model loading and sharded scheduling to gradient synchronization.” Drawing on common industry practice, this can be broken down into the following stages.

    1. Model loading and weight initialization

    Weight files for trillion-parameter models are on the order of tens of terabytes. The loading stage must support sharded parallel reading and direct mapping to the corresponding devices according to the parallelism strategy, avoiding the bottleneck of loading at a single point and then redistributing.

    2. Sharded scheduling: centered on FSDP-style approaches

    The current mainstream industry approach is fully sharded data parallelism: model parameters, gradients, and optimizer states are all partitioned across cards, temporarily gathered on demand during forward and backward passes, and released immediately after use. This amortizes memory consumption almost linearly. Illustrative pseudocode:

    1. # Abstract illustration of an FSDP-style approach
    2. model = FullShardedParallel(
    3. model,
    4. sharding_strategy="full_shard", # Fully shard parameters/gradients/optimizer states
    5. mixed_precision="bf16", # Half precision for compute, master weights kept in higher precision
    6. reduce_scatter=True # Fuse gradient reduction with sharding
    7. )
    8. for batch in dataloader:
    9. loss = model(batch)
    10. loss.backward() # Gradients are automatically reduce-scattered back to each card's shard
    11. optimizer.step() # Optimizer states only store local shards

    For multimodal LLMs, sharded scheduling must also handle heterogeneous modules—vision encoders, language model backbones, and projection layers differ significantly in structure and parameter scale, so sharding granularity and communication timing require targeted configuration.

    3. Gradient synchronization and expert parallelism

    Mixture-of-Experts (MoE) architectures have become the mainstream choice for frontier LLMs, and fine-grained expert parallelism is a key technology for large-scale training: different experts reside on different devices, and token routing and expert computation require cross-card communication coordination. Such schemes have precedents of parallel validation in the industry and represent a core capability that domestic compute stacks must master.

    4. Fault tolerance and checkpoint resumption

    400 steps of continuous stable operation is a convincing starting point, but truly long-running training (weeks or even months) inevitably faces hardware failures and process anomalies. A mature training system must provide automatic failure detection, fast checkpoint recovery, and training consistency verification.

    From One-Time Validation to an Engineering System

    Another noteworthy point in the report is that “a mature engineering system has been built.” For domestic compute, getting a single model to run is only the beginning; the real value lies in systematic capability:

    • Operator library completeness: high-performance operator implementations covering mainstream model architectures, plus support for rapid custom operator development;
    • Multi-card coordination: horizontal scaling from single-node multi-card to multi-node multi-card setups, including high-bandwidth intra-node interconnects and inter-node communication optimization;
    • Automated toolchain: automatic generation of distributed configurations, training diagnostics, performance profiling, and precision alignment tools, lowering the barrier for engineers to start training on domestic platforms;
    • Precision alignment verification: comparison of loss curves, gradient norms, and other metrics against mainstream industry implementations to demonstrate the correctness of the numerical path.

    Industry Significance and Outlook

    Judging from delivered results, domestic compute has already supported scenarios ranging from training hundred-billion-parameter scientific models from scratch and full-stack native training of world models to end-to-end training of embodied intelligence models—and it is now advancing training practice for trillion-parameter models. This shows that “domestic chips training domestic models” is moving from proof of concept to scaled deployment.

    The key to future industry evolution lies in three areas: first, continuously expanding operator coverage and optimization depth so that frontier model architectures can be trained out of the box; second, improving the automated toolchain to encapsulate the complexity of distributed training; third, building a richer model adaptation ecosystem so that the latest open-source results can run on domestic platforms at lower cost. Only when “trainable” truly becomes “trainable out of the box” can domestic compute occupy a substantive position in the competition for large model infrastructure.