Adapting Near-3-Trillion-Parameter LLM Training on Domestic GPUs: A Technical Breakdown
A Chinese GPU vendor recently completed training adaptation of a frontier open-source model with nearly 3 trillion parameters on its flagship AI training/inference card and self-developed software stack, sustaining 400 consecutive optimizer updates across a 16-GPU, two-node setup. This article explains what "training adaptation" really means versus pretraining, and walks through the full technical pipeline: multi-level parallelism for weight sharding, FSDP2 shard scheduling, gradient synchronization, numerical stability in mixed precision, and the extra challenges of multimodal training. It concludes with the engineering systems—operator coverage, fault tolerance, and observability—required to move from "can train" to "train out of the box."
1. Background: What Does “Training Adaptation” Actually Mean?
Recently, a Chinese GPU vendor announced that, based on its flagship AI training-and-inference compute card and self-developed software stack, it completed training adaptation for a frontier open-source model with nearly 3 trillion parameters. In a cross-node environment of two servers with 16 GPUs, the run sustained 400 consecutive optimizer updates, with loss and gradient norms remaining finite throughout and no numerical overflow or abnormal interruption.
First, a common industry confusion needs to be cleared up: training adaptation is not the same as pretraining. Training adaptation means validating the complete training pipeline of a given model on a proprietary hardware and software stack—proving that “this model can be stably trained on this chip.” Where the model’s base pretraining actually took place is a separate question. The commonly seen “Day 0 adaptation” in the industry is essentially inference integration or operator-level verification, and should not be equated with “the model was trained on this chip.” Distinguishing these two concepts is essential for rationally assessing the true capabilities of domestic compute hardware.
2. The Technical Pipeline: From Loading to Gradient Synchronization
A complete training adaptation for a large model requires at least the following stages to work end to end. Failure at any single stage causes training failure or precision anomalies.
2.1 Model Loading and Weight Sharding
A trillion-parameter model requires several terabytes of storage and memory just for its weights—far beyond the capacity of a single GPU. In practice, a multi-level parallelism strategy is adopted:
- Data Parallelism (DP): each GPU holds a full model replica and processes a different data shard;
- Tensor Parallelism (TP): a single operator (e.g., a large matrix multiplication) is split across multiple GPUs;
- Pipeline Parallelism (PP): the model is partitioned by layer, with different GPUs responsible for different stages;
- Expert Parallelism (EP): for MoE architectures, experts are distributed across different nodes.
2.2 FSDP2 Shard Scheduling
One of the core highlights of this adaptation is the construction of a native FSDP2 multimodal training path. The key idea behind FSDP (Fully Sharded Data Parallel) is: shard model parameters, gradients, and optimizer states across devices; temporarily gather them when needed and release them immediately after use. Compared with traditional data parallelism, this reduces memory consumption from “a full replica per device” to “a 1/N shard plus transient full tensors,” making it a critical technique for fitting ultra-large models into limited memory.
Compared with the first generation, FSDP2’s main improvement is sharding along DTensor dimensions, which yields more uniform shard granularity and more flexible combination with mixed precision, activation checkpointing, and other mechanisms. A simplified pseudo-code structure is shown below:
# Abstract illustration of FSDP shard schedulingmodel = load_pretrained_model(config)sharded_model = fully_shard(model,reshard_after_forward=True, # release gathered shards right after forwardmixed_precision=bf16_config, # mixed-precision policy)for batch in dataloader:loss = sharded_model(batch).lossloss.backward() # triggers all-gather and reduce-scatteroptimizer.step() # optimizer states are updated per shard
2.3 Gradient Synchronization and Numerical Stability
In cross-node training, gradient synchronization relies on collective communication (All-Reduce / Reduce-Scatter), and communication efficiency directly determines scaling efficiency. Numerical stability is a subtler challenge: near-trillion-parameter models under bf16/fp16 mixed precision are prone to gradient explosion, loss spikes, and overflow. The official statement—“400 consecutive update steps, loss and gradient norms finite throughout, no numerical overflow”—actually validates the correctness of a full set of training stability mechanisms, including gradient clipping, loss scaling, and anomaly detection, on the domestic chip. This is the dividing line between “it runs” and “it trains stably.”
3. Why the Multimodal Path Is Harder
Compared with pure-text training, multimodal training introduces heterogeneous modules such as vision encoders and cross-modal alignment layers. Stages like image preprocessing and sequence packing in the data pipeline demand broader operator coverage. Getting multimodal training to work on hardware outside the mainstream ecosystem means the operator library, automatic differentiation, and memory management must all reach production-grade coverage—which is exactly the high-bar test for gauging the maturity of a domestic software stack.
4. From Point Validation to an Engineering System
Other practices disclosed by the vendor include: complete from-scratch training of a scientific foundation model with over 200 billion parameters, full-stack native training supporting a world model, end-to-end training of an embodied-intelligence “brain” model, and ongoing work toward training models at the trillion-parameter scale. Together, these cases point to one conclusion: large-model training capability is not a single breakthrough, but a systematic engineering effort spanning operator coverage, communication libraries, schedulers, fault-tolerance mechanisms, and automated toolchains.
Several capabilities are especially critical:
- Automatic operator adaptation: when facing new model architectures, can missing operators be filled in quickly rather than developed one by one by hand;
- Fault tolerance and checkpoint resumption: hardware failures are inevitable in long training runs, and the robustness of the checkpoint mechanism determines effective training time;
- Observability: full-pipeline monitoring of loss curves, gradient norms, communication latency, MFU utilization, and other metrics is a prerequisite for locating training anomalies.
5. Outlook: From “Can Train” to “Train Out of the Box”
Despite the significant progress in adaptation, the industry must stay clear-eyed about the remaining gap: the CUDA ecosystem’s accumulated operator libraries, debugging tools, and community inertia are still difficult for domestic software stacks to fully match in the short term. “Train out of the box” means developers do not need to care about underlying differences and can achieve near-equivalent efficiency using interfaces consistent with mainstream frameworks—this requires sustained investment in compilation optimization, operator fusion, and communication scheduling.
For developers, the right approach to technology selection is to rationally weigh the progress and boundaries of domestic compute hardware, and to focus on its stability and cost-effectiveness data under real training workloads. Every step of a full-featured domestic GPU moving from inference to training, and from adaptation to native support, deserves recognition—and deserves to be examined against stricter engineering standards.
