Training Large Models on Domestic GPU Clusters: A Practical Breakdown

    A Chinese GPU platform recently validated a complete large-model training pipeline on a two-node, sixteen-card cluster, successfully training a large Mixture-of-Experts (MoE) model for several hundred steps. This article breaks down the networking design, parallelism strategies, memory optimization, and migration engineering behind this milestone, and discusses what remains between this early validation and full-scale pretraining.

    As large language models continue to grow in parameter count, the demand on underlying compute keeps rising. A question the industry widely asks is: beyond mainstream mature accelerators, can domestic GPUs actually support a complete large-model training pipeline? Recently, a Chinese GPU platform published a notable engineering result: on a two-node, sixteen-card setup, it successfully ran the training pipeline of a large-scale Mixture-of-Experts (MoE) model and stably completed several hundred training iterations. Although this is only an early-stage validation of the full training workflow, the technology stack and engineering details behind it are worth a closer look.

    1. Why “Running the Training Pipeline End-to-End” Matters

    Training a large model is not as simple as “filling the rack with cards.” A complete pipeline covers model definition, distributed sharding, mixed precision, optimizer state management, gradient synchronization, checkpointing and resumption, monitoring and alerting, and more. A missing piece or a performance bottleneck in any of these stages can stall training entirely or make it prohibitively slow.

    For emerging domestic accelerator hardware, the real test comes down to three things. First, whether the compute cores can efficiently execute the dominant operators of Transformer-style models. Second, whether the software and hardware stack is compatible with mainstream deep learning frameworks, so developers can migrate code at low cost. Third, whether multi-node, multi-card interconnects can support high-bandwidth, low-latency gradient communication. Stably completing several hundred training steps at the two-node, sixteen-card scale shows that all three areas have passed initial validation and that the foundation exists to move from small-scale verification toward larger-scale training.

    2. Key Design of the Two-Node, Sixteen-Card Topology

    In a typical two-node deployment, each node hosts eight accelerator cards connected by a high-bandwidth intra-node interconnect, while cross-node traffic relies on high-speed Ethernet or a dedicated interconnect fabric. There are two main communication hotspots during training:

    1. Gradient AllReduce under data parallelism. With data parallelism, gradients must be synchronized globally after each backward pass, and cross-node bandwidth often becomes the bottleneck. Common engineering techniques include gradient bucketing and overlapping computation with communication to hide communication overhead.

    2. Cross-card transfers in tensor and pipeline parallelism. Large-parameter models usually require a combination of parallelism strategies. Tensor parallelism splits matrix multiplication dimensions; it communicates frequently and is bandwidth-sensitive. Pipeline parallelism splits by layer and transfers activations; the communication volume is smaller, but it introduces pipeline bubbles.

    A reference configuration looks like this:

    1. world_size = 16 # two nodes x 8 GPUs
    2. tensor_parallel = 2 # intra-node tensor parallelism
    3. pipeline_parallel = 4 # cross-stage pipeline parallelism
    4. data_parallel = 2 # remaining dimension for data parallelism

    This kind of “hybrid parallelism” is standard industry practice for large-model training, aiming to balance communication overhead, memory footprint, and compute efficiency.

    3. Memory and Efficiency Optimization for Large-Parameter Models

    Memory pressure in large-model training mainly comes from three sources: model parameters, gradients, and optimizer states. Widely used optimization techniques include:

    • Mixed-precision training: forward and backward passes use half precision or BF16, while a high-precision master copy of the weights is retained, with loss scaling to avoid numerical underflow;
    • Optimizer state sharding: optimizer states are further sharded across the data-parallel dimension, significantly reducing per-card memory usage;
    • Activation recomputation: trading a small amount of repeated computation for large savings in activation memory;
    • MoE expert parallelism: for Mixture-of-Experts models, different experts are placed on different cards, with All-to-All communication handling token routing.

    For MoE architectures, routing load balance is critical to training stability. If a large number of tokens concentrate on a few experts, some cards become overloaded while others sit idle. The common practice is to add a load-balancing auxiliary term to the loss function, guiding the routing distribution toward uniformity.

    4. Engineering Essentials for Migration and Adaptation

    Getting a training framework to run on new hardware typically requires the following work:

    1. Operator adaptation and tuning: targeted implementations or deep optimization of core operators such as attention, LayerNorm, and GEMM — this is the main source of performance gaps;
    2. Communication library integration: matching the collective communication library to the hardware interconnect characteristics, ensuring that operations like AllReduce and All-to-All run efficiently;
    3. Numerical accuracy validation: comparing loss curves and gradient norms against reference hardware to confirm consistent numerical behavior and rule out hidden deviations caused by precision implementation differences;
    4. Fault tolerance and resumption: hardware failures are hard to avoid in large-scale training, so periodic checkpoint saving and fast recovery are needed to minimize losses from interruptions.

    5. How Far from Hundreds of Steps to Full Training?

    It is important to stay objective: completing several hundred iterations is a functional validation, still a considerable distance from full pretraining. What lies ahead includes stability and failure rates over long runs, communication efficiency when scaling to larger clusters, operator-level performance gaps relative to mature ecosystems, and the maturity of the toolchain (debugging, profiling, visualization).

    From an industry perspective, however, this validation sends a positive signal: domestic compute has crossed the threshold from “can do inference” to “can do training.” As the software stack continues to iterate — combined with heterogeneous compute scheduling, cloud-native container platforms, and a complete monitoring and alerting system — the usability of domestic GPUs for large-model training will steadily improve, giving developers more diverse compute options.

    In summary, running a large-model training pipeline on two nodes with sixteen cards is the result of coordination across hardware, communication, frameworks, and parallelism strategies. For teams planning to build self-controlled training capabilities, understanding the networking design, parallel sharding, and memory optimization logic behind it is far more valuable than focusing on any single result.