Large Model Training on Domestic GPUs: What a 16-Accelerator, 400-Step Run Proves

    A recent domestic AI accelerator training adaptation completed 400 consecutive optimizer updates for a model with nearly 3 trillion parameters on 16 accelerators across two nodes. This article explains how inference adaptation, training adaptation, and base-model pretraining differ; analyzes cross-node communication, FSDP, operator precision, and numerical stability; and outlines the engineering and acceptance criteria needed to move from a short validation run to repeatable, production-ready training.

    Recent Progress: A 400-Step, 16-Accelerator Training Adaptation

    A noteworthy development has emerged in the AI hardware ecosystem. A domestic AI accelerator vendor completed a training adaptation for a model with nearly 3 trillion parameters using its flagship training-and-inference accelerator and a proprietary software stack. In a test environment consisting of two nodes with 16 accelerators in total, 16 training processes completed 400 consecutive optimizer updates. Throughout the run, the loss values and gradient norms remained finite, with no numerical overflow or abnormal interruption.

    The vendor said the adaptation covered the full training path, from model loading and sharded scheduling to gradient synchronization. It also described a native Fully Sharded Data Parallel (FSDP) multimodal training path, indicating engineering capability that moves beyond rapid inference deployment toward stable end-to-end training.

    Such results are exciting, but their significance depends on separating three questions: what was adapted, what was validated, and what remains unvalidated. This article examines four issues:

    • Conceptual boundaries
    • Technical challenges
    • The engineering path from “can train” to “out-of-the-box training”
    • Practical acceptance methods for developers

    1. Conceptual Boundaries: Inference Adaptation, Training Adaptation, and Base-Model Pretraining

    In discussions about domestic accelerators adapting to large models, one common misunderstanding is treating “successful adaptation” as proof that the model was trained on that chip. In practice, these three concepts have very different technical implications.

    Dimension Inference adaptation Training adaptation (short validation) Base-model pretraining
    Core objective Correct forward computation and output generation A stable, repeatable loop covering forward, backward, and optimizer updates Continuous training from random initialization to convergence
    Involved stages Model loading, weight conversion, forward operator mapping, precision alignment Backward operators, mixed precision, gradient reduction, optimizer state, checkpointing Cluster scheduling at 10,000-accelerator scale, fault tolerance, data engineering, long-term convergence control
    Typical scale One or a few accelerators are sufficient for validation Multiple accelerators in one node, up to dozens of accelerators Hundreds to tens of thousands of accelerators, often running for weeks or longer
    Numerical requirement Outputs are correct within an acceptable error range Loss and gradient norms remain finite, and update directions are reasonable Loss curves decline smoothly over long periods without instability

    First, inference adaptation solves the question of “computing correctly.” After model weights are released, vendors can usually complete operator coverage and precision alignment quickly. Inference involves only forward computation and does not include gradients, so the difficulty is mainly operator correctness and performance.

    Second, training adaptation solves the questions of “running at all” and “running stably.” Beyond inference, training must handle backpropagation, mixed precision, gradient reduction, optimizer state, and weight updates. It is not enough for the model to compute correctly; it must also remain numerically healthy across dozens or hundreds of iterations. Training has a much larger operator surface than inference and is far more sensitive to numerical anomalies.

    Third, base-model pretraining solves the question of “training to completion.” Training from random initialization can require thousands of accelerators running continuously for weeks. It tests cluster scale, long-run stability, data throughput, and scheduling capability. These factors together determine the final capability ceiling of the model.

    These three layers are progressive rather than equivalent: inference adaptation is the prerequisite, training adaptation is the intermediate stage, and base-model pretraining is the ultimate goal. This adaptation belongs to the second layer, and the vendor explicitly distinguished adaptation from pretraining.

    There are precedents in the industry. Some model vendors have presented training validation results across different hardware routes in technical reports. The industry generally interprets such results as operator validation for the inference stage, while the compute used for the original base-model training has not been disclosed. In other words, “validated on a hardware platform” and “trained on a hardware platform” are not the same claim.

    Therefore, a reasonable interpretation of this progress is: the hardware has demonstrated the necessary foundational capability to support training this class of model. It does not mean that the model has already been trained on that hardware, or that it will soon be trained there.

    2. Technical Deep Dive: What 16 Accelerators and 400 Consecutive Updates Mean

    Two details in the vendor’s disclosure are especially informative: the two-node, 16-accelerator cross-node scale, and the stable execution of 400 consecutive optimizer updates across 16 processes.

    2.1 Cross-Node Scale: The First Real Test of Inter-Node Communication

    Accelerators inside a single node usually communicate through high-speed device interconnects, which offer high bandwidth and low latency. Cross-node communication relies on host-side RDMA networks, which have lower bandwidth, higher latency, and may be affected by switch congestion and link jitter.

    For FSDP strategies, each forward or backward layer computation typically requires cross-node collective communication. Because the communication volume is highly sensitive to inter-node bandwidth, cross-node training is a meaningful stress test for the communication stack.

    A two-node setup sits exactly at the boundary where single-node behavior is no longer sufficient. It can expose issues in inter-node links, network protocol stacks, and collective communication libraries, while avoiding the much higher hardware failure rate of much larger clusters. This makes it one of the most economical scales for validating a distributed training stack.

    2.2 400 Consecutive Updates: From “One Step Works” to “Many Steps Work Repeatedly”

    One of the most common illusions in training is that “the first step succeeded.” Many problems only appear after multiple iterations:

    • Optimizer state issues: momentum, second moments, and learning-rate schedules may need several steps to stabilize.
    • Numerical degradation: loss spikes, sudden gradient-norm amplification, and activation or attention-score overflow often appear after tens or hundreds of steps.
    • Communication and memory issues: memory fragmentation, occasional collective-communication timeouts, or a process silently hanging usually appear only during longer runs.

    Completing 400 consecutive updates with finite loss and gradient norms shows that the full path can not only run once, but can also run correctly and repeatedly in a cross-node environment. This is beyond a simple demonstration.

    2.3 Limits: What 400 Steps Cannot Prove

    At the same time, the boundaries of this result should be recognized clearly:

    • Scale is limited. Sixteen accelerators can validate the correctness of a single training replica, but cannot reflect communication efficiency or failure rates at thousand- or ten-thousand-accelerator scale.
    • Duration is limited. Many training instabilities occur in the middle or late stages, such as learning-rate decay phases or changes in data distribution. Four hundred steps cannot cover these scenarios.
    • Convergence quality is not measured. Public information only indicates that loss and gradient norms remained finite. It does not provide loss reduction speed, throughput, or evaluation results after convergence. Numerical health does not mean training efficiency, and it certainly does not mean good model quality.

    That said, this result should not be underestimated. For new hardware and a new software stack, completing cross-node, multi-process, several-hundred-step stable training on a realistic large-model architecture means that many fundamental engineering obstacles have already been removed.

    3. Technical Deconstruction: Where Training Adaptation Gets Hard

    The vendor’s description of a complete path “from model loading and sharded scheduling to gradient synchronization” corresponds to four tightly coupled technical challenges.

    3.1 Operator Coverage and Precision Alignment: Both Correct and Accurate

    A flagship model with nearly 3 trillion parameters usually adopts a Mixture-of-Experts (MoE) architecture, where total parameters are much larger than the parameters activated for each token. Such models use far more than matrix multiplication and normalization. They also involve:

    • Positional encoding, such as rotary position embedding
    • Attention variants and masking strategies
    • Gating and routing, including prefix-selection logic
    • Expert grouped computation and its backward path
    • Data sharding and packing logic

    Training adaptation is substantially more difficult than inference adaptation because every forward operator must have a mathematically correct backward implementation. Training also commonly uses low-precision formats such as BF16. BF16 has only seven mantissa bits, so subtle precision errors can easily be hidden. These errors may be invisible in single-step inference, but after hundreds or thousands of iterations, they can accumulate and amplify into loss spikes or divergence.

    A mature approach uses layered validation:

    1. Operator level: compare against a reference implementation element by element.
    2. Submodule level: compare outputs and gradients of a single Transformer layer or expert layer.
    3. Model level: compare overall loss.
    4. Short-run level: verify that loss can decrease stably on small-scale data.

    The following illustrative code shows the idea of a single-layer output alignment check:

    1. import math
    2. def check_layer_alignment(ref_forward, cand_forward, inputs, rtol=2e-2, atol=2e-2):
    3. """
    4. Illustrative code: single-layer output alignment check in training adaptation (pseudocode)
    5. ref_forward / cand_forward: single-layer forward functions for the reference
    6. implementation and the domestic accelerator implementation
    7. inputs: the same fixed test inputs (kept bitwise identical on both sides)
    8. rtol / atol: acceptable relative/absolute error thresholds under
    9. low-precision training (example values)
    10. """
    11. ref_out = ref_forward(inputs) # Use FP32 reference output as the baseline when possible
    12. cand_out = cand_forward(inputs)
    13. max_diff = max(abs(r - c) for r, c in zip(ref_out.flatten(), cand_out.flatten()))
    14. scale = max(1.0, max(abs(r) for r in ref_out.flatten()))
    15. if max_diff > atol + rtol * scale:
    16. return False, max_diff # Exceeds threshold; localize to the specific operator or submodule
    17. return True, max_diff

    In real engineering, thresholds must be determined based on the lower bound of BF16 precision, model depth, and operator characteristics. They cannot be treated uniformly. Passing one layer does not mean the full network passes; validation must be accumulated layer by layer.

    3.2 Parallel Strategy and Sharded Scheduling: The Core of FSDP

    The vendor emphasized a “native FSDP multimodal training path.” The key word is “native.”

    FSDP distributes model parameters, gradients, and optimizer states across all processes in a data-parallel group. Each process retains only a fraction of the full state, typically 1/N. Its forward and backward behavior can be summarized in four stages:

    Stage Main action Communication primitive
    Forward Gather the current layer’s parameters on demand, compute, then release All-Gather
    Backward Gather parameters again, compute gradients, then release again All-Gather
    Gradient reduction Aggregate gradients according to parameter shards Reduce-Scatter
    Parameter update Each process updates local parameter and optimizer-state shards None, local computation

    This pattern converts memory footprint into communication overhead. To control communication overhead, three practices matter:

    • Shard granularity must be appropriate; overly coarse granularity increases peak memory usage.
    • Communication for adjacent layers should overlap with computation, using prefetching to hide latency.
    • In cross-node scenarios, bucket size should be tuned reasonably, and communication should run in parallel with the compute stream.

    “Native” means these mechanisms are supported directly by the training framework and hardware-software stack, rather than being assembled from external patches. In multimodal training, vision encoders and language backbones often have different architectures, very different parameter counts, and uneven sequence lengths. This places higher demands on sharding granularity and load balancing.

    3.3 Cross-Node Communication: Latency, Congestion, and Long-Run Fault Tolerance

    The stability of cross-node training depends heavily on the quality of the communication stack. Common problems include:

    • Network congestion slowing down collective communication
    • Link jitter causing communication timeouts
    • One process exiting unexpectedly and hanging the entire communication group
    • At ten-thousand-accelerator scale, weak-link effects are amplified

    Engineering practice usually relies on several mechanisms:

    • Health checks: probe link and process status before training starts and periodically during training.
    • Communication timeouts and retries.
    • Checkpointing: periodically save model state, optimizer state, and data-loader position.
    • Fault isolation and task reconstruction: automatically replace slow or failed nodes and resume training.

    3.4 Numerical Stability: Keeping Loss and Gradient Norms Finite

    The statement that “loss and gradient norms remained finite throughout the run” is backed by a complete set of numerical protections.

    1. Mixed-precision choice. BF16 has the same exponent range as FP32 and a large dynamic range, so loss scaling is usually unnecessary. FP16 has a smaller dynamic range and usually requires loss scaling to prevent gradient underflow.
    2. Gradient clipping. A global gradient-norm threshold can suppress abnormally large gradients and prevent parameter jumps.
    3. Keep sensitive computations in higher precision. Normalization statistics, softmax, and loss reduction are precision-sensitive and usually require higher-precision computation. For example, online softmax subtracts the maximum value to prevent exponential overflow and uses the row maximum and sum of exponentials as normalization factors.
    4. Initialization and learning-rate configuration. Weight-initialization variance, warmup length, and peak learning rate all affect early-training stability.
    5. Continuous monitoring and automatic circuit breaking. Loss, gradient norms, and activation statistics should be monitored in real time. When anomalies occur, training should log context and pause instead of drifting forward with errors.

    The following illustrative code shows numerical-health checks and gradient clipping in a training loop:

    1. import math
    2. def train_step(model, optimizer, batch, clip_norm=1.0):
    3. """
    4. Illustrative code: numerical-health check and gradient clipping in a
    5. single training step (pseudocode)
    6. """
    7. loss = model(batch)
    8. loss.backward() # Backpropagation; compute parameter gradients
    9. total_norm = compute_global_grad_norm(model) # Compute global gradient norm
    10. # Check whether gradients are finite and prevent NaN/Inf from spreading
    11. if not math.isfinite(total_norm):
    12. optimizer.zero_grad() # Discard this step’s gradients and avoid contaminating parameters
    13. raise FloatingPointError(f"Abnormal gradient norm: {total_norm}")
    14. # Global norm clipping: scale = min(1, threshold / norm)
    15. scale = min(1.0, clip_norm / (total_norm + 1e-6))
    16. if scale < 1.0:
    17. for p in model.parameters():
    18. if p.grad is not None:
    19. p.grad.mul_(scale)
    20. loss_value = float(loss.detach())
    21. if not math.isfinite(loss_value):
    22. raise FloatingPointError(f"Abnormal loss: {loss_value}")
    23. optimizer.step() # Parameter update
    24. optimizer.zero_grad()
    25. return loss_value, total_norm # Return monitoring metrics for persistent observation
    1. def sample_rows(x: Tensor, idx: Tensor) -> Tensor:
    2. # Illustrative pseudocode: if a custom operator receives an out-of-range index,
    3. # it may produce out-of-bounds reads or writes.
    4. # The result can appear as intermittent NaNs and may only occur
    5. # under specific data distributions.
    6. return x[idx] # Missing check for 0 <= idx < x.shape[0]

    This example shows that numerical anomalies are not always caused by training hyperparameters. They can also come from defects in low-level operator implementations. When an anomaly appears only under specific data distributions, debugging costs can rise sharply. This is why layered alignment validation and end-to-end metric monitoring cannot be omitted.

    4. From “Can Train” to “Out-of-the-Box Training”: Four Engineering Gates

    The vendor also mentioned several practices of training domestic models on domestic chips:

    • Completed full training of a 236-billion-parameter scientific foundation model from scratch.
    • Supported full-stack native training for a 5D world model.
    • Completed full-process training of an embodied brain model with a research institution.
    • Currently advancing trillion-scale model training with partners.

    These cases show that training-adaptation capability is moving from isolated validation toward systematization. From a user’s perspective, however, a training capability becomes truly usable only after passing four gates:

    1. Runs through. The model can complete forward computation, backward computation, and one parameter update. This is the minimum requirement.
    2. Runs correctly. The loss curve is broadly consistent with a reference platform, and post-convergence evaluation metrics show no obvious gap.
    3. Runs stably. Under real network and data conditions, it can run for enough steps with healthy loss and gradient norms, while supporting fault detection and checkpoint recovery.
    4. Out-of-the-box training. Users can launch training with one click after selecting an appropriate parallel strategy and resource configuration, without needing to understand low-level operators in detail.

    The first two gates answer whether the result is correct. The latter two answer whether it is usable. The significance of this adaptation is that it tested “runs stably” on a real model and real network. Moving from “runs stably” to “out-of-the-box training” requires converting individual experience into a reusable toolchain, including:

    • Automated configuration generation: recommend parallel strategies based on model structure and hardware topology.
    • One-click launch and elastic scaling: submit training jobs without manually adjusting environment variables.
    • End-to-end monitoring and alerting: unify loss, gradient norm, throughput, and communication latency into monitoring and alerting systems, with automatic notifications for anomalies.
    • Checkpointing and disaster recovery: combine distributed storage to save intermediate state and automatically rebuild tasks after node failures.
    • Training logs and observability: centrally store training logs, operator latency, and communication profiles for review and diagnosis.

    For platform teams, these capabilities often need to be built on top of general cloud infrastructure such as container scheduling, distributed storage, and monitoring and alerting. This allows algorithm engineers to focus on data and models instead of fighting with low-level hardware and software stacks.

    5. Practical Acceptance: How to Evaluate Whether a Training Adaptation Is Mature

    For teams evaluating training capability on domestic accelerators, the following checklist can help avoid being misled by conclusions such as “it ran once successfully.”

    Evaluation dimension Key question Reference method
    Model architecture coverage Does it cover all relevant structures in the target model, such as attention variants and MoE routing? Check whether the adaptation uses native implementations rather than per-operator replacement
    Operator precision Are single-layer outputs and gradients within an acceptable error range? Use layered alignment validation and determine thresholds based on low-precision error bounds
    Parallel strategy Does it support the required combinations of data, tensor, pipeline, expert, and sequence parallelism? Validate separately under different parallel configurations
    Communication efficiency Is the communication ratio reasonable in cross-node training? Observe throughput as accelerator count increases and calculate scaling efficiency
    Numerical stability Do loss and gradient norms remain finite throughout? Run long-stability tests of hundreds to thousands of steps or more, recording loss, gradient norm, and learning-rate curves
    Fault tolerance Can training recover automatically after node failures? Inject node or link failures deliberately and test recovery mechanisms
    Engineering support Are monitoring, alerting, and checkpoint recovery toolchains available? Check toolchain coverage and documentation completeness

    More importantly, evaluation criteria should shift from marketing claims to verifiable metrics. Vendor statements such as “native path” and “full-path connection” are qualitative descriptions. Users should focus on:

    • Loss reduction speed
    • Throughput
    • Scaling efficiency
    • Average failure-free runtime

    These are the core indicators for judging whether a training adaptation is truly mature.

    6. Conclusion

    From a 16-accelerator, two-node run completing 400 stable updates to multiple domestic models trained from scratch, domestic accelerator training capability is accumulating from isolated points to broader systems. The value of training adaptation is not a label such as “first.” It lies in removing concrete obstacles one by one: operator precision, parallel sharding, cross-node communication, numerical stability, and toolchain maturity.

    Each time one of these obstacles is removed, training large models on domestic hardware moves one step closer to everyday practice. For developers, the rational approach is to view every advance carefully and rely on verifiable metrics. That is the fastest way to bring this day closer.