Domestic GPUs Complete Training-Pipeline Validation for a Trillion-Parameter Multimodal Model

    This article analyzes a validation exercise in which domestically developed GPUs ran a complete training pipeline for a roughly 2.8-trillion-parameter native multimodal mixture-of-experts model using a trimmed network configuration. It explains why the trimmed setup still provides meaningful engineering validation, how to interpret the reported loss and GPU memory metrics, which adaptation challenges matter most for MoE multimodal training, and what distributed-training components and scale-up work are required before full-scale pretraining.

    Domestic GPUs Complete Training-Pipeline Validation for a Trillion-Parameter Multimodal Model

    1. Technical Significance of the Validation

    As multimodal large models move toward larger parameter scales, the challenge for training systems has shifted from “whether a single operator can run” to “whether a complete distributed training pipeline can run stably.” This is especially true for mixture-of-experts (MoE) models, whose compute volume, memory footprint, and communication patterns differ significantly from those of conventional dense models. When a model combines a language backbone, a vision encoder, a cross-modal projection layer, and a dynamic routing mechanism, the GPU hardware, compiler, communication libraries, and training framework must work together reliably.

    The validation targeted a native multimodal MoE model at a scale of roughly 2.8 trillion parameters. It is important to note that the publicly reported results used a trimmed network configuration and do not mean that full-scale pretraining has been completed. The main value is that, in a domestic GPU environment, the training job completed the full process of initialization, forward computation, backpropagation, parameter updates, distributed synchronization, and loss logging, while maintaining numerical stability during continuous operation.

    From an engineering perspective, this kind of validation is closer to a real production scenario than a single-operator performance test. A single-operator test only shows that one compute module can execute. Continuous training must also handle random-number consistency, gradient synchronization, communication stalls, memory fragmentation, checkpoint saving, and failure recovery.

    2. How a Trimmed Configuration Still Provides Valid Testing

    The test did not launch full-scale training directly. Instead, it retained key model structures while reducing part of the compute scale. Public information shows that the language backbone was truncated to 13 layers, with 16 routed experts and a Top-8 activation strategy. The vision branch retained its full 27-layer structure, and the cross-modal projection module also participated in training. The training data used an image-text question-answering dataset, and training started from random initialization.

    This design is engineering-sound for several reasons.

    First, retaining the vision tower verifies whether image encoding, image-text feature alignment, and vision parameter updates work correctly. Training only the language part would not cover the tensor layout, data type, and gradient-propagation issues that are most likely to appear in multimodal models.

    Second, retaining the MoE structure tests dynamic routing logic. Each token does not pass through all experts; instead, it selects a subset of experts based on routing results. The system must ensure index consistency across expert selection, token permutation, cross-GPU dispatch, and result aggregation. Otherwise, even if the program does not crash, abnormal loss or incorrect gradients may occur.

    Third, reducing the number of language layers and experts allows the main training pipeline to be validated quickly under limited hardware resources. It cannot represent the final throughput or convergence of the full model, but it can expose structural adaptation problems early and reduce trial-and-error costs when scaling up later.

    3. How to Interpret Training-Stability Metrics

    Public results show that training loss fell from a period average of about 8.9365 to about 2.1802, while validation loss fell from about 6.5297 to about 4.6873. Peak GPU memory was about 44.80 GiB, and the vision branch participated in parameter updates.

    These metrics can be understood at three levels.

    3.1 Loss Decline Shows the Main Pipeline Is Basically Trainable

    A continuous decline in training loss indicates that forward output, label alignment, backpropagation, and optimizer updates have formed a closed loop. For a randomly initialized multimodal model, initial loss is usually high. If the data pipeline or gradient computation has serious problems, common symptoms include loss remaining unchanged for a long time, sudden divergence, or non-numeric results after a number of steps.

    However, falling loss does not mean the model has reached a usable level. A trimmed network and a limited number of steps can only show that the training process has a reasonable trend. They cannot directly prove the final capability, generalization performance, or large-scale pretraining efficiency of the full model.

    3.2 Training and Validation Loss Changes Need to Be Analyzed with Data Scale

    The training loss dropped substantially, while validation loss dropped more modestly. This may be related to the short training run, differences in data distribution, random initialization, and the trimmed configuration. Determining whether overfitting has occurred requires longer observation windows, more validation samples, and multiple training curves, not just two period averages.

    In engineering practice, it is advisable to log the following metrics together:

    • Training loss, validation loss, and moving averages at each step;
    • Gradient norm, parameter norm, and update magnitude;
    • Number of tokens received by each expert;
    • Communication wait time and compute utilization;
    • Peak memory allocation, fragmentation rate, and recomputation overhead;
    • Counts of overflow, skipped steps, and abnormal recovery events.

    3.3 Peak Memory Reflects the Current Configuration, Not Full-Model Requirements

    The 44.80 GiB peak memory corresponds only to this trimmed configuration and its specific batch size, sequence length, data type, and parallel strategy. Full-scale training memory requirements are also affected by parameter sharding, activation storage strategy, optimizer states, visual input resolution, and expert parallel layout.

    The memory result is therefore better used to verify whether memory management is correct, rather than as a direct conclusion about hardware capacity for full training.

    4. Adaptation Challenges in MoE Multimodal Training

    4.1 Dynamic Routing Creates Irregular Computation

    Tensor shapes in conventional dense networks are usually relatively fixed, but in MoE models, tokens are assigned to different experts according to routing results. Expert load may change from batch to batch, causing dynamic fluctuations in compute scale and communication traffic.

    Adaptation work should focus on checking:

    • Whether routing probabilities remain correctly normalized;
    • Whether Top-K selection produces stable index results;
    • Whether token order is consistent before and after permutation;
    • Whether expert capacity limits and overflow strategies are correct;
    • Whether edge cases such as empty experts and load skew can be handled.

    If subtle errors exist in these areas, the symptom may be non-converging training loss rather than an immediate program crash.

    4.2 Hybrid Attention Places Higher Demands on Operator Implementation

    Multimodal models may use local attention, global attention, or other sparse attention forms at the same time. Different attention modes involve different masking logic, sequence layouts, and cache management. Domestic GPU adaptation must not only implement forward operators but also ensure that backward computation produces correct gradients and that numerical error is controlled under mixed precision.

    Common validation methods include:

    1. Comparing small-scale inputs element by element against a high-precision reference implementation;
    2. Checking maximum absolute error and relative error in forward output;
    3. Performing numerical gradient checks on key parameters;
    4. Repeating tests across different sequence lengths and batch sizes;
    5. Validating boundary cases such as abnormal inputs, empty sequences, and extreme masks.

    4.3 The Vision Branch Increases Data and Memory Pressure

    A vision tower usually contains many feature layers, and changes in image resolution affect the number of visual tokens. Image preprocessing, feature concatenation, cross-modal projection, and language input must match strictly. If the vision branch only completes forward computation without participating in backward updates, the training result may be mistakenly judged as complete multimodal training.

    During validation, it is therefore necessary to confirm that vision parameters actually receive gradients and that those gradients participate in optimizer updates. Attention should also be paid to how an increased number of visual tokens affects sequence length, attention memory, and communication overhead.

    5. Key Components of the Distributed Training Pipeline

    In a dual-node, 16-GPU environment, a complete training pipeline typically includes data parallelism, parameter sharding, gradient synchronization, and cross-node communication.

    Sharding parameters, gradients, and optimizer states can significantly reduce per-GPU storage pressure, but it also increases communication requirements during parameter aggregation and updates. Cross-node communication must handle bandwidth, latency, topology, and failure retry. For MoE models, communication does not occur only during ordinary gradient synchronization; it may also occur during token dispatch and expert result return.

    A relatively complete validation process should include:

    • Single-GPU forward and backward correctness tests;
    • Multi-GPU result consistency tests;
    • Two-node communication connectivity and bandwidth tests;
    • Parameter sharding and reassembly tests;
    • Mixed-precision and loss-scaling tests;
    • Stability tests over hundreds of continuous steps;
    • Checkpoint saving, loading, and resume tests.

    Running 400 continuous steps without numerical overflow or abnormal interruption shows that runtime stability reached a certain level under the current configuration. Longer tests are still needed to cover memory leaks, occasional communication timeouts, and long-term load imbalance.

    6. From Experimental Validation to Scaled Training

    Adapting domestic GPUs to large models usually goes through several stages: operator availability, single-node stability, multi-node scaling, long-duration operation, and full-model training.

    Before scaling up, the following work should be prioritized.

    6.1 Establish an Accuracy Baseline

    Key operators should be compared with high-precision reference implementations, error ranges should be defined, and result stability should be verified across different input scales. It is not enough to look only at final loss; intermediate activations, gradients, and parameter updates should also be checked layer by layer.

    6.2 Optimize Communication and Load Balancing

    MoE models are especially sensitive to expert load imbalance. The number of tokens received by each expert should be collected to see whether a small number of experts are overloaded or some experts remain idle for long periods. When necessary, routing regularization, capacity limits, or parallel strategy adjustments can improve balance.

    6.3 Improve Failure Recovery

    Long-duration training must support periodic checkpoint saving, automatic anomaly detection, failure retry, and resume from checkpoints. Checkpoints should save not only model parameters but also optimizer states, random-number states, data reader position, and learning-rate scheduler state. Otherwise, the training trajectory may become inconsistent after recovery.

    6.4 Build Resource Observability

    Monitoring systems should continuously collect compute utilization, memory usage, communication latency, network throughput, temperature, power, and task failure reasons. Only with a complete observability system can teams distinguish whether a problem comes from operators, data, communication, or hardware resources.

    7. Implications for Industrial Deployment

    Progress in adapting domestic GPUs to large models is shifting from “supporting several mainstream models” to “covering complex training paradigms.” Tasks such as multimodality, mixture of experts, long sequences, and reinforcement learning place higher demands on software-stack completeness.

    Future competition may focus on three areas:

    • Hardware compute capability and memory bandwidth;
    • Maturity of compilers, operator libraries, and communication components;
    • Scheduling, monitoring, and failure recovery for large-scale clusters.

    A single successful training run is therefore only a starting point. Truly production-ready adaptation must also meet conditions such as reproducible accuracy, scalable performance, observable resources, and recoverable failures. When evaluating domestic GPU solutions, enterprise users should not focus only on peak compute. They should also examine support for complete training frameworks, mainstream model architectures, distributed parallelism methods, and long-run stability.

    Overall, the continuous training validation under the trimmed configuration shows that domestic GPUs have an engineering foundation for further work on complex multimodal MoE models. However, moving from experimental pipeline validation to full-scale pretraining still requires larger cluster tests, longer stability validation, and system-level performance optimization. Only by improving hardware, compilers, training frameworks, communication, and operations together can domestic compute truly support the large-scale development and deployment of trillion-parameter models.