A Domestic GPU Completes Training Adaptation for a Nearly 3 Trillion-Parameter MoE Model: What "Adaptation" Actually Proves

    A domestic GPU vendor recently disclosed a training adaptation result: its flagship training-and-inference accelerator card ran 400 consecutive optimizer updates on 2 nodes with 8 cards each (16 cards total), using the native FSDP2 training path, with loss values and gradient norms staying finite throughout and no numerical overflow or interruption. The target was a flagship sparse mixture-of-experts (MoE) model with close to 3 trillion parameters. This article separates inference adaptation, training adaptation, and base-model pre-training, explains which links a native FSDP2 path unblocks, and lays out an objective framework for evaluating and migrating to domestic compute — including correctness, stability, MFU-based efficiency, engineering readiness, and a practical migration checklist.

    A recent disclosure from a domestic GPU vendor has reignited the question of whether Chinese accelerators can handle trillion-parameter model training. The vendor reported that its flagship training-and-inference accelerator card, running 2 nodes × 8 cards, completed 400 consecutive optimizer updates on the native FSDP2 training path, with loss values and gradient norms remaining finite and no numerical overflow or abnormal interruption. The target was a flagship sparse mixture-of-experts (MoE) model with close to 3 trillion parameters.

    News like this is easily compressed into claims such as “domestic chips can now train frontier models,” or worse, “this model was trained on domestic chips.” Neither is what happened. This article breaks down what training adaptation actually means from a technical standpoint, explains which critical links the native distributed training path unblocks, and offers a practical, objective approach to evaluating and migrating onto domestic compute.

    1. First, Separate Three Concepts: Adaptation, Integration, and Pre-Training

    When people discuss domestic compute, several terms get used interchangeably, which is where most of the misunderstanding starts.

    1. Inference operator-level adaptation (often called “Day 0 adaptation”): a domestic chip completes inference deployment of a newly released open-source model on or even before release day. What this validates is operator coverage along the forward computation path, numerical correctness, and inference performance.

    2. Training adaptation: the full training path — forward computation → backpropagation → parameter update — is wired up on domestic chips and runs stably and continuously across multiple cards and multiple nodes. What this validates is the combined capability of backward operators, mixed precision, communication primitives, and the scheduling framework.

    3. Base-model pre-training: pre-training a base model from scratch on massive data, with far higher demands on cluster scale, continuous run duration, fault recovery, and data engineering than either of the above.

    The relationship between the three can be summarized with a simple set of distinctions:

    1. A model can run inference on hardware X (Day 0) ≠ A model can train on hardware X
    2. A model can train on hardware X ≠ The model was pre-trained on hardware X

    One reference point worth noting: a leading model vendor listed validation results for two different classes of AI accelerator hardware side by side in its technical report for a new-generation model. The prevailing industry reading is that this kind of side-by-side validation mainly covers inference-side operators; as for where the original compute for base-model pre-training actually came from, the vendor has not disclosed it officially.

    So when you read “chip X adapts to model Y,” the accurate reading is: the model now has the capability to train (or run inference) on that hardware. It does not mean the model’s weights were trained from scratch on that chip. The “2 nodes × 8 cards, 400 consecutive steps” case is no exception. It demonstrates that domestic GPUs can stably complete training iterations for trillion-parameter models, and it accumulates engineering experience for larger-scale, longer-duration training runs later — not that “the model has already been pre-trained on domestic GPUs.”

    Capability level What it primarily validates Typical metrics to observe Common misreading
    Inference adaptation Forward operator coverage, precision, throughput and latency Output consistency, time-to-first-token, decode throughput “The model is now fully powered by domestic compute”
    Training adaptation Forward/backward operators, mixed precision, gradient communication Finite loss and gradient norms, number of consecutive update steps, no interruptions “The model was pre-trained on domestic GPUs”
    Base-model pre-training Long-run stability, cluster scale, data engineering, reproducibility Convergence curve alignment, share of effective training time, fault recovery capability “Domestic compute has fully replaced the original training setup”

    Clarifying this is not an attempt to downplay the value of training adaptation. Quite the opposite: completing 400 consecutive updates without interruption is itself evidence that domestic GPUs have cleared an important threshold for trillion-parameter model training.

    In multi-card training, data parallelism (DP) requires every card to hold the full set of model parameters, gradients, and optimizer states. For a trillion-parameter model, that memory footprint is completely unworkable. Take mixed-precision training as an example: mixed-precision parameters (2 bytes), a master copy of the parameters (4 bytes), gradients (4 bytes), and optimizer states (4 bytes each for momentum and variance) add up to roughly 18 bytes per parameter. Model states alone come to nearly 54 TB — far beyond the memory of a single node.

    The idea behind sharded data parallelism (FSDP) is to shard parameters, gradients, and optimizer states along the data-parallel dimension across training processes, so each card only keeps its local shard resident. When a layer’s parameters are needed for computation, the cards temporarily aggregate the full parameters via collective communication; immediately after the forward pass, the full parameters are released, then re-aggregated on demand during backpropagation, after which gradients go through reduce-scatter. Because FSDP sits closer to the training framework’s native modules, some frameworks have gone a step further and shipped a more thorough “native” implementation (FSDP2). The industry often contrasts these native versions with distributed setups assembled by the community; the core differences show up in a few places:

    • Fewer dependencies: the native path relies as much as possible only on the training framework’s standard operators and communication interfaces, rather than nesting multiple layers of third-party components. Every layer of wrapping means one operator mapping and one precision conversion — and adaptation problems on domestic GPUs very often hide precisely in wrapping chains that have “too many layers.”
    • Natural compatibility with framework capabilities: automatic mixed precision, activation recomputation, checkpoint saving, gradient clipping and similar features apply directly to the natively sharded model, with no extra adaptation layer required.
    • Finer scheduling granularity: native implementations typically work at the granularity of parameter groups or compute units, call communication primitives more precisely, make compute-communication overlap easier to achieve, and make it easier to plug in a custom communication backend.
    • Better portability: training code built on standard distributed interfaces only needs the underlying communication backend and device runtime swapped out to have a good chance of moving to a different hardware platform.

    In this particular 2-node, 8-card-per-node scenario, the number of model structures supported natively by training frameworks is large, and a trillion-parameter MoE model spans attention modules, routing networks, feed-forward networks, expert submodules, normalization layers, and an optional multimodal encoder. The fact that the native training path ran stably says at least two things: the vast majority of the model’s structures are covered by native implementations rather than relying on large amounts of hand-written custom operators; and the underlying operator and communication libraries have passed a real-world test of their baseline capabilities.

    According to the disclosure, Moore Threads completed the full training chain — from model loading and shard scheduling to gradient synchronization. Breaking that down, each link maps to a typical hard problem in domestic hardware adaptation:

    1. Model loading: correctly loading weight files and sharding them to each process according to the sharding strategy. This involves weight-sharding mappings when tensor parallelism is in play, alignment of weight naming, and control of memory peaks during loading.
    2. Shard scheduling: building process groups, assigning local and remote shards according to the device interconnect topology, timing forward aggregation and backward re-aggregation, and overlapping aggregation communication with subsequent computation as much as possible.
    3. Gradient synchronization: after backpropagation, applying reduce-scatter to gradients, then updating optimizer states per shard, ensuring every process ends each step holding a logically consistent copy of the parameters.

    A useful analogy is a library that lends books on demand: normally each book is kept by a single librarian (parameters stay resident as shards); when a reader needs a category of books, the librarian temporarily gathers that category together (forward aggregation) and returns them immediately after use (releasing full parameters); at closing time the ledger is reconciled (gradient synchronization). The larger the model, the more frequent the borrowing, and the more critical the librarian’s scheduling and communication skills become — which is exactly the core of multi-node, multi-card training engineering.

    Illustrative code follows (it shows the idea behind gradient reduction and is framework-agnostic):

    1. # Pseudocode: the FSDP-style "aggregate — compute — release" loop
    2. for layer in model.layers_in_execution_order: # iterate in forward execution order
    3. full_weight = all_gather(layer.sharded_params) # temporarily aggregate full parameters
    4. output = layer.forward(input, full_weight) # local computation
    5. del full_weight # release immediately to cap the memory peak
    6. loss = loss_fn(output, target)
    7. loss.backward() # parameters are re-aggregated on demand during backprop; reduce-scatter then
    8. # runs on gradients, so each process keeps only its local shard's gradients
    9. clip_grad_norm(model.parameters(), max_norm=1.0) # compute and clip the global grad norm on local shards
    10. optimizer.step() # each process updates only its local shard of optimizer state

    3. What 400 Consecutive Stable Steps Actually Means

    “400 consecutive updates, no interruption for the entire run” is the most substantive part of this adaptation. Plenty of adaptation cases only manage a single step or a few dozen, and it is not rare for problems to surface only after several hundred steps.

    1. Why “400 steps” and not “1 step”?

    Every training step is the combined execution of a large number of operators. A single successful step only shows that the operators “can produce a result”; 400 consecutive steps without interruption shows that the operators remain stable under prolonged, high-intensity, repeated invocation. It rules out at least the following classes of problems:

    • Memory leaks: some custom operators allocate temporary memory during backpropagation that is never reclaimed, so memory slowly climbs over dozens of steps until it overflows.
    • Communication state corruption: multi-node collective communication is extremely sensitive to call ordering; a single out-of-bounds or out-of-order call can hang a process or raise an error.
    • Accumulated scheduler error: under asynchronous execution, some errors only surface after buffers have been reused a number of times.

    2. What does “loss and gradient norm finite throughout” mean?

    In large-scale training, loss turning into NaN or gradient norms blowing up to infinity are the most common training incidents, and mixed-precision training is especially prone to them. Monitoring these two quantities works because:

    • With BF16 (16-bit bfloat16), no loss scaling is needed, but mantissa precision is limited, so tiny errors can amplify progressively;
    • FP16 (16-bit floating point) has a narrower dynamic range and typically needs dynamic loss scaling;
    • Gradient clipping depends on a finite global gradient norm — once that norm goes bad, the clipping itself stops working.

    So “finite throughout” can be read as an initial validation of numerical stability. But to be objective, a limited-scale experiment of 400 steps demonstrates “short-term stability,” and there is still distance between that and “convergence quality is acceptable.”

    3. An implicit test of distributed consistency

    The correctness of gradient synchronization is hard to spot by eye. If reduce-scatter carries a subtle deviation, per-card parameters will drift slowly, and the loss curve may still look normal — while model quality has already degraded. A more rigorous approach is a comparison check: holding data loading, random seeds, and other conditions exactly constant, change the parallelism configuration, rerun a number of steps, and compare whether the loss curves overlap. Only when single-card and multi-card results align can you confirm the distributed logic is correct.

    4. From “Can Train” to “Trains Well”: How to Objectively Evaluate Domestic Compute for Training

    Training adaptation is only the starting point. To judge whether a compute stack can support real large-model R&D, build an evaluation framework around four dimensions:

    1. Correctness: are loss and gradient norms finite; does the loss curve match an equivalent reference implementation; do sharded training results align with single-card results; is deterministic reproducibility adequate.

    2. Stability: how many steps can it run continuously without interruption; are there silent errors (abnormal loss jumps, sudden gradient-norm spikes); after a failure, can it automatically recover from a checkpoint, and does loss resume along the original trajectory.

    3. Efficiency: use Model FLOPs Utilization (MFU) to measure how much of the actual compute is delivered. It is estimated as:

    1. MFU ≈ global_token_throughput(tokens/s) × 6 × num_parameters / (num_GPUs × peak_flops_per_GPU)

    The factor of 6 corresponds to the rule-of-thumb estimate of about 2 floating-point operations per parameter per token in the forward pass and 4 in the backward pass. Comparing MFU or throughput across different card counts then reveals scaling efficiency (the share of effective compute that grows as cards are added).

    4. Engineering: model loading time, checkpoint save and restore time, data pipeline throughput, completeness of monitoring and alerting, and coverage of common framework-level training features (learning-rate warmup and decay, mixed precision, activation recomputation, gradient accumulation).

    For metric recording, save structured logs at every step so results can be traced back and compared side by side (illustrative):

    1. # Pseudocode: structured logging of training metrics (illustrative)
    2. metrics = {
    3. "step": global_step,
    4. "loss": float(loss.detach()),
    5. "grad_norm": float(total_grad_norm),
    6. "lr": optimizer.param_groups[0]["lr"],
    7. "tokens": consumed_tokens,
    8. "tokens_per_sec": throughput,
    9. "mem_alloc_gb": memory_allocated() / 1e9,
    10. }
    11. logger.info(json.dumps(metrics)) # enables curve alignment, anomaly detection and scaling analysis

    5. A Practical Checklist for Migrating to Domestic Compute

    For teams planning to move training workloads to domestic GPUs, work through the following in order:

    1. Validate layer by layer: progress through single card/single step → single card/100 steps → single node/multi-card → multi-node/multi-card → long stability run, with explicit pass criteria at each layer, such as loss curve alignment, no memory growth, and N consecutive steps without interruption.
    2. Get the minimal reproduction running first: complete end-to-end training with a smaller model of the same structure, validating path completeness first and scaling up gradually.
    3. Checkpoints first: enable periodic saving from the very first multi-card run, and treat every step as a rollback-able state.
    4. Establish a baseline for comparison: keep a record of loss and metrics from equivalent hardware or a reference implementation as the yardstick for “did it train correctly.”
    5. Pay attention to the mixed-precision strategy: prefer BF16 for its wider dynamic range; when lower precision is involved (such as FP8), watch numerical behavior in sensitive layers (normalization layers, routing networks).
    6. Stress test: include long continuous runs, randomly injected single-card failures, and simulated network jitter, and observe whether the system recovers automatically.
    1. # Illustrative launch arguments reflecting a "2 nodes x 8 cards" topology
    2. # --nnodes 2 --nproc-per-node 8 => 16 training processes in total
    3. # --checkpoint-every 50 => save a checkpoint every 50 steps for fault rollback
    4. launcher --nnodes 2 --nproc-per-node 8 --rdzv-addr <node0-ip> --rdzv-port 29500 \
    5. --checkpoint-every 50 train.py

    6. Infrastructure: Training Adaptation Needs a Supporting Foundation

    Beyond algorithm frameworks, training adaptation also depends on a foundation that is easy to overlook: the cluster and infrastructure.

    • High-speed interconnect: cross-node training performance depends heavily on the network. Intra-node card-to-card bandwidth, and inter-node bandwidth, latency, and congestion control, all directly affect gradient synchronization efficiency.
    • Parallel file system: large-scale training reads and writes checkpoints and training data at high frequency; insufficient storage throughput leaves expensive compute idling while it waits on I/O.
    • Observability: a unified logging, metrics collection, and alerting system is key to diagnosing problems like “it crashed at step N.”

    For cloud-based training, general-purpose capabilities can typically be combined: GPU compute instances, container orchestration platforms, object storage, log services, and monitoring and alerting. Baidu AI Cloud, for example, lets users build a training environment on GPU cloud servers and container clusters, use object storage to hold training data and checkpoints, and collect training metrics uniformly through logging and monitoring services. This reduces the burden of low-level operations so teams can focus on algorithms and adaptation itself. Availability varies by region, so check the official documentation for the services and regions relevant to you.

    7. From Point Validation to an Engineering System

    Based on public information, domestic GPU vendors have several landed cases in the direction of “domestic chips training domestic models”:

    • completing full training from scratch for a scientific foundation model of roughly 236 billion parameters;
    • supporting full-stack native training of a 5D world model proposed by a research team;
    • completing the end-to-end training of an embodied-intelligence “brain” model jointly with research institutes;
    • currently advancing training for trillion-parameter models.

    These cases span basic science, world models, and embodied intelligence, and they complement this “trillion-parameter MoE, 2 nodes × 8 cards, 400 steps” result. Together they sketch a clear capability evolution path: from small- and mid-scale model training, to multimodal and embodied model training, to trillion-scale model training adaptation.

    The keywords “native” and “full pipeline” are worth emphasizing. They indicate that the adaptation approach for domestic GPUs is shifting from “filling in operators one by one and customizing per model” toward “native framework paths as the main route, with engineering systems as the safety net.” For the industry, this means migration costs should gradually fall, and more teams will be able to start large-model R&D on domestic compute at a lower barrier.

    Conclusion

    “2 nodes × 8 cards, 400 consecutive updates” is a milestone, but it is the starting point — not the endpoint — for domestic compute supporting large-model training. Looking at progress like this rationally requires separating three things:

    • training adaptation validates whether it can train;
    • long stability runs and convergence validate whether it trains stably and well;
    • base-model pre-training tests whether it can train at large scale over long periods.

    Going forward, as operator coverage continues to fill in, multi-card coordination keeps improving, and automated toolchains mature, domestic compute should move from “can train” to “trains out of the box.” At that point, news like “chip X adapts to model Y” will stop being the focus, because training frontier large models directly on domestic compute will itself have become routine.