Training Adaptation of a Nearly 3-Trillion-Parameter LLM on Domestic Full-Function GPUs: A Technical Analysis
This article analyzes a training adaptation project in which a domestic GPU vendor ran a nearly 3-trillion-parameter open-source LLM on 16 flagship AI accelerator cards across two nodes. It explains why training adaptation differs from pretraining, reviews challenges in operator coverage, hybrid parallelism, cross-node communication, and numerical stability, and details the FSDP2-based training path, communication validation, and monitoring. It also discusses the engineering capabilities accumulated through such work and offers practical guidance for developers and enterprises evaluating domestic compute.
From Inference to Training: Technical Depth in LLM Training Adaptation on Domestic GPUs
1. Event Background: A Landmark Training Adaptation
Recently, a domestic GPU vendor completed training adaptation for an open-source large language model with nearly 3 trillion parameters, using its flagship AI training-and-inference accelerator cards and self-developed software stack. The experiment used two nodes with 16 accelerator cards in total for cross-node joint training. All 16 training processes completed 400 consecutive optimizer updates. Throughout training, the loss curve and gradient norm remained finite, with no numerical overflow or abnormal interruption.
One easily confused concept needs clarification: training adaptation is not pretraining. Training adaptation means running the model’s complete training workflow on in-house hardware and software stack to validate distributed strategies, operator coverage, numerical stability, and communication efficiency. The model’s base pretraining may have occurred on another compute platform. Some vendors have previously validated multiple compute routes side by side in technical reports; most such work is validation of inference operators or training paths, not an official statement of the compute source used for pretraining. Understanding this distinction helps assess the real maturity of domestic compute.
2. Core Technical Challenges in Training Adaptation
Migrating a trillion-parameter-class model to a new hardware system is far more than “running a script.” It involves at least the following layers of challenges:
2.1 Operator Coverage and Precision Alignment
LLM training depends on many custom operators: attention variants such as FlashAttention-style tiled computation, MoE routing and expert computation, fused LayerNorm and activation functions, and distributed optimizer operators. Adaptation work must first ensure these operators have efficient implementations on the new hardware and that their numerical behavior is consistent with mainstream reference implementations. A common approach is to build operator-level unit tests that compare relative error against reference implementations across multiple shapes and dtypes.
2.2 Recombining Distributed Parallelism Strategies
A trillion-parameter model cannot fit on a single card, so multiple parallelism strategies must be combined:
- Data parallelism (DP): multiple replicas process different batches.
- Tensor parallelism (TP): split weights within a layer across multiple cards.
- Pipeline parallelism (PP): split the model by layers.
- Expert parallelism (EP): distribute MoE experts across different nodes.
- ZeRO-style sharding optimization: shard optimizer states, gradients, and parameters.
A new hardware platform needs native support in its software stack for combinations of these strategies, while handling communication priorities and topology mapping among them.
2.3 Stability of Long-Running Training
Training stability is a much stricter metric than “running one step.” Under mixed-precision training, sudden gradient-norm changes, loss spikes, and numerical overflow can all cause training crashes. Whether loss and gradient norm remain finite for hundreds of consecutive steps is direct evidence of the maturity of the software and hardware stack.
3. Key Technical Paths in This Adaptation
3.1 Native FSDP2 Multimodal Training Path
This adaptation built a native FSDP2 multimodal training path. The core idea of FSDP (Fully Sharded Data Parallel) is to fully shard model parameters, gradients, and optimizer states within the data-parallel group, all-gather parameters on demand during forward and backward computation, and release them after use. This reduces memory usage to a level comparable to the sharded scale.
Compared with earlier wrapper-based implementations, the new-generation FSDP approach usually has the following characteristics:
- DTensor-based unified sharding semantics: parameters are logically global tensors and physically automatically sharded.
- Finer-grained communication and computation overlap: all-gather latency is hidden through prefetching.
- Support for hybrid parallel combinations: it can be combined with TP, PP, and EP.
Completing the full chain from model loading to sharding scheduling to gradient synchronization means that every step—weight initialization, shard layout, activation checkpointing, backward computation, and optimizer step—was validated on the domestic hardware and software stack.
3.2 Communication Validation for Cross-Node Training
The two-node, 16-card configuration is not large, but it already covers the critical path of cross-node communication. Cross-node interconnect bandwidth is usually much lower than intra-node bandwidth, so validation focuses on:
Key communication patterns and optimization points:1. Gradient all-reduce: with gradient sharding, convert to reduce-scatter + all-gather.2. Parameter all-gather: overlap with backward computation and prefetch layer by layer.3. Gradient accumulation: small clusters can increase local batch size to reduce communication frequency.
The stable operation of 400 consecutive optimizer updates indicates that the communication library, collective communication primitives, and computation graph worked together without deadlock, timeout, or precision degradation.
3.3 Numerical Health Monitoring System
Training stability validation is usually accompanied by a set of monitoring metrics:
- Gradient norm: observe whether there are sudden changes or collapse to zero.
- Loss curve: compare convergence trajectory with the reference implementation.
- Overflow counters: count fp16/bf16 overflow frequency under mixed precision.
- Gradient clipping trigger frequency: abnormally frequent triggering may indicate numerical issues.
4. From Single-Point Adaptation to an Engineering System
The value of this adaptation is not only running one model successfully, but also the engineering capabilities accumulated behind it:
- Fast inference deployment capability: after a new open-source model is released, inference integration can be completed in a short cycle to verify operator coverage.
- Full-chain training capability: upgrade from inference adaptation to stable training, covering data loading, parallel strategies, checkpoint resume, and monitoring and alerting.
- Practical validation accumulation: according to disclosure, the vendor has completed full from-scratch training of scientific foundation models below the hundred-billion-parameter level, full-stack native training of the world’s first 5D world model, and full-process training of an embodied intelligence brain model, and is advancing training of trillion-parameter models.
“Full training from scratch” and “training adaptation” are validations at two different levels: the former proves that the platform has independent pretraining capability, while the latter proves that the platform is compatible with the mainstream open-source ecosystem. Together they form the capability spectrum of domestic compute.
5. Implications for Developers and Enterprises
- Evaluate domestic compute by training evidence: when selecting hardware, look for public training reports, continuous runtime duration, and loss convergence comparisons, not just statements that “adaptation succeeded.”
- Software stack maturity determines migration cost: whether distributed strategies are natively supported, operator coverage, and the completeness of debugging toolchains directly affect the actual work required to migrate from mainstream frameworks.
- The ecosystem trend is “out-of-the-box training”: the industry direction is to polish operator adaptation, multi-card collaboration, and automated toolchains so that frontier models can be trained without deep customization. This will significantly lower the barrier to using domestic compute.
Conclusion
This training adaptation of a nearly 3-trillion-parameter model demonstrates the technical evolution of domestic full-function GPUs from inference compatibility toward training depth. Although 400 consecutive stable steps is still far from ultra-large-scale pretraining, the complete path validation, mature engineering system, and practical accumulation across multiple domains indicate that the domestic compute ecosystem is moving from “usable” toward “easy to use.” For developers, paying attention to training-level empirical data of this kind is a reliable way to rationally assess the maturity of domestic compute.
