Training a Trillion-Parameter Model on Domestic General-Purpose GPUs: Technical Path and Practice Analysis

    How domestic general-purpose GPUs achieved training adaptation for a ~3-trillion-parameter open-source model. This article explains what "training adaptation" actually means, the core technical stack behind native FSDP2 distributed training, the end-to-end validation from weight loading to gradient synchronization, and the engineering practices required for stable multi-node, multi-GPU training.

    1. Background: Why Training Adaptation Is a Critical Part of the LLM Ecosystem

    As the open-source community continues to release frontier large models approaching the trillion-parameter scale, industry demand for compute is rapidly shifting from “usable for inference” to “capable of handling training.” For domestic general-purpose GPUs, how quickly they can complete training adaptation for the latest open-source models after release has become a key benchmark for the maturity and engineering capability of their software stacks.

    A commonly confused concept needs clarification first: “training adaptation” refers to the chip and software stack being able to run the complete training workflow of a given large model — meaning the entire pipeline from model loading, data pipeline, sharding and scheduling, forward and backward computation, to gradient synchronization and optimizer updates runs stably. It is not the same as “the model’s base pretraining was performed on these chips” — the original compute source used for pretraining is typically disclosed separately by the model developer, and the two should not be conflated. Similarly, the industry’s common “Day 0 inference adaptation” only validates that inference operators work; its technical bar is on a completely different level from training adaptation.

    Recently, a domestic GPU vendor announced that, using its flagship AI training-and-inference card and accompanying software stack, it had rapidly completed training adaptation for a flagship open-source model with nearly 3 trillion parameters, along with validation data showing two nodes with 8 GPUs each running 400 consecutive, stable optimizer update steps. The technical path and engineering practice behind this milestone are worth a systematic breakdown.

    2. The Core Technical Pipeline of Training Adaptation

    2.1 Building a Native Distributed Training Framework Path

    Training an ultra-large-scale model is impossible on a single GPU’s memory, so distributed training frameworks are essential. The mainstream approach today is based on the PyTorch ecosystem’s FSDP (Fully Sharded Data Parallel) and its evolution, FSDP2. A “native FSDP2 path” means the framework’s parameter sharding, optimizer state sharding, and activation recomputation mechanisms run natively on the domestic GPU — not through emulation or translation layers.

    The main technical challenges behind this include:

    • Operator completeness: Large models rely on many non-standard operators, such as fused RMSNorm, SwiGLU, rotary position embeddings, and FlashAttention-style efficient attention implementations. The software stack must cover these operators one by one, with numerical behavior aligned to the CUDA ecosystem’s reference implementations.
    • Communication primitive support: FSDP relies on collective communication operations such as all-gather, reduce-scatter, and all-reduce, while multi-node scenarios also require high-performance RDMA-class network transport. Communication bandwidth and overlap strategies directly determine training efficiency.
    • Mixed-precision system: Training typically uses BF16/FP16 mixed precision with fp32 master weights and gradient accumulation. Domestic GPUs must fully support this precision system and guarantee reproducible numerical behavior.

    2.2 End-to-End Validation from Model Loading to Gradient Synchronization

    A credible training adaptation must verify that at least the following pipeline stages work end to end:

    1. Weight loading and conversion: Correctly load the community-released model weights and map them to the local hardware representation;
    2. Sharding and scheduling: Split model parameters, gradients, and optimizer states across 16 training processes (two nodes with 8 GPUs each) according to the sharding strategy;
    3. Forward and backward computation: Complete layer-by-layer computation while keeping activations and gradients numerically healthy;
    4. Gradient synchronization and optimizer updates: Perform parameter updates after cross-node gradient reduction.

    The officially disclosed validation method: two nodes with 8 training-and-inference cards each were tested in cross-node joint training, and all 16 training processes completed 400 consecutive optimizer updates. Throughout the run, the loss curve and gradient norms remained bounded, with no numerical overflow or abnormal interruptions. These metrics are widely recognized in the industry as “training health” indicators — whether loss decreases monotonically and reasonably, and whether gradient norms stay stable, effectively exposes hidden issues such as operator precision errors, packet loss in communication, and numerical overflow.

    3. Engineering Essentials for Stable Multi-Node, Multi-GPU Training

    While two nodes with 16 GPUs is still far from ten-thousand-GPU clusters, it already covers most of the critical issues in cross-node training. Key practices include:

    • Compute-communication overlap: Use bucketing strategies to all-gather parameters in batches, so communication overlaps with the backward computation of the previous layer, reducing pipeline bubbles;
    • Numerical stability monitoring: Continuously collect metrics such as loss, gradient norm, and weight update ratio, and immediately locate the specific operator if NaN/Inf appears;
    • Fault tolerance and resumable training: Periodically save distributed checkpoints so that any process failure can recover from the most recent consistent state;
    • Multimodal path support: If the target model is multimodal, the training path for non-language components — vision encoders, cross-modal fusion modules, and so on — must also be enabled.

    A representative stability-monitoring snippet:

    1. for step in range(total_steps):
    2. loss = model_forward_backward(batch)
    3. grad_norm = clip_grad_norm_(params, max_norm)
    4. if not torch.isfinite(grad_norm):
    5. raise TrainingDivergenceError(step, grad_norm)
    6. optimizer.step()
    7. metrics_logger.log(step, loss.item(), grad_norm)

    This kind of monitoring logic is standard in all large-scale training jobs, and the conclusion of “bounded throughout, no abnormal interruptions” is the most convincing evidence of a training adaptation’s credibility.

    4. The Evolution of an Engineering System for “Domestic Chips Training Domestic Models”

    Beyond this adaptation, several domestic compute teams have in recent years delivered results including training hundred-billion-parameter scientific foundation models from scratch, supporting full-stack native training of world models, andOV world models, and completing end-to-end training of embodied-intelligence brain models — and are now pushing toward complete training of trillion-parameter models. Together, these practices outline a clear evolution path:

    1. Operator adaptation phase: Cover core operators of mainstream models to ensure inference works;
    2. Single-node multi-GPU training validation phase: Run the complete training of medium-scale models within a single node;
    3. Cross-node scaling phase: Validate multi-node interconnects, communication optimization, and fault-tolerance mechanisms;
    4. Train-out-of-the-box phase: Through an automated toolchain, let developers launch large-model training on domestic GPUs with an experience close to the mainstream ecosystem.

    The key to the last step is building the automated toolchain — including automated operator generation and verification, automatic search for distributed strategies, and training observability platforms. Only when this援助 when this infrastructure matures, large-model training on domestic general-purpose GPUs can truly shift from an “expert-level engineering project” to a “standardized engineering practice.”

    5. Conclusion

    Rapidly reaching training-adaptation capability marks the transition of domestic AI compute software stacks from “able to infer” into the deep waters of “able to train.” Two nodes with 16 GPUs running 400 consecutive stable update steps is only a stage-level validation, but the distributed framework, communication system, and numerical stability mechanisms it validates are precisely the technical foundation that will support much larger-scale cluster training in the future. For developers, following the evolution of these general-purpose technical capabilities offers more long-term value than chasing single-point benchmark scores.