Chinese-Developed GPU Completes Training Pipeline Validation for an Ultra-Large Multimodal Model

    This article explains why adapting domestic GPUs to ultra-large multimodal models is moving from basic compatibility checks to full distributed training validation. It covers the technical challenges of mixture-of-experts routing, hybrid attention, and vision-language training. It also reviews a trimmed-configuration test on two nodes with 16 accelerator cards and outlines a four-stage framework for validating whether a training pipeline can scale.

    1. From “Running” to “Sustainable Training”

    As the parameter counts of multimodal large language models keep growing, the adaptation priorities for domestic GPUs have shifted. The focus has moved from making a single operator execute or a single card start up to keeping a complete training pipeline stable. For ultra-large models that combine sparse expert networks, dynamic attention, and vision encoders, the hard part is not loading the model. Teams must sustain forward computation, backpropagation, gradient synchronization, parameter updates, and checkpoint saving across multiple cards and multiple machines.

    Recently, a Chinese GPU vendor disclosed that its lab had completed adaptation of the training pipeline for an ultra-large multimodal model. In a two-node, 16-card environment, the team ran hundreds of consecutive training steps. No numerical overflow, gradient anomalies, or unexpected process interruptions occurred during the test. These results suggest that domestic GPU adaptation is moving from compatibility verification to distributed training engineering validation.

    Running hundreds of consecutive steps does not equal completing full-scale pre-training. The test is closer to a combined check of the training framework, operator implementations, memory management, communication mechanisms, and numerical stability. It is an important intermediate step between an experimental environment and a large-scale cluster.

    2. Why Ultra-Large Multimodal Models Are Hard to Adapt

    The validated model is a native multimodal model with trillion-scale parameters and a mixture-of-experts (MoE) architecture. Compared with traditional dense language models, its computation and communication paths are more complex. The main challenges are described below.

    1. Sparse Expert Routing Introduces Dynamic Communication

    An MoE model contains many expert networks, but each token activates only a few of them. This expands model capacity without computing with all parameters. It also introduces dynamic routing, token reordering, and cross-device exchange.

    During multi-card training, routing results do not necessarily match the expert distribution on the current device. The system must first reorganize tokens according to routing indices. It then sends the data to target experts through inter-device communication and returns the results after computation. If communication order, tensor shapes, or gradient aggregation are wrong, the outcome may be lower performance or, in serious cases, incorrect training results.

    2. Hybrid Attention Increases Operator Complexity

    Multimodal models often combine local attention, global attention, sparse attention, or other modified structures. Different attention modules may use different input layouts, masking rules, and caching strategies. This places higher demands on GPU kernel implementations.

    Adaptation must ensure that forward outputs match the reference implementation and that backward gradients propagate correctly. With long sequences and many image tokens, the memory footprint and intermediate activations of attention computation grow quickly. Recomputation, sharding, and memory reuse are needed to keep them under control.

    3. Vision Branches and Language Backbones Train Differently

    A multimodal model typically consists of a vision encoder, a cross-modal projection layer, and a language model backbone. The vision branch differs from language sequences in input size, feature distribution, and compute density. Validating only the language backbone cannot prove that the full multimodal training pipeline works.

    This test kept the complete vision tower and cross-modal projection modules. It also allowed the vision branch to participate in parameter updates. The validation therefore covered image feature extraction, modality alignment, and joint backpropagation. The vision module was not used as a frozen inference component.

    3. Designing a Trimmed-Configuration Validation

    To reduce testing cost, the engineering team used a trimmed model configuration. The test version keeps some layers of the language backbone, sets a number of routed experts, and retains the vision branch and cross-modal modules. The training data is an image-text question-answering dataset, and the model parameters start from random initialization.

    This approach is sound from an engineering standpoint. A full trillion-parameter model usually requires many devices, long runtimes, and complex data pipelines. Running full-scale tests directly would greatly increase the cost of locating problems. With the key structures preserved, the trimmed configuration lets the team first verify the following:

    • whether the forward and backward passes of hybrid attention are correct;
    • whether expert routing and token exchange run stably;
    • whether parameters, gradients, and optimizer states are sharded correctly;
    • whether multi-machine, multi-card communication shows deadlocks, packet loss, or synchronization errors;
    • whether gradients from the vision branch reach the update step;
    • whether the loss function shows a reasonable downward trend;
    • whether memory leaks or numerical drift appear during long runs.

    The trimmed configuration can only show that the structure and pipeline are runnable. It cannot directly predict throughput, training efficiency, or final convergence under the full configuration. As model size grows, the communication ratio, memory pressure, and failure probability all change. Further multi-stage scaling validation is therefore still required.

    4. Assessing Adaptation Quality from Training Curves

    According to the published test results, training loss fell from about 8.94 in the early stage to about 2.18 in the later stage. Validation loss fell from about 6.53 to about 4.69, and peak memory usage was about 44.80 GiB. These numbers do not represent the final quality of the full model. They can, however, indicate whether the basic training pipeline works.

    First, the steady decrease in training loss suggests that forward computation, backpropagation, and optimizer updates form a closed loop. If routing, gradients, or parameter updates contained systematic errors, the loss would typically oscillate for a long time, diverge quickly, or stay at an abnormally high level.

    Second, validation loss also decreased. This indicates that the model is not simply memorizing training samples. At least in this small-scale experiment, it shows a degree of generalization. The decrease is limited, so more data, different random seeds, and longer training runs are needed for a firm judgment.

    Third, peak memory usage is a key metric for evaluating sharding strategies and memory management. Memory use comes from more than model parameters. It also includes gradients, optimizer states, activations, communication buffers, and temporary tensors. Focusing only on model weight size can easily underestimate the resources that real training requires.

    5. Key Components of a Distributed Training Pipeline

    1. Sharding Parameters, Gradients, and Optimizer States

    When a model reaches trillion-parameter scale, storing full parameters, gradients, and optimizer states on a single card is nearly impossible. A common approach is to split this data across devices so that each card holds only part of it. Data is aggregated only where computation requires it.

    Parameter sharding must address three questions. First, how shard boundaries connect with the computation graph. Second, when parameters should be fetched during the forward pass. Third, how temporary data is released and gradients are reduced during the backward pass. Mishandling any of these can cause excessive memory peaks or inconsistent gradients.

    2. Cross-Node Communication and Synchronization

    The value of the two-node, 16-card validation lies in covering both intra-node and inter-node communication. Intra-node communication usually has higher bandwidth and lower latency. Inter-node communication is more affected by network topology, packet scheduling, and synchronization waits.

    For expert-routing models, communication volume is dynamic. Token distribution can vary between batches, which causes uneven load across devices. If some devices finish computing early, they must wait for others to finish data exchange, which lowers the effective training rate. Communication testing should therefore not only check for errors. It should also record communication share, device utilization, and load balance.

    3. Mixed Precision and Numerical Stability

    Large-model training often uses low-precision computation to reduce memory use and increase throughput. Low precision, however, makes gradient underflow, overflow, and accumulated error more likely. Adaptation needs to check loss scaling, gradient clipping, normalization calculations, and the precision policies for key operators.

    The absence of numerical overflow during continuous training suggests that precision control is basically effective under the current configuration. Numerical stability, however, depends on batch size, learning rate, sequence length, and changes in expert load. Short-cycle results alone