Trillion-Parameter Training on Chinese GPUs: Understanding Validation Metrics

    Chinese GPU vendors have announced training adaptation for trillion-parameter open-source models, but such claims can mean anything from inference compatibility to full pretraining. This article explains the terminology, runs the memory math on a reported 16-GPU, 3-trillion-parameter configuration, walks through FSDP2 sharding and cross-node communication, and provides a practical checklist for evaluating such announcements.

    1. Four Terms to Distinguish: Adaptation, Validation, and Pretraining

    When a Chinese GPU vendor announces that it has completed training adaptation for a trillion-parameter open-source model, the news is often taken as evidence that Chinese domestic compute can already train large models. Before reading such announcements, it pays to clarify what each term actually means.

    • Inference adaptation (also called integration): The chip and software stack can load model weights, execute forward computation, and run inference. This validates operator coverage and the maturity of the inference pipeline.
    • Full training-loop adaptation: The closed loop of model loading, parameter sharding, distributed scheduling, mixed-precision computation, gradient synchronization, and optimizer updates can run stably. This demands an order of magnitude more from the hardware-software stack.
    • Validation: Usually means the training loop runs for a period of time, for example several hundred consecutive steps.
    • Pretraining: Training from scratch on the full dataset until convergence.

    There are industry cases where technical reports claim a model supports multiple hardware platforms, but closer inspection shows only inference operators were validated. The reports often do not specify which hardware actually completed the base model’s pretraining. When you see such news, ask three things: Was inference or training validated? How many training steps were run? What hardware was used?

    2. First Check the Numbers: Can the Memory Hold the Model?

    The publicly disclosed information is: two machines, 16 GPUs, 400 consecutive optimizer updates, and a model scale approaching 3 trillion parameters. Let’s work through the numbers first.

    • A 3-trillion-parameter model with FP16 weights requires approximately 3 × 10^12 × 2 bytes = 6 TB.
    • With mixed-precision Adam training, each parameter also needs FP32 master weights, first-order momentum, and second-order momentum states. Following the ZeRO paper’s estimate, each parameter requires about 16 bytes, totaling approximately 48 TB.
    • Assuming 96 GB of memory per GPU, 16 GPUs provide about 1.5 TB in total.

    Even counting weights alone, the on-chip memory of 16 GPUs falls far short. FSDP2 shards parameters across 16 GPUs, and each GPU would still need to hold about 375 GB of weight shards, exceeding single-card memory. For this configuration to work, CPU memory or NVMe offloading is typically required, along with layered parameter loading. Another possibility is that the reported parameter scale does not match the actual training scale.

    MoE architectures reduce computation per token but do not reduce the total storage required for parameters, so this does not explain the gap. This does not mean the vendor is fabricating results, but the announcement does not explain these details, and readers cannot verify the “16 GPUs training 3 trillion parameters” claim. The information readers should request from the vendor: per-GPU memory, intra-node interconnect, inter-node bandwidth, whether offloading is used, and the parallel configuration.

    3. FSDP2 Sharding and Scheduling

    FSDP2 shards at the parameter granularity. During forward and backward computation, it performs all-gather as needed to assemble parameters and releases them immediately after use. Real implementations typically group by Transformer layer, gathering only the current layer’s parameters at once rather than assembling the whole model. The pseudocode below illustrates this process.

    1. # Pseudocode: FSDP2 layer-by-layer training loop
    2. for batch in dataloader:
    3. out = batch.inputs
    4. for layer in model.layers: # Process layer by layer
    5. full_params = all_gather(layer.shard) # Gather only current layer's shard
    6. out = layer.forward(out, full_params) # Forward pass for current layer
    7. release(full_params) # Release immediately after use
    8. loss = loss_fn(out, batch.labels)
    9. loss.backward() # Backward proceeds layer by layer; gradients reduced via reduce_scatter
    10. optimizer.step() # Each GPU updates only its shard
    11. optimizer.zero_grad()

    The benefit of layer-by-layer gathering is that peak memory approaches “full parameters of the largest layer plus all shards,” allowing the model to run within limited memory. The cost is more communication operations. Engineering practice typically prefetches the next layer’s parameters so that communication overlaps with computation of the current layer.

    4. Cross-Node Communication and Stability Validation

    Two-machine training means communication crosses node boundaries. Inter-node bandwidth is typically far lower than intra-node interconnect, so communication easily becomes the bottleneck. Engineering work mainly addresses three things:

    • Overlapping communication with computation: Prefetch the next layer’s parameters while computing the current layer.
    • Gradient reduction precision: Select appropriate reduction algorithms and precision to avoid accumulating errors.
    • Fault tolerance and resume training: Write checkpoints periodically, and recover from the most recent checkpoint after abnormal interruption.

    Stability validation can be assessed with three metrics:

    • Loss curve: The first few hundred steps should decline smoothly. Spikes often indicate numerical instability under mixed precision or data issues.
    • Gradient norm: Gradient explosion or vanishing are the two most common failure modes in distributed training. Gradient clipping and dynamic loss scaling are typically used.
    • Multi-process consistency: 16 processes can synchronize continuously without deadlocks or hangs.

    The original report states that loss and gradient norm remained finite throughout with no numerical overflow, which shows the loop did not fail numerically. But this sentence alone cannot tell you the shape of the curve; readers need to see the curve itself.

    400 steps can prove the hardware-software loop runs continuously, but it cannot prove full pretraining capability. Pretraining requires massive token volumes and long-running operations, and must handle hardware failure rates, learning-rate scheduling, and data quality issues. Treating 400 steps as a starting point is reasonable; treating it as an endpoint overstates the result.

    5. The Three-Layer Capability Framework

    Chinese domestic compute needs three layers of capability to support large-model training:

    1. Operator layer: Cover high-frequency operators such as attention, MoE routing, normalization, and optimizer kernels, while ensuring numerical precision matches mainstream framework semantics.
    2. Distributed layer: Support combined scheduling of data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism.
    3. Toolchain layer: Provide model migration, memory analysis, performance profiling, and auto-tuning tools to reduce the cost of switching hardware.

    Expert parallelism (EP) is a particularly strong test of the software stack. Current mainstream open-source models mostly adopt MoE architectures, where each token activates only a few experts and experts are distributed across different GPUs. Each layer’s forward pass requires All-to-All communication based on routing results, with high frequency and latency sensitivity. The ability to stably run fine-grained EP indicates that the communication library and scheduler are indeed mature.

    The original report also lists cases such as training a hundred-billion-parameter scientific foundation model from scratch, full-pipeline training of embodied intelligence models, and ongoing joint training of a trillion-parameter model. These cases have reference value, but they should not be cited directly before seeing hardware configurations, training steps, and loss curves.

    6. Checklist for Readers

    • Hardware specifications: Per-GPU memory, GPU count, intra-node interconnect, inter-node bandwidth. Verification: Use the memory formula to estimate whether the configuration can fit the model.
    • Memory strategy: Whether offloading, layered loading, or activation recomputation is used. Verification: Request memory usage curves.
    • Parallel configuration: The scales and combinations of FSDP, TP, PP, and EP. Verification: Confirm that the product of parallel scales equals the total GPU count.
    • Training steps: How many consecutive steps ran and whether restarts occurred. Verification: Request complete logs.
    • Numerical metrics: Loss and gradient norm; whether NaN or inf appeared. Verification: Look at curve trends, not just a single number.
    • Recovery capability: Checkpoint save interval and recovery time. Verification: Simulate an interruption, recover, and record the time.
    • Training efficiency: MFU. Verification: Confirm the calculation method and the source of peak TFLOPS. Paper peak and actual utilization may differ by several times.
    • Claim language: Distinguish “adaptation,” “integration,” “validation,” and “pretraining” to determine which milestone the report represents.

    7. Conclusion

    Chinese GPUs completing training adaptation for trillion-parameter models shows that Chinese domestic compute can support early validation of the full training loop. But from a few hundred steps of validation to full pretraining, there are still hurdles: communication efficiency, failure rates, and ecosystem compatibility. When evaluating a claim, readers should first check whether hardware and memory match, then look at steps, curves, and recovery capability, and finally consider the headline scale numbers. As operator adaptation, multi-GPU coordination, and automated toolchains continue to improve, training frontier models on Chinese domestic compute will gradually become a routine option—worth tracking for anyone following AI infrastructure.