A Nearly 3-Trillion-Parameter Model Trains on a Domestic GPU: What the Training Adaptation Actually Proves

    A domestic GPU vendor has completed training adaptation for a flagship model with nearly 3 trillion parameters, running 400 consecutive optimizer updates on 16 cards across two nodes with loss and gradient norms staying finite throughout. This article separates three often-conflated meanings of "adaptation" — inference enablement, training adaptation, and foundation model pretraining — then breaks down the full training stack involved, explains how to read a 400-step stability test and where its conclusions stop, and lists the gaps that still separate "it can train" from "works out of the box," with a concrete validation loop and practical guidance for teams evaluating domestic compute.

    Recently, a vendor of full-function GPUs built in China announced that, using its flagship training-and-inference compute card and its in-house software stack, it has completed training adaptation for a flagship large model with nearly 3 trillion parameters. The adaptation ran 400 consecutive optimizer updates on 16 cards across two nodes, with loss and gradient norms remaining finite throughout. This is another capability checkpoint for domestic GPUs in the trillion-parameter training regime, and it is a useful engineering sample worth taking apart.

    One common misreading needs to be cleared up first: completing training adaptation for a model does not mean the model’s foundation pretraining was done on these chips. These are two different layers of work, and conflating them leads to a badly distorted view of how mature domestic compute actually is. The discussion below starts with that distinction, breaks down the full technical stack behind training adaptation, uses the 400-step stability test as a case study in validation methodology, and closes with a gap list and a practical roadmap for moving from “it can train” to “works out of the box.”

    1. Three Kinds of “Adaptation” Are Not the Same Thing

    The industry uses the word “adaptation” for three different scenarios, but the effort and the significance differ substantially.

    Dimension Inference adaptation (Day 0) Training adaptation Foundation model pretraining
    Core goal Get a new model running inference on the chip Run the full forward, backward, and parameter update pipeline Train a foundation model from random initialization
    Key challenges Operator coverage, memory and bandwidth constraints Backward gradient correctness, numerical stability, cross-node communication Long-run stability at thousands of cards, fault tolerance, data engineering
    How it is validated Input/output comparison, accuracy metrics Stability and convergence trend over a small number of steps Loss curve under full token throughput
    Done when Inference outputs match expectations Optimizer updates show no anomalies and loss stays finite Target convergence quality is achieved

    Take a recent frontier model as an example. Its technical report validates AI accelerators of two different architectures side by side, and the public information indicates that the validation covered inference-side operators; it does not state what compute was used for foundation pretraining. Information of that kind should not be read as “the base model has already been trained on domestic chips.”

    The same reasoning applies to adapting an existing set of open weights. That validates whether the platform can correctly host the model’s training computation graph and optimization flow; it says nothing in reverse about the hardware the model was originally trained on. Keeping these two ideas separate is what allows an accurate assessment of where domestic compute stands today.

    2. What Makes Training Adaptation Hard: A Full-Stack Breakdown

    Inference requires only the forward pass. Training requires closing the loop across data loading, forward, backward, gradient reduction, and parameter update. Taking the FSDP2 fully sharded data parallel path used in this adaptation as the example, a single optimizer update involves the following stages:

    1. Model loading and sharding: Load weights that may run to tens or even hundreds of gigabytes, shard them across training processes by parameter (FSDP2) or by parameter group (FSDP1), re-gather temporarily during computation, and plan memory usage accordingly.
    2. Sharding schedule and forward/backward execution: Forward and backward passes alternate and frequently trigger collective communication, which must overlap with computation while keeping the memory peak under control.
    3. Gradient reduction: Sum or average gradients across cards, then align them with the corresponding optimizer state shards.
    4. Parameter update: The optimizer updates its local shards, and the next round of gathering begins.
    5. Cross-node communication: Inter-node bandwidth is far lower than intra-node interconnect, so the communication topology directly determines scaling efficiency.

    A missing operator or mishandled precision in any of these stages surfaces as a loss spike, an anomalous gradient norm, or an interrupted run. Viewed by layer, a complete adaptation has to clear the bar in four places at once.

    2.1 Runtime and Driver Layer: The Foundation of Stability

    Unified memory management, multi-process contexts, the collective communication library, and hardware topology awareness determine whether things “randomly crash” at scale. Cross-node communication should support topology-aware selection of communication algorithms, which is what structurally guarantees that 16 processes can form a stable communication group.

    2.2 Operator Layer: Coverage and Numerical Correctness

    • Forward/backward symmetry: The training operator set is much larger than the inference set, and backward operators have to be filled in one by one.
    • Numerical formats: Low-precision formats such as BF16 and FP8 have different dynamic ranges. Mixed precision generally requires reductions, softmax, LayerNorm, and other sensitive stages to stay at higher precision.
    • Sparse structures: Mixture-of-experts models at the trillion-parameter scale rely heavily on grouped matrix multiplications and expert routing operators, whose correctness bears directly on convergence.

    2.3 Distributed Framework Layer: Adapting Parallelism Strategies

    This adaptation used the FSDP2 fully sharded data parallel path. The key differences from FSDP1:

    • Sharding is done at the granularity of a single parameter (DTensor) rather than a parameter group (FlatParameter).
    • Communication is finer-grained and therefore easier to overlap with computation.
    • Combining it with tensor parallelism and other strategies is more flexible.

    At the framework layer, work includes scheduling sharding and re-gathering, overlapping communication with computation, gradient accumulation, and checkpoint saving. For models too large for a single card, the path also needs to combine with pipeline parallelism, expert parallelism, and others. Multimodal models add the further requirement of accommodating the very different computational profiles of a vision encoder and a language backbone.

    2.4 Training Observability Layer: Make Problems Visible

    Gradient norms, parameter update magnitudes, loss spikes, process liveness, and memory watermarks all need to be collected in real time and visualized. That is what turns “loss and gradient norms stayed finite with no abnormal interruption” into an observable and reviewable conclusion rather than a retrospective inference.

    3. Reading the 400-Step Stability Test

    The statement “16 cards across two nodes, 400 consecutive optimizer updates, loss and gradient norms finite throughout” carries a lot of information, and it can be understood along four dimensions.

    3.1 Step Count: A Short, High-Intensity Stress Test

    400 steps is far fewer than the hundreds of thousands in foundation pretraining, but it is enough to concentrate exposure of the following:

    • Numerical problems in the backward pass;
    • Gradient reduction errors;
    • Memory leaks;
    • Communication timeouts or deadlocks.

    3.2 Metrics: Why Look at the Gradient Norm

    Loss reflects only behavior at the output. The gradient norm reflects the health of backpropagation directly:

    • Persistently NaN or Inf: usually an overflow, division by zero, or similar numerical problem.
    • Sudden spikes: possibly caused by an anomalous sample, oversized attention logits, or too high a learning rate.
    • Dropping abruptly to zero: gradients are not being backpropagated correctly, for example a parameter not registered for gradients or a misconfigured communication group.

    Together with parameter update magnitude monitoring, this can further separate “the optimizer never took effect” from quieter problems such as “the update was overwritten again by the next sharding step.”

    3.3 The Boundary of the Claim: This Is Not a Convergence Test

    400 steps typically cover only a few cycles of data loading, forward/backward, reduction, and update. The conclusion should be stated precisely as “the training pipeline is connected and numerically stable over a short run,” not “convergence has been verified.” Assessing convergence capability requires a longer run and a comparison of loss curves against the same configuration on mature hardware. The former shows that it runs stably; the latter answers whether it trains correctly.

    3.4 A Minimum Design for a Reproducible Experiment

    • Control group: The same code on mature hardware, with the same random seed, the same hyperparameters, and the same number of steps.
    • What to compare: Record loss, gradient norm, learning rate, and the deviation distribution of parameter statistics step by step.
    • Acceptance threshold: Deviations fall within an acceptable range for numerical error, with no NaN or Inf appearing.

    4. Illustrative Code: A Training Adaptation Validation Loop

    The following pseudo-code shows a typical validation flow. Interface names have been neutralized, and it is only meant to illustrate the method:

    1. # Illustrative pseudo-code. Interface names are neutralized and do not
    2. # represent any specific framework or platform.
    3. from framework.distributed import init_process_group, shard_model, DeviceMesh
    4. from framework.distributed.tensor import DTensor
    5. init_process_group(backend="collective") # unified collective communication backend
    6. mesh = DeviceMesh.from_group(world_size=WORLD_SIZE) # 16 cards across two nodes form the group
    7. # 1. Shard at single-parameter granularity after loading (FSDP2 style)
    8. model = load_pretrained_model(MODEL_PATH)
    9. model = shard_model(
    10. model,
    11. mesh=mesh,
    12. mp_policy=MixedPrecisionPolicy(param_dtype=BF16, reduce_dtype=FP32),
    13. )
    14. optimizer = ShardedOptimizer(model, lr=LR)
    15. # 2. Gradient scaling under mixed precision: prevents underflow of small BF16 gradients
    16. scaler = GradScaler()
    17. for step, batch in enumerate(train_loader):
    18. with autocast(dtype=BF16):
    19. loss = model(batch).loss / grad_accum_steps
    20. scaler.scale(loss).backward() # re-gather and gradient reduction happen in backward
    21. if (step + 1) % grad_accum_steps == 0:
    22. scaler.unscale_(optimizer)
    23. # 3. Gradient norm: computed after a global reduction across shards,
    24. # to detect overflow and spikes
    25. grad_norm = clip_grad_norm_(model.parameters(), max_norm=1.0)
    26. scaler.step(optimizer)
    27. scaler.update()
    28. optimizer.zero_grad(set_to_none=True)
    29. # 4. Stability assertion: any anomaly is pinned to a specific step
    30. assert isfinite(loss) and isfinite(grad_norm), f"non-finite at step {step}"
    31. log_metrics(step=step, loss=float(loss), grad_norm=float(grad_norm))
    32. if (step + 1) % ckpt_interval == 0:
    33. save_distributed_checkpoint(model, optimizer, step + 1) # resumable checkpoint
    34. # 5. Validation report: compare against the reference implementation step by step
    35. compare_with_reference(step_logs, reference_logs, atol=..., rtol=...)

    Three points stand out in this code:

    • Sharding granularity: Sharding happens per parameter, with reduction precision set higher than compute precision.
    • Global norm: The gradient norm must be reduced across all shards before clipping; otherwise each process clips against a different threshold, which breaks training consistency.
    • Observability: Every update records the key metrics and saves a checkpoint, so an anomaly can be located precisely.

    5. Scaling Out: From a Point to a Surface

    According to public information, the vendor has delivered several results in which domestic chips train domestic models:

    • A 236-billion-parameter scientific foundation model completed full training from scratch;
    • A 5D world model achieved full-stack native training;
    • A joint research effort with research institutions completed end-to-end training of an embodied “brain” model.

    What these cases have in common is a move from adapting existing weights to training from scratch, while spanning scientific computing, physical world modeling, and embodied intelligence across several modalities and task types. Training at the trillion-parameter scale is currently in progress.

    By the nature of the work, these results fall into three categories:

    1. Model shape validation: Dense, sparse, multimodal, and physics-modeling models each impose different requirements on the operator set, and each has to be filled in one by one.
    2. Training flow validation: Training from zero means the data pipeline, optimizer state, and resumable checkpoints all have to run correctly over a long period.
    3. Engineering system validation: The capability that takes you from fast inference deployment to stable full-pipeline training rests on operators, communication, frameworks, and observability working together.

    Only when these three kinds of validation stack up can a platform be said to have the foundation to host trillion-parameter training.

    6. The Gap List: From “It Can Train” to “Works Out of the Box”

    “It can train” means specialists have to resolve missing operators, numerical anomalies, and communication problems one at a time. “Works out of the box” means users start training in mainstream frameworks with a small number of configuration changes. At least the following gaps sit between the two:

    • Operator coverage: Operators used in mainstream model architectures should be available out of the box, with no reliance on hand-written patches for missing ones.
    • Precision consistency: Loss and gradients under low-precision formats should stay within an acceptable deviation range relative to mature hardware.
    • Distributed scaling efficiency: Compute should scale close to linearly with card count, with cross-node communication overhead kept under control.
    • Fault tolerance and elasticity: Node failures during long-running training at scale should be handled through automatic detection, fast recovery, and resumable checkpoints.
    • Toolchain and observability: Performance analysis, memory diagnostics, and anomaly localization should be standardized and automated.
    • Ecosystem compatibility: Mainstream distributed training frameworks and common parallelism strategies should migrate with only minor configuration changes.

    7. Practical Guidance for Developers and Enterprises

    For teams planning to bring domestic compute into large model training, the following path is worth considering:

    1. Align on the concept: Be clear whether the goal is inference deployment, training adaptation, or foundation pretraining, and avoid evaluating the three as one.
    2. Validate at small scale: Start with a few cards to run single-step forward and backward passes and numerical comparisons, then scale to multi-node runs of a few hundred steps for stability testing, and only then move to long-duration training.
    3. Let metrics drive: Use quantified acceptance criteria such as loss deviation, gradient norm, throughput, and memory watermarks, rather than “does it run.”
    4. Engineer the operations: Training jobs can use container platforms for resource scheduling and elastic scaling; datasets and checkpoints can be persisted on object storage; training health can be tracked continuously through monitoring, alerting, and log services. Baidu AI Cloud’s capabilities across compute, storage, and operations can serve as one general option for engineering requirements of this kind.
    5. Think ahead on architecture: Consider sparsification, mixed precision, and parallelism strategy at the design stage to lower the cost of later migration.

    Key Takeaways

    400 consecutive stable steps looks like a small milestone, but its significance is that it pushes the boundary of “training,” not just “inference,” one notch forward: backpropagation is correct, cross-node reduction is reliable, and the numerical process is under control. There is still a considerable distance from “foundation models pretrained on domestic chips,” but the direction is clear. Every item closed off — operators, parallelism strategies, observability tooling — moves “it can train” closer to “works out of the box.” For developers, rather than debating what a single milestone means, the better investment is a quantified, reproducible evaluation framework, so that each adaptation accumulates into engineering capability that persists.