Validating the Training Link for Massive Multimodal Models on Chinese GPUs: An In-Depth Adaptation Analysis

    This article provides an in-depth analysis of a recent adaptation practice where a Chinese GPU manufacturer successfully validated the training link of a trillion-parameter multimodal model. By employing a "trimmed configuration" approach, the verification confirmed the numerical stability and distributed communication efficiency of the GPU under a 2-node, 16-GPU setup. We explore the key engineering challenges, including operator implementation for MoE architectures, Fully Sharded Data Parallel (FSDP) memory management, and cross-node collective communication, offering a clear methodology for adapting large-scale model training to emerging hardware.

    I. Background: Escalating Infrastructure Challenges for Massive Models

    In recent years, the parameter scale and architectural complexity of large models have increased simultaneously. Taking a trillion-parameter native multimodal sparse expert (MoE) model as an example, its training requires not only sufficient computing power and memory capacity on a single GPU but also systematic demands for multi-GPU collaboration, cross-node communication, and memory shard management. Compared to dense models, this architecture introduces two key difficulties:

    1. Dynamic Sparse Attention: The routing and activation of attention calculations change dynamically with the input, leading to unbalanced operator loads and unpredictable communication patterns, which place significant pressure on gradient synchronization across multiple GPUs.
    2. Expert Routing Mechanism: There are usually a large number of routing experts, and only a subset is activated per run (e.g., Top-K activation). This requires the training framework to be highly efficient and numerically stable in expert distribution, load balancing, and gradient aggregation.

    Recently, a Chinese GPU vendor’s laboratory announced the completion of adaptation verification for the training link of a trillion-parameter multimodal model. Under a 2-node, 16-GPU configuration, it successfully completed 400 training steps without numerical overflow or abnormal interruptions. This progress reflects the rapid maturation of engineering capabilities for large-scale model training on Chinese GPUs.

    A key concept must be clarified: this verification was not a full-scale pretraining, but rather a functional training link verification under a trimmed configuration. The typical approach includes:

    • Language Backbone Truncation: Retaining only a subset of Transformer layers (e.g., 13 layers) to verify the correctness of forward and backward calculations of the backbone network.
    • Full Visual Tower and Cross-Modal Modules Retained: The visual encoder is fully retained (e.g., 27 layers), along with the cross-modal projection module, to ensure the integrity of the multimodal data flow and the correctness of the gradient backpropagation path.
    • Expert Routing Structure Retained: The number of routing experts and activation strategy (e.g., 16 experts, Top-8 activation) are fully retained to genuinely test the MoE distribution and aggregation logic.
    • Small-Scale Dataset Cold Start: Randomly initialized training based on an image-text pair dataset, focusing on observing the loss convergence trend rather than the final effect.

    This verification method is highly cost-effective in engineering. Understood in pseudocode, its core goal is to verify whether the following training loop can run stably in a distributed environment:

    1. for step, batch in enumerate(loader):
    2. with autocast(dtype="bf16"):
    3. visual_feat = visual_tower(batch.images) # Full visual tower
    4. text_feat = trimmed_llm(batch.tokens) # Truncated language backbone
    5. logits = cross_modal_proj(visual_feat, text_feat) # Cross-modal projection
    6. route = topk_router(text_feat, k=8) # Expert routing
    7. loss = criterion(logits, batch.labels)
    8. loss.backward() # Verify gradient implementation and communication correctness
    9. optimizer.step() # Verify sharded optimizer state update

    The value of the verification lies not in the final model accuracy, but in answering three questions: Are the operator implementations numerically correct? Are gradients fully backpropagated? Is distributed communication stable?

    III. Key Engineering Points: Systemic Integration from Operators to Communication

    3.1 Bridging the Operator Gap

    For hybrid attention and MoE architectures, general training frameworks often lack complete operator implementations for specific GPUs. The adaptation required supplementing at least the following: forward calculation of dynamic routing, gradient implementation of routing weights, expert compute distribution and result aggregation, and efficient kernels for sparse attention. Any deviation in gradient implementation would accumulate and amplify over hundreds of training steps, leading to loss curve divergence or abnormal fluctuations.

    3.2 Fully Sharded Data Parallel (FSDP)

    Memory is the primary bottleneck in massive model training. This verification adopted a fully sharded management strategy, dividing model parameters, gradients, and optimizer states across multiple GPUs, and temporarily aggregating them via collective communication when needed. This approach reduces single-GPU memory usage by an order of magnitude. According to disclosed data, the peak single-GPU memory under the trimmed configuration was around 45GiB, well within the capacity of mainstream training cards.

    3.3 Cross-Node Collective Communication

    The 2-node, 16-GPU configuration necessitates cross-node communication. The communication library must correctly handle inter-node high-bandwidth interconnects and intra-node card-to-card interconnects, ensuring low latency and high throughput for operations like All-Reduce and All-to-All (the key communication primitive relied upon for MoE expert distribution). In MoE architectures, the high frequency and dynamic data volume of All-to-All communication serve as a strict test for the stability of the communication library.

    3.4 Numerical Stability Verification

    Verification results showed that the training loss converged from approximately 8.94 to 2.18, with the validation set loss decreasing synchronously. This indicates that the numerical implementations of forward pass, gradients, and optimizer updates are self-consistent. The smooth convergence of the loss curve is the most direct evidence of the correct synergy between hardware and software stacks.

    IV. Industry Observation: Accelerated Adaptation of Local Computing Power and Large Models

    Placing this verification within the industry context, the adaptation of Chinese training compute power to mainstream large models shows three trends:

    1. Expanding Adaptation Coverage: Multiple Chinese chip manufacturers have announced training adaptations for mainstream open-source and self-developed large model series, with some claiming to have adapted hundreds of models.
    2. Cluster Scale Extending to Thousands of GPUs: Moving from single-node verification to large-scale cluster training, some fully localized clusters have achieved high effective training rates in major model version training.
    3. Rapid Market Expansion: According to third-party consulting forecasts, domestic high-end AI chip shipments will maintain high-speed growth over the next year or two, with the share of localized solutions continuing to rise.

    It must be emphasized that there is a significant gap between link verification under a trimmed configuration and full-scale pretraining. Full-scale training also requires solving more complex engineering problems such as long-term stability, large-scale data IO throughput, fault recovery and checkpoint resumption, and cluster-level fault tolerance. The significance of link verification is to prove “path correctness,” while full-scale training tests “path durability under extreme load.” The two are progressive, not equivalent.

    VI. Conclusion

    This verification demonstrates a clear adaptation path for Chinese GPUs for large models: quickly verifying operator correctness and distributed link integrity through a trimmed configuration, using loss convergence trends as the core quality metric, and then gradually evolving toward full-scale training. For teams engaged in building large-scale model training infrastructure, the core methodology conveyed by this practice is: adaptation work should prioritize numerical correctness and link integrity first, with performance optimization second. As the local compute ecosystem continues to mature, distributed training, communication optimization, and memory management for massive models will remain core technical focus areas for the foreseeable future.