Large Model Training on Chinese GPUs: Engineering Practices and Methodology

    Adapting large models for training on Chinese-developed GPUs requires more than loading weights or enabling inference. This article examines the end-to-end training pipeline, FSDP2-based sharding, numerical stability, and cross-node validation, using a reported 16-GPU deployment as context. It also explains what small-scale validation demonstrates, what remains unresolved at larger scales, and which platform capabilities are needed for repeatable training support.

    As open-source models approach parameter counts in the trillions, enabling their training on Chinese-developed GPUs has become a significant AI infrastructure challenge. A Chinese chip vendor recently reported training support for an open-source flagship model with nearly three trillion parameters, using its flagship training-and-inference accelerator and proprietary software stack. The reported validation achieved continuous, stable training across two nodes with 16 accelerators.

    Such engineering efforts provide a useful basis for examining what training adaptation involves, how its core components fit together, and how to assess the results.

    1. Training Adaptation Is Not Inference Support—or Pretraining

    Three concepts need to be distinguished before evaluating hardware compatibility claims.

    Inference adaptation, often described as Day 0 support, enables an inference engine to load a newly released model’s weights correctly and produce reasonable outputs on the target hardware, either on release day or shortly afterward. It generally covers only the operators required for inference. Compared with training adaptation, it typically has a narrower scope for numerical precision, memory scheduling, and concurrent communication, allowing a shorter engineering cycle.

    Training adaptation requires a complete working path through forward computation, backpropagation, gradient synchronization, and optimizer updates. Mixed-precision computation, gradient accumulation, activation recomputation, and distributed communication all introduce requirements that are highly sensitive to numerical stability. Operators must not only execute; they must produce correct and stable results.

    Base-model pretraining is a separate question: which hardware was used to train the original model from random initialization on a large dataset? Enabling training for an existing model does not establish that its base model was pretrained on that hardware.

    Some prominent model reports have discussed validation across multiple hardware platforms. Such references should not automatically be interpreted as evidence of pretraining: the validation may concern inference operators, while the hardware used for base-model pretraining remains undisclosed. Keeping these distinctions clear is essential to assessing progress objectively.

    2. Building the Training Pipeline: From Model Loading to Gradient Synchronization

    The central task is to establish a complete, natively supported distributed training path. Using Fully Sharded Data Parallel, second generation (FSDP2), as an example, this path can be divided into four stages.

    Model Loading and Sharding

    Models at this scale cannot fit on a single accelerator. Parameters, gradients, and optimizer states must be distributed across devices according to a sharding strategy.

    FSDP2 manages sharding at per-parameter tensor granularity, with layers organized into sharding groups, offering improvements in memory management and communication overlap over the first-generation approach. For multimodal models, components such as the vision encoder and language backbone can differ substantially in parameter count and computational behavior. Their sharding strategies therefore need to be designed separately.

    Forward and Backward Scheduling

    The training framework gathers sharded parameters as needed through all-gather operations before executing forward computation. During backpropagation, reduce-scatter operations reduce gradients and distribute the resulting shards.

    This process depends heavily on overlapping communication with computation. A blocking operation anywhere along the path can significantly reduce overall throughput.

    Gradient Synchronization and Optimizer Updates

    Cross-node gradient synchronization relies on high-bandwidth interconnects and efficient collective communication libraries.

    Optimizer states, such as Adam’s moment estimates, are also sharded. The optimizer update logic must therefore operate correctly on the distributed shards rather than assume that every device holds the complete state.

    Numerical Stability

    Mixed-precision training requires loss scaling, gradient-norm monitoring, and checks for anomalous values.

    A key criterion for successful adaptation is whether loss and gradient norms remain finite and within reasonable ranges across consecutive optimizer updates, without NaN or Inf values or abnormal process termination.

    3. Validation: What a Stable Small-Scale Run Demonstrates

    The reported implementation used a two-node, 16-accelerator configuration, with all training processes completing 400 consecutive optimizer updates. This design provides several useful forms of engineering validation.

    • Cross-node communication: A two-node configuration exercises the inter-node communication path rather than relying solely on communication within a single machine. It therefore tests conditions closer to those encountered in larger distributed deployments.
    • Sustained execution: A 400-update run can expose memory leaks, GPU memory fragmentation, communication deadlocks, and numerical drift that a single successful step would miss. There is a substantial engineering gap between executing one step and sustaining hundreds of stable updates.
    • Continuous metric monitoring: Finite loss and gradient norms throughout the run provide evidence that operator precision, gradient reduction, and mixed-precision scaling functioned consistently under the tested conditions.

    These results do not, however, establish readiness for full pretraining on thousands or tens of thousands of accelerators. Scaling beyond a small validation cluster still requires work on communication topology, fault tolerance, checkpoint recovery, and cluster scheduling.

    4. From One-Off Adaptation to Platform Capabilities

    Supporting one model is a starting point. The more important long-term capability is a repeatable engineering process that works across models.

    A mature training platform built around Chinese-developed accelerators should provide the following:

    • Comprehensive operator coverage: Core operators for mainstream model architectures, with interface semantics aligned with widely used deep learning frameworks to reduce migration effort.
    • Automated migration tooling: Model-script analysis, missing-operator detection, and numerical comparison tools that turn manual troubleshooting into a partially automated workflow.
    • Multi-accelerator coordination: Native support for combinations of data, tensor, pipeline, and expert parallelism, with communication paths optimized for the platform’s interconnect architecture.
    • Reliability tooling: Training monitoring and alerts, accelerator-memory snapshot analysis, and automatic checkpoint recovery. These capabilities distinguish a platform that can execute training from one that can sustain it reliably.

    Publicly reported progress includes from-scratch pretraining of scientific foundation models with hundreds of billions of parameters, full-stack world-model training, and end-to-end training of embodied AI models. Work is also progressing toward trillion-parameter models.

    These developments indicate that Chinese-developed general-purpose GPUs are broadening their capabilities beyond inference and addressing gaps in training support.

    5. Toward Out-of-the-Box Training

    The ultimate goal is out-of-the-box training: developers should be able to run standard training scripts efficiently and reliably without having to manage differences in the underlying hardware.

    Reaching that point requires sustained collaboration among chip vendors, framework communities, and model teams. Priorities include improving operator accuracy and performance, strengthening the distributed training stack, and building a reusable body of adaptation knowledge.

    Enterprise users evaluating cloud compute should also consider the supporting platform services. Container infrastructure, monitoring and alerting, and logging are important for managing training workloads throughout their lifecycle.

    The broader shift is from isolated compatibility milestones to complete training ecosystems. A successful adaptation demonstrates that a model can train under specific conditions; a mature platform makes that result repeatable, observable, and reliable across workloads.