Trillion-Parameter LLM Training Adaptation on a Domestic Full-Function GPU: A Technical Analysis
This article analyzes a recent training-adaptation effort in which a Chinese GPU vendor used its flagship training-and-inference accelerator card and in-house software stack to complete a training-adaptation validation for a flagship model with nearly 3 trillion parameters on two nodes with 16 cards. It explains what the 400-step validation does and does not prove, breaks down the native FSDP2 multimodal training path, the full workflow from model loading to gradient synchronization, cross-node communication and numerical-stability checks, and the engineering systems needed for scaled training. It also discusses the industry significance and remaining challenges for domestic full-function GPUs in large-model training.
Trillion-Parameter LLM Training on a Domestic Full-Function GPU: From Adaptation to Stable Operation
1. Background: Real Tests for Domestic Compute in Large-Model Training
As large-model parameter scales move from hundreds of billions to trillions, training tasks have pushed requirements for underlying compute, interconnect bandwidth, and software-stack maturity to unprecedented levels. For a long time, the industry has judged whether an AI chip has genuine training capability by three hard criteria: whether it can support the complete training workflow of a frontier open-source large model; whether it can run stably for long periods at multi-node, multi-card scale; and whether the loss curve and gradient norm during training remain healthy and controllable.
Recently, a Chinese GPU vendor disclosed technical details of training adaptation for a flagship model with nearly 3 trillion parameters, using its flagship training-and-inference integrated AI compute card and in-house software stack. The setup used two nodes with 16 accelerator cards in total, completed 400 consecutive optimizer updates, and kept loss and gradient norm finite throughout, with no numerical overflow or abnormal interruption. This result has significant industry reference value, and this article provides a technical analysis based on it.
2. First, Clarify the Concept: “Training Adaptation” Is Not the Same as “Participating in Pretraining”
It is worth pointing out a conceptual boundary that is easily confused. “Completing training adaptation for a certain large model” means successfully reproducing the model’s training workflow on the chip platform, connecting the complete path from weight loading to parameter updates, and using a limited number of actual training steps to verify numerical correctness and system stability. This is different from saying that the model’s base pretraining was completed on this chip.
Similar practices are not uncommon in the industry. For example, some teams have validated both domestic NPU and mainstream GPU hardware routes side by side in technical reports to verify the feasibility of inference operators, but have not disclosed the actual compute source for base pretraining. Therefore, when interpreting such news, readers should understand “adaptation validation” as proof of engineering capability—proof that the chip and software stack can support advanced model architectures (such as ultra-large sparse expert models and multimodal inputs), rather than a direct statement about the source of training compute.
3. Breaking Down the Key Technical Paths
3.1 Native FSDP2 Multimodal Training Path
The core technical highlight of this adaptation is the construction of a native FSDP2 (Fully Sharded Data Parallelism, second generation) multimodal training path. FSDP shards model parameters, gradients, and optimizer states across data-parallel cards, temporarily aggregates them on demand during forward/backward computation, and releases them after use, greatly reducing per-card memory usage. Compared with traditional data parallelism, FSDP enables accelerators with limited memory to host models far larger than their physical capacity.
For a model with nearly 3 trillion parameters, sharding strategy design is particularly critical: the granularity of parameter sharding, the overlapping scheduling of communication and computation, and the trade-offs of CPU offload all directly affect training throughput and peak memory. FSDP2’s improvements over the first generation mainly lie in finer-grained sharding control and better communication scheduling. Combined with a multimodal data pipeline, it can simultaneously serve joint training of heterogeneous inputs such as text and vision.
3.2 Complete Workflow from Model Loading to Gradient Synchronization
A successful training adaptation must at least connect the following stages:
- Model loading and format conversion: correctly parse the original model weights, convert them, and redistribute them to each card according to the sharding strategy, involving precision handling (such as BF16/FP8 mixed precision) and shard metadata management;
- Sharding scheduling: reasonably plan the shard ratio carried by each card to balance memory usage and communication overhead;
- Gradient synchronization: after backward computation, synchronize gradients across cards through All-Reduce or Reduce-Scatter primitives, with overlap with computation to hide communication latency;
- Optimizer update: complete parameter updates in the sharded state, involving consistency maintenance of optimizer states (such as momentum and second moments).
An error in any of these stages will manifest as loss divergence, abnormal gradient norm, or process hang. The ability to run “400 consecutive stable steps” indicates that the above workflow has been fully validated in engineering terms.
3.3 Cross-Node Collaboration and Numerical-Stability Validation
Two nodes and 16 cards mean that training crosses node boundaries, making inter-node communication an additional challenge. Cross-node training needs to verify:
- Bandwidth utilization of high-speed inter-node interconnect and communication topology optimization;
- Correctness and performance of the collective communication library on heterogeneous hardware;
- Startup, fault tolerance, and state synchronization of multiple processes (16 training processes in this case).
For numerical stability, monitoring loss and gradient norm is standard practice. A finite gradient norm throughout indicates that no gradient explosion occurred; no numerical overflow indicates that the mixed-precision strategy and loss-scaling mechanism are working properly. An illustrative training loop is as follows:
for step in range(total_steps):with autocast(dtype=torch.bfloat16):loss = model(batch)loss.backward()grad_norm = clip_grad_norm_(model.parameters(), max_norm)if not math.isfinite(grad_norm):raise TrainingInstabilityError(step)optimizer.step()optimizer.zero_grad()
Checking the finiteness of the gradient norm at each step is a common guardrail in large-scale training.
4. From Single-Point Validation to an Engineering System for Scaled Training
A single 400-step validation can only prove that the workflow is correct. Truly supporting trillion-parameter training also requires a mature engineering system, including:
- Operator adaptation layer: deep optimization and correctness alignment for core operators of mainstream model architectures (Transformer, MoE, multimodal encoders);
- Multi-card/multi-node collaboration: stable collective communication implementation, topology-aware parallel strategies (hybrid orchestration of data parallelism, tensor parallelism, expert parallelism, and pipeline parallelism);
- Automated toolchain: automation of distributed launch, checkpoint resume, performance profiling, and anomaly diagnosis to reduce manual intervention;
- Fault tolerance: hardware failures are the norm in large-scale training; checkpoint saving and fast recovery capabilities determine the effective training time ratio.
According to reports, the vendor has previously implemented several practices: completing full training of a 236-billion-parameter scientific foundation model from scratch, supporting full-stack native training of a 5D world model, and completing end-to-end training of an embodied brain model. It is currently working with partners to advance trillion-parameter model training. This series of results indicates that domestic training capability is moving from “can run” to “can run long and stably.”
5. Industry Significance and Outlook
From an industry perspective, the value of such training adaptation validation lies in narrowing the “trust gap” between domestic compute and training demands. In the past, domestic chips were mainly used for inference deployment, and the training side was questioned due to issues such as software-stack ecosystem, numerical precision, and communication stability. When continuous stable training at the two-node, 16-card level can be publicly reproduced and examined, “domestic chips training domestic models” is gradually changing from a slogan into a verifiable engineering fact.
Of course, challenges remain: scaling from 16 cards to thousands or even tens of thousands of cards will exponentially amplify problems in failure rates, communication overhead, and parallel efficiency; compiler optimization, operator coverage, and the maturity of ecosystem toolchains also require long-term accumulation. The industry’s goal is to move frontier large models on domestic full-function GPUs from “can train” to “out-of-the-box training,” meaning developers can obtain an out-of-the-box training experience without deep customization. Every publicly available validation data point in this process is an important footnote to the maturing of the domestic AI compute ecosystem.
