Training Adaptation for a Near-3-Trillion-Parameter LLM on Chinese GPUs: Practices and Insights

    Recently, a Chinese GPU vendor successfully completed the training adaptation for a flagship open-source large language model (LLM) with nearly 3 trillion parameters. This article explores the technical details of this adaptation, highlighting the critical differences between inference adaptation and training adaptation. It delves into the construction of a native fully sharded data parallel (FSDP) training path, the validation methodology using a 2-node 16-GPU setup, and the broader engineering capabilities required for large-scale model training. Finally, it outlines the key dimensions for evaluating the maturity of emerging AI compute solutions and looks ahead to the industry goal of out-of-the-box training.

    I. Background: A Key Step in Training Adaptation

    Recently, a Chinese GPU vendor, leveraging its flagship AI training and inference compute cards alongside a proprietary software stack, rapidly completed the training adaptation for a flagship open-source LLM with nearly 3 trillion parameters. This development has drawn industry attention not only because of the model’s sheer scale but also because it validates a crucial possibility: domestic GPUs now possess the engineering capability to handle full-pipeline training tasks for cutting-edge, complex large models.

    Before diving into technical details, it is necessary to clarify a commonly confused concept: the difference between “training adaptation” and “inference adaptation (Day-0 adaptation).” Over the past two years, compute vendors often rush to announce “Day-0 adaptation” whenever a new open-source LLM is released. However, the vast majority of these adaptations remain at the inference level—enabling the model to perform forward computation and text generation on their chips. Inference adaptation involves a relatively manageable engineering effort, primarily focusing on operator coverage, accuracy alignment, and inference framework integration.

    Training adaptation, on the other hand, presents a completely different scale of challenge. The training process requires a closed loop that includes forward computation, backward propagation, gradient calculation and synchronization, and optimizer state updates. This demands significantly higher standards for reverse operator implementation, memory management, communication efficiency, and numerical stability. It is important to objectively note that completing training adaptation for a model does not mean the model’s pre-training was executed on that specific chip. When large model vendors list multiple compute routes in their technical reports, they often only verify at the inference operator level, and the original pre-training compute source is usually undisclosed. Distinguishing this helps us rationally view various claims of “successful adaptation.”

    II. Core Technical Analysis: Building a Native Distributed Training Path

    One of the technical highlights of this adaptation is the construction of a native fully sharded data parallel (FSDP) multimodal training path, streamlining the entire training pipeline from model loading and parameter shard scheduling to gradient synchronization. This path is worth a deeper breakdown.

    For a model with nearly 3 trillion parameters, a single GPU’s memory is far from sufficient to hold the complete model parameters, gradients, and optimizer states. Taking mixed-precision training as an example, the optimizer states alone (such as momentum and variance) can consume several times the memory of the parameters themselves. Therefore, FSDP (a widely adopted second-generation sharding strategy) becomes the inevitable choice: it shards the model parameters, gradients, and optimizer states across all compute devices. Each device holds only a shard of the complete state, temporarily aggregating the required parameter shards via communication operations during computation and releasing them immediately afterward.

    Getting this pipeline to run on domestic GPUs means the software stack must resolve several key issues:

    1. Model Loading and Shard Initialization: The weight files for ultra-large-scale models are often measured in terabytes. How to efficiently load them from storage, slice them according to the sharding strategy, and distribute them to each device directly impacts training startup efficiency. Lazy loading and on-demand materialization are common techniques.
    2. Shard Scheduling and Memory Management: During forward and backward computations, the aggregation (all-gather) and release of parameter shards must be precisely orchestrated to form a pipeline with computation, thereby overlapping communication overhead. Meanwhile, the memory footprint of activations requires trade-offs through strategies like activation checkpointing.
    3. Gradient Synchronization: Gradients generated during backward computation require cross-device reduction (reduce-scatter). The efficiency and stability of the communication library directly determine multi-GPU scalability. For cross-node scenarios, it is also necessary to handle the heterogeneous bandwidth differences between intra-node high-speed interconnects and inter-node networks.
    4. Mixture of Experts (MoE) Architecture Adaptation: Current mainstream ultra-large open-source models generally adopt the MoE architecture, which involves dynamic routing, load balancing, and all-to-all communication under expert parallelism. This imposes additional requirements on the communication library and scheduler.

    III. Validation Methodology: Stable Operation for 400 Continuous Steps on 2 Nodes with 16 GPUs

    In the experimental validation phase, the vendor used two nodes equipped with a total of 16 compute cards to conduct cross-node joint training tests. All 16 training processes completed 400 continuous optimizer updates. The loss value and gradient norm remained finite throughout the process, with no numerical overflow or abnormal interruptions.

    These validation metrics seem simple but actually capture the core of training stability verification. In large model training, there is a massive engineering gap between “being able to run” and “being able to train stably”:

    • A finite and reasonably decreasing loss value verifies the mathematical correctness of the forward computation, backward propagation, and parameter updates, ensuring no gradient explosion or vanishing.
    • Gradient norm is a critical metric for diagnosing training health. A sudden spike in the norm often indicates numerical instability, data anomalies, or the failure of mixed-precision scaling strategies, which requires fallback mechanisms like gradient clipping and loss scaling.
    • 400 continuous optimizer updates without interruption mean that the communication links, memory management, and fault recovery mechanisms withstood the test over a relatively long time window. In cross-node training, a crash in any single process leads to global failure; thus, the number of continuously stable steps is direct evidence of engineering maturity.

    Of course, 400 steps is still an early validation compared to the hundreds of thousands of steps required for a complete pre-training. However, its value lies in proving the correctness and basic stability of the entire training pipeline, laying the foundation for subsequent scale expansion and prolonged training cycles.

    IV. From Case to System: Engineering Accumulation for Emerging Compute

    In fact, this adaptation is not an isolated event but a microcosm of the continuous accumulation of domestic compute in the large model training domain. Based on public information, relevant vendors have previously implemented several practices. These include completing the full from-scratch training of a 200-billion-parameter scientific foundation model, supporting the full-stack native training of a multi-dimensional world model, and collaborating with research institutions to complete the full-pipeline training of embodied AI models. They are now pushing toward the training goal of trillion-parameter models.

    These practices outline a clear capability evolution path: from “usable for inference” to “viable for training,” and ultimately to “efficient for training.” For developers and enterprise users, judging whether a compute solution is mature can focus on the following dimensions:

    • Operator coverage and the completeness of reverse operators, which are the foundation of training adaptation.
    • Native support for distributed training frameworks, rather than simple framework porting.
    • Communication efficiency and linear scalability in multi-GPU and multi-node scenarios.
    • Stability guarantees for long-time training, including checkpoint resuming, fault detection, and automatic recovery.
    • The maturity of automated toolchains, determining whether they can lower user migration and tuning costs.

    V. Outlook: Moving from “Trainable” to “Out-of-the-Box Training”

    The next phase for emerging GPUs in training large models is to achieve “out-of-the-box training” for cutting-edge models on their hardware. Users should be able to obtain a training experience close to that of mainstream ecosystems without deep intervention in underlying adaptations. This requires continuous refinement in toolchain aspects such as automatic operator adaptation, multi-GPU collaborative scheduling, automatic performance tuning, and training visualization diagnostics.

    For the entire industry, the formation of a diversified compute supply landscape helps reduce supply chain risks for large model training and provides a real testing ground for software-hardware collaborative innovation. Every breakthrough in training adaptation is a cornerstone for the maturation of the broader compute ecosystem.