China-Developed GPU Completes Training Pipeline Validation for Trillion-Scale Multimodal Models

    This article covers a validation test that ran a pruned multimodal mixture-of-experts (MoE) model across two machines with 16 accelerator cards. The test covered the full training loop, including forward computation, backpropagation, distributed state synchronization, and checkpoint management. It also explains why MoE multimodal models are harder to adapt, what the test does and does not prove, and what work remains before full-scale pretraining.

    1. From “Runs” to “Verified”: Domestic GPU Adaptation Enters the Engineering Deep End

    Training large models demands more from chips and software stacks than basic matrix multiplication support. The stack must run the complete training pipeline reliably. For multimodal MoE models in particular, the compute graph typically combines a language backbone, a vision encoder, cross-modal connection layers, sparse expert layers, and dynamic routing. A compatibility issue in any one of these components can prevent training from starting, cause abnormal loss values, drive memory use steadily upward, or interrupt a long run.

    The main value of this validation lies not in single-inference performance or the peak throughput of one operator. It lies in connecting the entire training process end to end. The test ran several hundred consecutive training steps on a dual-node setup with 16 accelerator cards. No numerical overflow or abnormal exits occurred. This indicates that the related hardware and software stack has the basic conditions to run complex multimodal training tasks.

    Pipeline validation and full-scale pretraining are different things. Pipeline validation mainly confirms that a model can correctly complete forward computation, backpropagation, gradient synchronization, parameter updates, and checkpoint management. Full-scale pretraining also has to handle longer training runs, larger datasets, higher communication volume under heavier concurrency, and stricter requirements for convergence and performance.

    2. Why Mixture-of-Experts Multimodal Models Are Harder to Adapt

    1. Dynamic routing adds communication and load uncertainty

    An MoE model does not pass every input through all experts. A routing module selects a subset of experts for each token. This lets the parameter count grow while keeping the compute cost per token under control. It also introduces new system problems.

    Different inputs may be assigned to different experts, so the data volume across devices can become unbalanced. When several devices select the same group of experts at once, local communication congestion can occur. The training framework must do more than run the experts. It must also handle token reordering, cross-card exchange, result collection, and sequence restoration.

    Adaptation work therefore needs to verify the following:

    • Whether routing probabilities are computed correctly;
    • Whether Top-K expert selection meets expectations;
    • Whether token dispatch and collection preserve data order;
    • Whether expert load becomes severely skewed;
    • Whether cross-device communication overlaps effectively with computation;
    • Whether routing gradients are fully propagated during backpropagation.

    If any of these is implemented inconsistently, training may show loss that does not decrease, abnormal gradients, or results that cannot be reproduced.

    2. Multimodal structure adds more memory pressure

    A multimodal model usually needs to keep visual features, language features, cross-modal projection results, and several intermediate activations in memory. Training also stores the tensors that backpropagation requires, so memory use is much higher than during inference.

    In an MoE architecture, each token activates only some experts. Model parameters, optimizer states, and gradients can still create substantial storage demands. Mixed-precision training adds more requirements. The system must maintain loss scaling and master weights or higher-precision accumulation states. Without them, low-precision computation can become numerically unstable.

    In the pruned test configuration, peak memory use was about 44.80 GiB. This figure shows the storage cost of the current configuration. It cannot be used directly to estimate memory needs for the full model, the full sequence length, or larger batch sizes. Real deployments still need to reassess memory based on these factors:

    • Per-card memory capacity;
    • Activation storage strategy;
    • Parameter and gradient sharding approach;
    • Whether optimizer states are sharded;
    • Sequence length and image input resolution;
    • Batch size and gradient accumulation steps;
    • Extra memory consumed during checkpoint saving.

    3. What the Test Configuration Shows About the Validation Approach

    To reduce test costs, the experiment used a pruned model configuration. The language backbone kept a subset of its layers. The expert module used 16 experts with partial activation. The full vision branch and cross-modal projection module were retained. This design does not simulate full production training. It targets the critical paths most likely to fail.

    The validation covered four capabilities.

    First, whether forward computation is complete

    The forward pass runs visual feature extraction, modality projection, language-side feature processing, attention computation, and expert routing, in that order. Any difference in data types, tensor layouts, or broadcasting rules in any operator would surface at this stage.

    Second, whether backpropagation forms a closed loop

    Training cannot be judged by forward results alone. Gradients must flow from the loss function back through the vision branch, the projection layers, the language backbone, and the expert modules. In multimodal models, if the vision branch does not take part in parameter updates, the training loss may still decline while the model fails to learn as intended.

    The test reported that the vision branch took part in parameter updates. This shows that the validation covered the joint multimodal training path, not only the language side.

    Third, whether distributed state synchronizes correctly

    In multi-card training, parameters, gradients, and optimizer states usually need to be sharded to reduce per-card storage pressure. The sharding strategy must ensure that state is correctly aggregated and updated across devices. Otherwise, local parameters may diverge, gradients may be accumulated twice, or optimizer states may fall out of alignment.