Large-Model Training on Chinese GPUs: Engineering for Thousand-GPU Clusters

    Adapting a large model for training requires far more than inference compatibility. This article examines native distributed training on Chinese-developed GPUs, including FSDP initialization, memory scheduling, gradient synchronization, and stability validation. It also outlines the engineering capabilities needed to move from a working implementation toward reliable, accessible training at thousand-GPU scale.

    1. Training Adaptation vs. Inference Adaptation

    When a new large model is released, chip vendors often announce “Day 0 support.” In most cases, this refers to inference support: enabling the model to execute its forward pass on the target hardware and produce correct outputs.

    The core requirements for inference adaptation are operator coverage and numerical alignment. Matrix multiplication, attention, normalization, activation functions, and other operators must be implemented or mapped to the target hardware. Their outputs must then be checked against a reference implementation to confirm that numerical differences remain within acceptable limits.

    Training adaptation is a substantially different engineering challenge. In addition to forward computation, training requires backpropagation, gradient computation, gradient synchronization, and parameter updates. Its main challenges include:

    • Complete backward-operator support: Every forward operator needs a corresponding gradient implementation with stable numerical behavior.
    • Distributed parallelism: Very large models cannot fit on a single GPU. Training therefore requires combinations of data, tensor, pipeline, and expert parallelism.
    • Communication–computation coordination: Gradient aggregation across GPUs and nodes places demanding requirements on interconnect bandwidth and collective communication libraries.
    • Numerical stability over long runs: Numerical overflow, GPU memory leaks, or communication deadlocks can invalidate days of training.

    When reading joint technical reports from chip vendors and model developers, it is therefore important to distinguish inference operator validation from the hardware used for pretraining. The former demonstrates that hardware can execute a model correctly; the latter concerns the infrastructure supporting its complete training from scratch.

    Some model developers have validated inference on multiple hardware platforms in the same technical report. That does not mean their foundation models were pretrained on all of those platforms.

    2. The Technical Core: A Native Distributed Training Path

    One training-adaptation effort for a flagship model with nearly three trillion parameters centered on building a native Fully Sharded Data Parallel (FSDP) training path for multimodal workloads.

    FSDP is a widely used approach to distributed large-model training. It shards model parameters, gradients, and optimizer states across compute devices, so each device holds only a fraction of the complete state. During computation, collective communication temporarily gathers the parameter shards required for the current operation.

    Building this training path requires three key components to work together.

    Model Loading and Sharded Initialization

    The weights of a trillion-parameter model occupy terabytes of storage. Loading must therefore support sharded reads: each process loads only the portion it owns, rather than loading the entire model and splitting it afterward.

    This requires agreement between the training framework and the underlying software stack on checkpoint formats, tensor-sharding metadata, and device-mapping strategies.

    Shard Scheduling and GPU Memory Management

    During forward and backward computation, parameter gathering and release must be carefully scheduled. Releasing parameters too early can trigger redundant communication; releasing them too late can push peak memory usage beyond device capacity.

    Common optimization techniques include overlapping communication with computation, activation recomputation, and CPU offloading. On Chinese-developed GPUs, these techniques require tuning to the characteristics of the target hardware.

    Gradient Synchronization and Numerical Correctness

    During backpropagation, gradients must be aggregated through reduction collectives and distributed into the appropriate shards.

    In mixed-precision training, gradients are often communicated in half precision and accumulated in full precision. This places specific requirements on both the hardware’s low-precision compute capabilities and the reduction operators in its communication library.

    Incorrect precision handling at any stage can appear as abnormal loss curves or diverging gradient norms.

    3. Stability Validation: From Running to Running Reliably

    Successful training adaptation cannot be judged solely by whether a training job starts. The more meaningful criterion is stable execution across consecutive optimizer updates.

    Common validation methods include:

    • Consecutive-step testing: For example, run all training processes across two nodes with 16 GPUs for several hundred optimizer updates, such as 400 steps, and check for interruptions.
    • Numerical health monitoring: Track loss and gradient norms throughout the run. Both should remain finite, with no NaN or Inf values and no signs of exploding or vanishing gradients.
    • Cross-node consistency checks: Verify gradient synchronization across nodes to rule out hidden communication errors.
    • Reference-baseline comparison: With the same data and hyperparameters, compare training curves against a reference run on an established hardware platform to confirm consistent convergence behavior.

    A stable 400-step run on 16 GPUs may appear modest in scale. Its value lies in validating the complete execution path—from single-GPU operators and intra-node communication to cross-node coordination—without encountering fatal defects.

    This provides a credible foundation for expanding to larger clusters. Scaling is largely an engineering challenge, whereas establishing the correctness of the training path is a prerequisite that must come first.

    4. From One-Off Adaptation to a Complete Engineering Stack

    A successful training-adaptation effort depends on more than model-specific changes. It requires a supporting engineering stack with four layers.

    Layer 1: Operator Libraries and Compiler Optimization

    The stack must cover the forward and backward operators required by mainstream model architectures. Operator fusion, memory reuse, and related optimizations help move execution closer to the hardware’s theoretical performance.

    Layer 2: Parallelism Strategies and Cluster Scheduling

    The system needs flexible combinations of data, tensor, pipeline, and expert parallelism. Automated search or recommendations for parallelism configurations can reduce the amount of manual tuning required from users.

    Layer 3: Fault Tolerance and Observability

    Hardware failures are unavoidable during large-scale training. Essential capabilities include automatic checkpoint saving and recovery, isolation and replacement of failed nodes, and end-to-end monitoring and alerting.

    In cloud environments, these capabilities are typically integrated with container platforms, logging services, and monitoring infrastructure to provide complete training-job management.

    Layer 4: Automated Tooling

    Ready-to-use tools should support model migration, numerical alignment, performance profiling, and bottleneck identification.

    The goal is to let developers train their models without having to understand every detail of the underlying hardware.

    5. Practical Value and Future Direction

    Enabling frontier-model training on Chinese-developed GPUs is not simply a test of individual hardware capabilities. It also helps establish a large-model training foundation with greater control over the underlying technology stack.

    Reported efforts already span complete from-scratch training of scientific foundation models with around 200 billion parameters, end-to-end training of multimodal world models and embodied AI models, and work extending toward trillion-parameter scale.

    The next step is to move from training that is possible to training that is ready to use.

    On the infrastructure side, this means continuing to improve operator support and multi-GPU coordination while narrowing the usability gap with established ecosystems. On the developer side, standardized training-framework interfaces and automated migration tools should reduce the need to manage hardware-specific differences.

    For enterprise users, peak compute performance is only one part of the evaluation. Equally important are the completeness of the training path, evidence of stability during long-running workloads, and the maturity of the supporting toolchain. Together, these factors determine the practical efficiency and cost of large-model development.