How Domestic GPUs Reached Trillion-Parameter MoE Multimodal Training: A Technical Breakdown

    This article takes a technical look at adapting a non-mainstream GPU architecture to train a trillion-parameter mixture-of-experts (MoE) native multimodal model. It explains why these models are hard to get running end to end, how a domestic GPU vendor adapted the training pipeline and validated it on two nodes with 16 GPUs over 400 consecutive steps, and where engineering effort pays off across operators, memory, communication and numerical stability. It also clarifies what a cut-down pipeline validation does and does not prove, and offers practical takeaways for teams building similar stacks.

    Over the past few years, domestic GPUs have steadily picked up the pace at which they are being adapted to very large parameter models. One of the most demanding scenarios is getting a non-mainstream accelerator to run the complete training pipeline of a trillion-parameter mixture-of-experts (MoE) native multimodal model. A domestic GPU vendor recently reported that its lab adapted the training pipeline for such a model and validated it on two nodes with 16 GPUs, running 400 consecutive training steps without numerical overflow or abnormal interruption. The value of this result lies less in peak compute than in the fact that a vague question — “can it even run?” — has been broken down into technical checkpoints that are reproducible and comparable. This article looks systematically at the challenges of this kind of adaptation, the methods used and the limits of what it demonstrates.

    1. Background: The adaptation hurdle between domestic accelerators and trillion-parameter multimodal models

    Large-model training is shifting from “dense and unimodal” toward “sparse and multimodal.” As parameter counts climb from hundreds of billions into the trillions, the central challenge is no longer “can a single card compute?” but “can the whole cluster compute together and stay stable?” Domestic GPUs have mainly tackled two things in recent years: operator coverage and ecosystem compatibility. Trillion-parameter MoE multimodal models take these familiar problems and magnify them. More parameters overall mean heavier memory pressure; sparse routing means more complex data dependencies; multimodal fusion makes peak memory even harder to predict. Whichever vendor can get this pipeline running end to end and hold it steady over long runs has genuinely cleared the key hurdle on the training side.

    2. Technical challenges: Why trillion-parameter MoE multimodal models are hard to get running end to end

    2.1 Mixture-of-experts architecture and expert routing

    The core idea of MoE is to split a large model into many expert subnetworks. Each input token activates only a few of them (for example, top-2 or top-8). This sparse activation lets total parameters reach the trillions while keeping compute for a single forward pass relatively manageable. The cost is that tokens must be “dispatched” to the devices hosting their assigned experts. When experts live on different cards and different nodes, this introduces all-to-all communication. If routing load is uneven, with some experts overloaded and others idle, communication volume can surge and training throughput becomes erratic.

    2.2 Dynamic sparse attention

    Native multimodal models typically adopt dynamic sparse attention to reduce the attention cost of long sequences and multimodal tokens. The main difficulty is that the sparsity pattern is itself dynamic. It depends on runtime data, so memory access and kernel scheduling are less regular than with dense operators. For an accelerator backend that must implement forward and backward passes exactly, this means covering not only the standard paths of the attention kernels but also a range of sparse edge cases. Miss those, and gradient errors can easily creep in during backpropagation.

    2.3 Memory and communication coupling in multimodal fusion

    A multimodal model has three parts: the language backbone, the vision tower (visual encoder) and a cross-modal projection module. Their tensor sizes, compute density and memory footprints differ sharply, and training constantly moves cross-modal features between the vision and language branches. This heterogeneity makes peak memory hard to estimate, and the communication pattern is not something simple data parallelism can cover. A single missing operator or a poorly chosen sharding strategy can blow up across the whole pipeline as numerical instability or a training crash.

    3. Cut-down configuration and key results of this validation

    One thing needs to be clear up front: what was reported is a pipeline validation under a cut-down configuration, not full-scale pretraining of the complete model.

    The cut-down setup was as follows:

    • The language backbone was truncated to 13 layers and configured with 16 routed experts (top-8 activation);
    • The full 27-layer vision tower and the cross-modal projection module were kept;
    • Training ran from random initialization on a public image-text question answering dataset.

    Over 400 consecutive steps on two nodes with 16 GPUs:

    • Training loss fell from its initial range (mean of 8.9365 across roughly steps 21–70) to 2.1802 (mean of the final 50 steps);
    • Validation loss dropped from 6.5297 to 4.6873;
    • Peak memory was about 44.80 GiB;
    • The vision branch genuinely took part in parameter updates.

    What makes these numbers interesting is not how low the loss went, but three conclusions they support:

    1. The loss curve falls smoothly and monotonically. That suggests the forward and backward computation graphs are self-consistent.
    2. Gradient checks pass, with no numerical overflow. That suggests mixed precision and sparse operators have not introduced hidden numerical errors.
    3. The vision branch is being updated. That suggests the multimodal pipeline is not a pseudo-打通 in which the language branch runs while the vision branch just hangs around.

    Compared with a bare “adaptation complete” claim, this level of disclosure is more useful as an engineering reference.

    4. Engineering view: Getting the distributed training pipeline working end to end

    The focus of adaptation work is not single-card peak performance but getting the distributed pipeline working as a system. Four layers help break this down.

    4.1 Operator layer: filling in the forward and backward passes

    MoE’s hybrid attention, expert routing and cross-modal projection all require the accelerator backend to implement matching forward and backward operators. A forward pass alone is not enough for training. If the backward gradient implementation is inconsistent with sparse routing or sparse attention, the loss curve goes haywire. So forward coverage plus gradient implementations are the precondition for the pipeline to converge at all.

    4.2 Memory layer: sharding and activation recomputation

    A trillion-parameter model cannot fit its parameters, gradients and optimizer states in full on one card. The industry-standard approach is a scheme like Fully Sharded Data Parallel (FSDP): parameters, gradients and optimizer states are sharded within the data-parallel group and gathered on demand during the forward and backward passes. This spreads memory usage across many cards. Schematically, the sharding and compute logic looks like this:

    1. # Pseudocode: the core idea of fully sharded data parallelism
    2. # Parameters, gradients and optimizer states are sliced within the data-parallel group
    3. for layer in model.layers:
    4. # Forward pass: all-gather full parameters when needed, then free them right away
    5. full_params = all_gather(layer.sharded_params, group=dp_group)
    6. out = layer.forward(inputs, full_params)
    7. release(full_params)
    8. # Backward pass: reduce-scatter to aggregate gradients, then re-shard
    9. # Combined with activation recomputation to further reduce peak memory

    For multimodal models, the vision tower and the language backbone have different memory profiles. Different branches often need different sharding and recomputation strategies.

    4.3 Communication layer: collective operations and topology awareness

    Cross-node communication relies on the vendor’s in-house collective communication library for operations such as all-gather, reduce-scatter and all-to-all. MoE expert dispatch is all-to-all intensive, so communication cost easily becomes the bottleneck. Engineers usually optimize along three lines: overlapping communication with computation, balancing routing load, and making communication aware of network topology. The goal is to hide as much communication as possible behind compute.

    4.4 Numerical stability

    Mixed-precision training, sparse operators and a long chain of accumulated steps together are the main sources of numerical overflow and training interruptions. Gradient checks, loss-curve monitoring, automatic rollback on anomalous steps and checkpointing are the basic engineering capabilities that keep long runs going without a break.

    5. From cut-down validation to full-scale pretraining: three hurdles remain

    There is still a clear gap between pipeline validation under a cut-down configuration and full-scale pretraining of a complete trillion-parameter model. It comes down to three things.

    1. Scaling out the cluster. Going from two nodes with 16 GPUs to thousands or even tens of thousands requires retuning the communication topology, parallelism strategy and fault tolerance. The core test is whether scaling efficiency holds up.
    2. Long-running stability. Full-scale pretraining often runs for weeks or months. Any single-point failure during that time calls for fast recovery, which puts heavy demands on stability.
    3. Reproducibility. Only when cut-down validation, gradient checks and loss curves rest on reproducible engineering methods can full-scale training build on them with confidence.

    From public industry information, training adaptation between domestic GPUs and mainstream large models is extending toward thousand-card and ten-thousand-card clusters. Effective training rate and precision alignment are becoming key measures of adaptation quality. Industry analysts also forecast that, according to their public predictions, shipments of high-end AI chips in a certain regional market will keep growing at a fast pace, with local solutions steadily gaining share.

    In that context, three recommendations for engineering teams:

    • Make consistency between operator forward and backward implementations a priority, and treat gradient checks as a hard gate before a pipeline goes live;
    • Work systematically on memory and communication overhead through sharded parallelism, activation recomputation and communication/compute overlap, rather than fixating on single-card peak performance;
    • Track loss curves, validation loss, peak memory and abnormal interruptions as continuously observable metrics. Validate on small configurations first, then scale up gradually.

    7. Conclusion

    Validating the training pipeline of a trillion-parameter MoE multimodal model on a domestic GPU, under a cut-down configuration, turns “can it run?” from a slogan into an engineering milestone backed by loss curves and gradient checks. That gives the training side a reference point for reproducibility. The real watershed, though, lies between cut-down validation and full-scale pretraining, and the tests of cluster scaling and long-run stability still need to be cleared. For developers working on this, understanding these engineering details is more valuable than remembering the conclusion of any single vendor.