Domestic GPU Validates Large-Scale Multimodal MoE Training Pipeline

    This article reviews a publicly disclosed test in which a domestically developed GPU ran a training pipeline for a trillion-parameter-scale native multimodal Mixture-of-Experts model. It explains the technical challenges of MoE and multimodal training, the reduced configuration used in the test, the reported loss and memory results, and the open questions that remain before full-scale pretraining.

    1. Validation Background: Domestic GPUs Move into the Training Stage

    In recent years, domestically developed GPUs have been used more widely for inference deployment, model fine-tuning, and single-machine training. For ultra-large multimodal models, however, the real challenge is not whether a program can start. The real challenge is whether a training pipeline can run stably, reproducibly, and scale.

    The publicly disclosed validation targets a native multimodal Mixture-of-Experts (MoE) model with trillion-parameter scale. The model uses sparse expert routing and includes a language backbone, a visual encoding branch, and a cross-modal projection module. The team completed 400 consecutive training steps on 16 GPUs across two machines. The run showed no unexpected process exits, gradient overflow, or obvious numerical instability.

    These results mainly show that the domestic GPU can run the core training workflow of the target model. They do not mean that full-scale pretraining is complete. Full pretraining requires larger clusters, longer runs, more complex data pipelines, and stricter fault tolerance.

    2. Why MoE Multimodal Models Are Harder to Adapt

    1. Expert routing adds communication and scheduling complexity

    MoE models do not activate all parameters for every input. A routing mechanism sends each token to a subset of experts. This keeps large parameter capacity while reducing per-step compute, but it also adds expert dispatch, cross-device exchange, and result aggregation.

    In multi-machine, multi-GPU environments, a token may need to move from its current device to an expert on another device. Communication efficiency directly affects compute utilization. Poor communication scheduling can cause:

    • Devices waiting for data, which lowers compute utilization;
    • Uneven expert load, where individual devices become bottlenecks;
    • Communication and computation failing to overlap, which increases per-step time;
    • Buffer growth or communication resource exhaustion after long runs.

    Therefore, MoE adaptation cannot stop at checking whether operators execute. It must validate the full process of routing, dispatch, aggregation, and backpropagation.

    2. Multimodal structure creates more complex memory lifecycles

    Multimodal models usually consist of a language backbone, a visual encoder, a cross-modal projection layer, and task output layers. The visual branch produces many intermediate activations. Image resolution, patch count, and visual feature length all affect memory use.

    If the visual branch takes part in parameter updates, training must store forward activations and also keep the intermediate states needed for backpropagation. At the same time, attention caches in the language model, expert weights, optimizer states, and gradients all consume memory.

    As a result, peak memory cannot be estimated from parameter count alone. Engineers need to consider:

    1. Parameter and gradient precision;
    2. Activation storage strategy;
    3. Whether optimizer states are sharded;
    4. Whether expert parameters are distributed across devices;
    5. Communication buffer size;
    6. Dynamic sequence lengths and image input size.

    3. Reduced Configuration Used in This Validation

    To lower experiment cost and locate adaptation issues quickly, the team used a reduced model configuration. The language backbone kept only some of its layers. The model used 16 experts, with each token activating 8 experts. The visual tower and cross-modal projection module remained relatively complete.

    Training used an image-text question-answering dataset, starting from random initialization. The goal was not to reach final task performance. The validation focused on these basic capabilities:

    • Whether the full multimodal forward pass runs;
    • Whether mixed attention and expert operators execute correctly;
    • Whether routing results take part in backpropagation;
    • Whether visual branch parameters update normally;
    • Whether distributed parameter sharding stays consistent;
    • Whether multi-machine communication supports continuous training;
    • Whether the loss curve shows a reasonable downward trend.

    According to the disclosed results, training loss dropped from about 8.94 early in the run to about 2.18 at the end. Validation loss fell from about 6.53 to about 4.69. Peak memory usage was about 44.80 GiB. The visual branch took part in parameter updates. This shows the validation did not run only the language backbone. It covered image input, cross-modal fusion, and joint backpropagation.

    The loss decrease only shows that the optimization process is basically valid under this configuration. It does not show that the model has reached the full training goal, and it does not indicate the final model’s performance on general tasks.

    4. Key Techniques in the Distributed Training Pipeline

    1. Sharding parameters, gradients, and optimizer states

    For a trillion-parameter model, storing the full parameters and training state on one GPU is usually not feasible. Engineering teams need to shard parameters, gradients, and optimizer states so that each GPU keeps only its assigned part.

    Sharding requires data aggregation and release at the right points around computation. For example, a device may need to fetch the parameters of a layer temporarily before running it, then release or re-shard them afterward. Poor parameter lifecycle management can lead to memory peaks, growing fragmentation, or random failures during training.

    During validation, focus on:

    • Whether peak memory on each device stays stable;
    • Whether sharding and aggregation keep values numerically consistent;
    • Whether gradient synchronization misses any updates;
    • Whether optimizer state updates match single-GPU reference results;
    • Whether memory keeps growing over many steps.

    2. Overlapping communication with computation

    Large-scale training performance depends on communication efficiency as well as chip compute capability. Ideally, while some layers compute, the data for the next stage transfers in parallel, which reduces waiting time.

    For MoE models, communication mainly covers expert input dispatch and expert output collection. Data-parallel training also needs gradient reduction. Parameter-sharded training may involve parameter prefetching and state synchronization.

    When validating the communication path, do not look only at average single-step time. Observe fluctuations over long runs. A system with high short-term performance but occasional blocking often cannot sustain a real long training run.

    3. Numerical stability checks

    Mixed-precision training usually lowers memory use and increases throughput. It also introduces risks such as overflow, underflow, and abnormal gradients. When random initialization, expert routing, and multimodal fusion occur together, activation ranges in some layers can grow quickly.

    Common stability checks include:

    • Monitoring whether the loss suddenly becomes non-numeric;
    • Checking whether gradient norms rise abnormally;
    • Tracking activation ranges across layers;
    • Sampling routing probabilities and expert load;
    • Comparing single-GPU and multi-GPU results within an error range;
    • Verifying stability across different batches and input lengths.

    If gradients behave abnormally, determine whether the cause is the operator implementation, the normalization strategy, communication reduction, or the mixed-precision scaling mechanism. Do not attribute the problem to insufficient hardware performance by default.

    5. Engineering Value of 400 Consecutive Steps

    A 400-step run may look like a modest milestone, but it is more informative than a single successful step. One step only shows that the program can complete one forward and backward pass. A continuous run exposes more problems, including:

    • Memory leaks;
    • Unreleased communication handles;
    • Gradient accumulation errors;
    • Abnormal optimizer state updates;
    • Inconsistent random number states;
    • Load fluctuations caused by dynamic routing;
    • Occasional numerical instability during training.

    If the loss curve keeps changing over 400 steps without abnormal interruption, the pipeline from data loading through model computation, gradient synchronization, state updates, and checkpoint logic forms at least a working loop.

    For enterprise R&D teams, results like this can serve as a baseline for scaling up. Before moving to larger clusters, teams should still test node failure recovery