Domestic GPU Completes Training Adaptation for a Near-Trillion-Parameter Large Model

    This article examines a domestic full-function GPU vendor's training adaptation for a flagship model with nearly 3 trillion parameters, which ran stably for 400 optimizer update steps across 16 cards in two nodes. It clarifies the difference between training adaptation and pretraining from scratch, explains the native FSDP2 multimodal training path, assesses what the 400-step test does and does not prove, outlines the engineering layers needed to move from "can train" to "ready to train out of the box," and offers practical validation advice for developers.

    1. Background: A Training Adaptation, Not a Pretraining Reproduction

    A domestic full-function GPU vendor recently announced that, using its flagship training-and-inference compute card and its in-house software stack, it had quickly completed the training adaptation of a flagship large model with nearly 3 trillion parameters. Under a configuration of two nodes with 16 cards in total, the setup ran continuously and stably for 400 optimizer update steps.

    This kind of news is easy to misread, so it is worth drawing the conceptual boundaries clearly first.

    1.1 Training Adaptation Is Not Pretraining on the Chip

    “Adaptation/integration succeeded” means that the model’s training scripts can run correctly on this hardware and software stack, with numerically correct and closed-loop forward passes, backward passes, optimizer updates, and gradient synchronization. It does not mean that the model’s base weights were pretrained from scratch on these chips.

    A relevant industry phenomenon is that the technical report of an open-source model validated multiple accelerator routes side by side in the same document and provided a fine-grained expert parallelism scheme, yet the industry generally regards that as inference-side operator validation, and the original compute source for the base pretraining has not been officially disclosed. This shows that “a piece of hardware appears in a report” and “that hardware carried out the pretraining” are two different things.

    1.2 Why This Distinction Matters

    • Procurement decisions: completed adaptation indicates ecosystem availability, not that the cost per unit of compute is already optimal.
    • Technical evaluation: pretraining stability requires validation over thousands to millions of steps, and 400 steps is only a necessary but insufficient condition.
    • Public perception and compliance: conflating the concepts leads to misjudging the maturity of domestic compute.

    2. Technical Core: A Native FSDP2 Multimodal Training Path

    The key to this adaptation was building a native FSDP2 (Fully Sharded Data Parallel, second generation) multimodal training path, connecting the complete chain from model loading and shard scheduling to gradient synchronization.

    2.1 Key Changes from FSDP1 to FSDP2

    The core improvement of FSDP2 is replacing FSDP1’s FlatParameter scheme with per-parameter sharding, which brings several direct benefits:

    • Finer sharding granularity, more controllable peak memory, and more flexibility for mixed precision and quantization;
    • Clearer sharding semantics for parameters, gradients, and optimizer states, making it easier to combine with tensor parallelism and pipeline parallelism;
    • A more regular state dict structure, making checkpoint saving and restoration more reliable.

    Illustrative pseudocode (expressing semantics only, not a specific framework API):

    1. # Pseudocode: skeleton of an FSDP2-style training loop
    2. for step, batch in enumerate(loader):
    3. with shard_model(): # parameters sharded by rank
    4. out = model(batch) # forward pass all-gathers parameters on demand
    5. loss = criterion(out, batch.y)
    6. loss.backward() # backward pass reduce-scatters gradients per parameter
    7. opt.step() # each rank updates only its local shard
    8. opt.zero_grad()
    9. if step % log_interval == 0:
    10. log(loss=loss.item(), grad_norm=clip_grad_norm_(model, 1.0))

    2.2 Additional Complexity from Multimodality

    Compared with text-only training, multimodal training adds structures such as a vision encoder, projection layers, and image-text alignment losses, which require engineering attention:

    • Sub-modules differ greatly in parameter count, so sharding and parallelism strategies need to be set differently per module;
    • Tensor shapes in the vision branch change with resolution, easily triggering recompilation and memory fluctuations;
    • Image-text pair data loading is a bottleneck and requires a separate streaming decode and prefetch pipeline.

    3. Stability Validation: What 400 Steps on 16 Cards Across Two Nodes Shows

    The experiment used 16 accelerator cards across two nodes for cross-node joint training. The 16 training processes completed 400 consecutive optimizer updates, with loss values and gradient norms remaining finite throughout and no numerical overflow or abnormal interruption.

    3.1 What These 400 Steps Actually Verified

    • Cross-node communication correctness: collective communication (all-reduce / reduce-scatter / all-gather) over the inter-node network is semantically correct;
    • Numerical health: under mixed precision, loss and grad norm produce no NaN/Inf, indicating that sensitive points such as loss scaling, normalization layers, and attention softmax are handled properly;
    • Closed-loop workflow: checkpoint saving, logging, and metric collection do not block the main training path.

    3.2 What These 400 Steps Did Not Verify

    • Long-range stability: drift in learning rate schedules, data order, and random seeds after tens of thousands of steps is not covered;
    • Fault tolerance: elastic recovery from a single-card or single-node failure is not verified;
    • Performance inflection points: the MFU (model FLOPs utilization) curve versus sequence length and parallelism degree is not provided.
    1. A “long run” of at least 5,000 steps, observing whether the loss curve is smooth and whether there are periodic spikes;
    2. Fault injection: randomly kill a training process and verify checkpoint recovery;
    3. Numerical monitoring: build histogram statistics for each layer’s activations to locate layers prone to overflow;
    4. Performance baseline: record per-step time, communication share, and peak memory to form a regression baseline.

    4. Engineering System: From “Can Train” to “Ready to Train Out of the Box”

    The original text mentions that the company has built a mature engineering system and delivered multiple results of “domestic chips training domestic models,” including complete from-scratch training of a 236-billion-parameter scientific foundation model, full-stack native training of a 5D world model, and full-process training of an embodied brain model, and is currently advancing trillion-parameter-scale training.

    Abstractly, this capability can be broken into four layers.

    4.1 Operator Layer

    • Build an operator coverage matrix: tally operator support by model structure (attention, normalization, convolution, sampling);
    • Provide composite implementations or custom kernels for missing operators, with accuracy alignment tests;
    • Establish operator-level unit tests and randomized comparison mechanisms to ensure numerical consistency with reference implementations.

    4.2 Parallelism Strategy Layer

    • Data parallel plus full sharding: the default choice when memory is tight;
    • Tensor parallelism: enabled when a single layer’s parameters are too large to fit on one card, noting that communication volume rises with parallelism degree;
    • Pipeline parallelism: used when there are many layers and cross-node scaling is needed, requiring handling of bubbles and recomputation;
    • Expert parallelism: key for sparse expert models, requiring fine-grained routing and load balancing.

    Selection experience: first get a run working with “full sharding + activation recomputation,” then gradually introduce tensor/pipeline parallelism, changing only one dimension at a time to make problem localization easier.

    4.3 Toolchain Layer

    • Automated training launcher: unified environment, topology detection, and rank orchestration;
    • Observability: a logging service plus monitoring alerts and a metrics dashboard covering loss, grad norm, throughput, memory, and temperature;
    • Checkpoint and data management: object storage plus versioned datasets, supporting resumable training and data rollback.

    4.4 Evaluation and Regression Layer

    • Establish a standard “adaptation acceptance” process: load → single step → 10 steps → 400 steps → long run;
    • Run regressions on every software stack upgrade to prevent operator behavior drift;
    • Output a standardized report containing numerical curves, performance baselines, and known limitations.

    5. Practical Advice for Developers

    1. Clarify the goal first: inference deployment, fine-tuning, or from-scratch pretraining? The three differ by an order of magnitude in stability requirements.
    2. Validate at small scale before scaling up: single card → multi-card single node → two nodes → multi-node, with pass criteria at each stage.
    3. Put numerical monitoring first: loss, grad norm, and activation distributions expose problems earlier than throughput.
    4. Do not ignore the data side: the bottleneck in multimodal training is often decoding and alignment, not compute.
    5. Pay attention to ecosystem sustainability: operator coverage, community activity, and documentation quality determine long-term maintenance costs.

    6. Conclusion

    A domestic full-function GPU completing the training adaptation of a near-trillion-parameter model is an important signal of ecosystem availability, but moving from “can train” to “ready to train out of the box” still requires continued refinement in operator completeness, long-range stability, fault-tolerant recovery, and toolchain maturity. For developers, rationally assessing the significance of 400 steps and building your own validation checklist and regression baseline is the key to truly making good use of domestic compute.