Training a Near-3-Trillion-Parameter Model on Domestic GPUs: Engineering Practices and Lessons Learned

    A Chinese GPU vendor recently completed training adaptation for a flagship open-source model with nearly 3 trillion parameters, running 400 consecutive optimizer steps on 16 accelerator cards across two nodes with stable loss curves and no numerical overflow. This article clarifies what "training adaptation" really means versus native pre-training, breaks down the technical challenges of large-model training on new hardware—including the memory wall, operator ecosystem completeness, cross-node communication, and numerical stability—and explains the gap between quick inference deployment and full-stack stable training. It also outlines what "train out of the box" requires at the operator, framework, toolchain, and cluster levels.

    1. The Event: A Landmark Training Adaptation

    According to public reports, a domestic Chinese GPU vendor recently announced that it had completed training adaptation for a flagship open-source large model with nearly 3 trillion parameters. The experiment used a cross-node joint training setup with two machines and 16 accelerator cards in total. All 16 training processes completed 400 consecutive optimizer updates, and the loss curve and gradient norm remained finite throughout—no numerical overflow or abnormal interruptions occurred.

    One concept needs to be clarified up front, because it is frequently conflated: training adaptation is not the same as native pre-training. Training adaptation means enabling a specific hardware-software platform to run the complete, stable training pipeline of a state-of-the-art model. The claim that “this model was pre-trained on this chip” is a different proposition entirely. The industry has seen similar discussions before—a model technical report once validated two hardware routes side by side, but the community generally regarded that as inference-operator-level validation, while the actual compute source of the base pre-training was never disclosed. So when reading this kind of news, conceptual rigor matters: a successful adaptation proves the platform’s training capability has reached an engineering-usable level, but it does not directly equate to being the model’s native training platform.

    That said, the technical value of this adaptation should not be underestimated. A model approaching 3 trillion parameters imposes extremely demanding requirements on distributed training infrastructure. Stably running hundreds of optimizer steps means the full chain—from low-level operators to the upper-level scheduling framework—is essentially in place.

    2. What Makes Large-Model Training Adaptation So Hard

    To appreciate the weight of this work, you need to break down the systemic challenges that large-model training imposes on hardware and the software stack.

    2.1 The Memory Wall at Trillion-Parameter Scale

    Take 3 trillion parameters as an example: even with mixed-precision training, the model weights, gradients, and optimizer states alone far exceed the memory capacity of a single card. The standard industry approach is to shard model states across multiple devices:

    • Data Parallelism (DP): each device holds a full model replica, synchronized via gradient AllReduce;
    • Tensor Parallelism (TP): individual weight matrices are split by row or column;
    • Pipeline Parallelism (PP): the model is split by layers, with different devices responsible for different stages;
    • ZeRO/FSDP-style sharding: optimizer states, gradients, and even the parameters themselves are sharded across data-parallel ranks, gathered and released on demand.

    Modern training frameworks have largely evolved toward native sharding paradigms like FSDP2, which place high demands on communication efficiency, memory planning, and scheduling precision. If any link is poorly implemented on heterogeneous hardware, training cannot even start.

    2.2 Completeness of the Operator Ecosystem

    A large model’s operator needs go far beyond matrix multiplication. Efficient attention implementations like FlashAttention, RoPE position encoding, various normalization variants, fused optimizers, and low-precision communication primitives all require high-performance and numerically correct implementations on the target hardware. Operator coverage and precision are typically the most time-consuming part of adapting large models to domestic chips.

    2.3 Cross-Node Communication and Stability

    Two machines with 16 cards means training has entered the multi-node regime. Cross-node RDMA/high-speed interconnect bandwidth, the stability of the collective communication library, and topology-aware communication optimization all directly affect throughput and stability. The phrase “400 consecutive steps without interruption, with finite gradient norms” precisely indicates that the classic minefields of large-scale training—hardware failure rates, communication jitter, and numerical anomalies—have been effectively controlled.

    3. The Full Adaptation Chain as Revealed by the Technical Report

    Based on publicly disclosed information, this adaptation built a native FSDP2 multimodal training path, connecting the complete chain from model loading and shard scheduling to gradient synchronization. We can abstract this chain into four stages:

    1. Stage 1: Model loading
    2. ├── Weight format conversion and validation
    3. ├── Mixed-precision strategy configuration (e.g., bf16 compute + fp32 master weights)
    4. └── Mounting the multimodal tokenizer and vision encoder
    5. Stage 2: Shard scheduling
    6. ├── Sharding parameters / gradients / optimizer states per strategy
    7. ├── Load balancing across devices and communication plan generation
    8. └── Activation checkpointing planning
    9. Stage 3: Forward and backward computation
    10. ├── Correctness alignment of all operators on the target hardware
    11. ├── Monitoring of numerical precision error accumulation
    12. └── Aligning the multimodal data pipeline with device-side computation
    13. Stage 4: Gradient synchronization and parameter update
    14. ├── All-Gather / Reduce-Scatter of sharded gradients
    15. ├── Fused optimizer executing the update
    16. └── Logging loss and gradient norms, anomaly detection

    What deserves emphasis here is numerical stability verification. The most common failure mode in large-scale training is not “it won’t run” but “it runs and then silently diverges”—a precision error in one operator, packet loss and retransmission during one communication, or a sparse gradient explosion can all cause a sudden loss spike thousands of steps later. Standard acceptance for training adaptation therefore typically checks:

    1. Whether the loss curve follows the same trend as the reference implementation;
    2. Whether gradient norms stay within a reasonable range without sudden jumps;
    3. Whether NaN/Inf appears over long runs;
    4. Whether gradients are strictly consistent across cards (verifiable with fixed random seeds for alignment tests).

    “400 consecutive optimizer updates with values finite throughout” is exactly the outcome of this verification methodology in practice.

    4. The Gap Between “Fast Inference Deployment” and “Full-Stack Stable Training”

    The industry frequently sees chip vendors announce “Day 0 adaptation for a new model,” which usually refers to inference integration—being able to deploy the model and serve conversations on the day of release. But an enormous gap separates inference from training:

    Dimension Inference Deployment Full-Stack Training
    Operator needs Forward only, narrow coverage Forward + backward + optimizer, broad coverage
    Numerical requirements Per-step output quality Error accumulation control over thousands of steps
    Memory pressure Weights + KV cache Weights + gradients + optimizer states + activations
    Communication pattern Limited collectives High-frequency, large-scale gradient synchronization
    Stability requirements Single-request timescale Days/weeks of continuous operation

    Therefore, the leap from “can run inference” to “can train stably” marks the maturity of a platform’s engineering system. The vendor’s reference in this event to “support capability spanning from fast inference deployment to full-stack stable training” reflects exactly this maturity.

    5. Industry Significance: From Point Validation to “Train Out of the Box”

    In recent years, domestic compute platforms have steadily accumulated real-world results in large-model training. Publicly available information indicates progress including: training hundred-billion-parameter scientific foundation models from scratch, full-stack native training of world models, end-to-end training of embodied AI models, and ongoing work on trillion-parameter-class model training. Together these efforts point toward one goal—moving frontier large models on domestic full-featured GPUs from “trainable” to “trainable out of the box.”

    “Train out of the box” means:

    1. Operator layer: operators for mainstream model architectures are all natively supported, with no manual one-by-one adaptation required;
    2. Framework layer: deep compatibility with the distributed strategies of mainstream training frameworks (FSDP, DeepSpeed-style paradigms, Megatron-style parallelism schemes);
    3. Toolchain layer: a complete set of automated performance profiling, precision alignment, and fault diagnosis tools;
    4. Cluster layer: a closed loop of multi-node interconnect, job scheduling, and fault-tolerant recovery.

    From an ecosystem-building perspective, every successful training adaptation of a difficult model is essentially a systematic stress test of the entire hardware-software stack. Running a 3-trillion-parameter model end to end simultaneously validates the large operator library, communication library, distributed framework, compiler, and driver firmware under extreme load. The compounding effect of this kind of validation will gradually become visible: adaptation costs decline, iteration cycles shorten, and more model teams become willing to do native development on heterogeneous hardware.

    6. Conclusion

    Two machines, 16 cards, 400 consecutive stable updates—the numbers themselves are not earth-shattering, but behind them lies a fully connected training pipeline and a turning signal: domestic compute is moving from “single-point compute catch-up” toward “system-level capability maturity.” For developers watching domestic compute, the metrics worth tracking next include linear scaling efficiency on larger clusters, fault tolerance over long training runs, and out-of-the-box compatibility coverage with mainstream training frameworks. When these metrics are all met, that will be the day domestic compute truly achieves “train out of the box.”