Validating a Trimmed MoE Multimodal Training Pipeline on Domestic AI GPUs

    This article reviews a detailed validation report on a trimmed configuration of a native multimodal MoE model running on domestic AI GPUs. It explains why evaluation has shifted from single-chip peak floating-point performance to whether distributed training can run stably end to end, then examines three engineering challenges—dynamic sparse attention, MoE routing communication and load imbalance, and multimodal memory pressure—and three adaptation workstreams: operator coverage, FSDP2 sharding with memory estimation, and cross-node communication. It also clarifies what the disclosed numbers do and do not prove.

    1. Background: Evaluation Criteria for Domestic AI Compute Are Changing

    Large models continue to grow in parameter scale, and model architectures are shifting from dense Transformers to mixture-of-experts (MoE) and multimodal fusion. For domestic AI GPUs, single-card peak floating-point performance is no longer the main basis for comparison. The more critical question is whether forward propagation, backward propagation, gradient synchronization, and optimizer state management can run completely and stably in distributed training.

    For some time, domestic AI chip vendors have invested heavily in model adaptation, and there have been public reports of training tasks at thousand-card and even ten-thousand-card scale. However, public materials for native multimodal MoE models above 100 billion parameters mostly remain at the general level of “supports training.” Engineering metrics such as training stability, loss curves, and memory usage often lack detail. This article discusses a relatively detailed validation report for a trimmed configuration, focusing on what reusable information it provides and what it does not prove.

    2. Three Main Challenges

    2.1 Training Cost of Dynamic Sparse Attention

    Dynamic sparse attention selects a subset of tokens to attend to based on input content. At inference time, this can reduce computation, but during training it creates complications. Different samples have different attention patterns, so the computation graph contains dynamic branches, and GPU kernels are difficult to optimize statically in the way they are for fixed-shape matrix multiplication. The tensor shapes of intermediate activations are also irregular, placing higher demands on memory allocation and operator implementation.

    2.2 Communication and Load in MoE Routing

    MoE splits a model into multiple expert subnetworks, and a router selects experts for each token. The model described in the report uses 16 routed experts and Top-8 activation, meaning each token is dispatched to 8 experts, and the results are weighted and merged.

    This structure brings two problems. The first is communication. Routing results depend on data, so the cross-device data exchange pattern is not fixed. When tensor parallelism and expert parallelism are mixed, each card must exchange hidden states with other cards. Communication volume grows approximately linearly with expert parallelism, Top-k value, tokens per step, and sequence length; actual overhead is also affected by the All-to-All sharding method and network topology. The second is load imbalance. Early in training, the router tends to concentrate most tokens on a few experts while other experts remain idle. This wastes compute and also creates local communication hotspots.

    2.3 Memory Pressure from Multimodality

    A text-only model has only a language backbone. A multimodal model also adds a vision encoder tower and a cross-modal projection module. The model in the report retains the full 27-layer vision tower, and image feature extraction consumes a large amount of memory and compute. During training, the vision tower parameters must be updated, while the overall memory peak must remain controllable. This tests both sharding strategy and activation management.

    3. Three Main Workstreams for Adaptation

    3.1 Operator Completion

    Before training a new architecture, the framework’s forward and backward operators must have complete GPU implementations. Gradient computation for dynamic sparse attention and MoE gating is much more complex than for ordinary matrix multiplication or normalization. Engineering teams need to implement forward computation and gradient backpropagation one by one and validate the results. Common validation methods include numerical comparison with a reference implementation, checking whether gradients contain NaN or are all zero, and testing overflow under mixed-precision boundary conditions. The report notes that the implementation considered numerical stability of backpropagation, but it does not provide specific test cases or pass criteria.

    3.2 FSDP2 Sharding and Memory Estimation

    Memory for large-model training is mainly determined by three parts: parameters, gradients, and optimizer states. Taking a full model with 2.8 trillion parameters as an example, BF16 parameters alone are about 2.8 trillion × 2 bytes, or about 5.6 TB. If mixed precision and the Adam optimizer are used, each parameter occupies about 16 bytes, including the BF16 parameter, BF16 gradient, FP32 master weight, and two FP32 Adam states. On this basis, the full model states are about 44.8 TB. This number is unrelated to the 44.80 GiB memory peak mentioned in the report; the two use different bases. These states must be distributed across a large number of devices, so training depends on fully sharded data parallelism (FSDP).

    This adaptation uses FSDP2. It allows sharding at the granularity of individual parameter tensors, which is more flexible than the first-generation approach and can reduce unnecessary communication. The engineering team focused on tuning the sharding ratio and the degree of communication overlap so that load across cards is as even as possible.

    It should be noted that the memory peak data in the report correspond to a trimmed configuration, not the full model. The report does not give the parameter count after trimming, so it is not possible to directly derive that number from the 2.8 trillion parameters.

    3.3 Cross-Node Communication

    In a two-node, 16-GPU setup, network bandwidth between nodes is much lower, making cross-node communication a central part of the adaptation effort.