Training Pipeline Verification of a Trillion-Parameter Multimodal Model on Domestic GPUs: Practices and Challenges
This article explores the engineering practices of verifying the training pipeline of a 2.8 trillion-parameter MoE multimodal model on domestic GPUs. It covers the architectural challenges of large-scale sparse multimodal models, the design of trimmed verification configurations, key engineering implementations across the distributed training stack, and a rational framework for evaluating such verification results.
Introduction: The “Last Mile” of Domestic Computing Power and Large Model Training
In recent years, the adaptation pace between domestic GPUs and large model training has significantly accelerated. From multimodal pretraining on thousand-card clusters to extended explorations on ten-thousand-card scales, an increasing number of training tasks are achieving accuracy alignment on local computing power. However, a massive engineering gap still exists between “being able to run” and “running correctly and stably.” A genuinely valuable adaptation verification must not only complete forward computation but also establish a complete closed loop encompassing backward gradients, parameter updates, cross-card communication, and memory management, while using reproducible loss curves to prove that the training behavior is correct.
A recent representative engineering practice involved a laboratory of a domestic GPU vendor completing training pipeline adaptation on a native multimodal model with a 2.8 trillion-parameter MoE architecture. They completed 400 continuous training verification steps in a dual-node 16-card configuration, with no numerical overflow or abnormal interruptions. This article uses such verifications as an entry point to systematically outline the engineering methods and evaluation focal points for adapting domestic GPUs to ultra-large-scale sparse multimodal models.
1. Why It Is a Tough Nut to Crack: Triple Challenges from Model Architecture
Trillion-parameter-level MoE multimodal models impose far greater demands on training hardware than dense models, primarily in three aspects.
First, irregular computation caused by dynamic sparse attention. In mixed attention mechanisms, attention lengths and computation graphs change dynamically with the input. This requires underlying operators to support both fixed-length and variable-length paths for forward and gradient implementations. Any missing or incorrect gradient implementation will lead to silent training failures—where the loss appears to drop, but gradients are actually being truncated erroneously.
Second, communication and load balancing issues triggered by expert routing. In MoE architectures, tokens are routed to different experts, and cross-card All-to-All communication volume surges with the degree of expert parallelism. Uneven routing can also cause some devices to be computationally overloaded while others idle, directly dragging down the cluster’s effective computing power utilization. This requires collective communication libraries to maintain stable bandwidth and low tail latency under large-scale All-to-All patterns.
Third, the extreme pressure of memory management. With the language backbone, vision tower, cross-modal projection modules, and optimizer states stacked together, single-card memory can easily hit its ceiling. The sharding strategy for parameters, gradients, and optimizer states, along with the trade-offs of activation recomputation, becomes the key to fitting the model into limited memory.
2. Verification Experiment Design: Trimmed Configuration and Evaluation Criteria
It should be viewed objectively that such verifications typically adopt a trimmed configuration rather than full-scale pretraining. Taking this practice as an example: the language backbone was truncated to 13 layers, retaining 16 routing experts (Top-8 active), while completely retaining the 27-layer vision tower and cross-modal projection modules. Training was randomly initialized on a medical image-text Q&A dataset. The rationality of this design lies in:
- Maintaining structural integrity: Although the number of layers and experts were trimmed, all key structures—mixed attention, expert routing, visual encoding, and cross-modal alignment—remain, ensuring that every type of operator in the training pipeline is genuinely triggered.
- Clear verification goals: The purpose of such verification is to test “the correctness of training functionality and the reasonableness of loss trends,” rather than to produce a usable model. Therefore, random initialization paired with a smaller dataset is standard practice.
- Controllable cost: The dual-node 16-card configuration allows the verification to iterate quickly under limited resources, making it easier to locate issues.
However, it must be emphasized: pipeline verification under a trimmed configuration does not equate to full-scale pretraining. The challenges faced by the two in terms of communication topology, memory watermarks, and numerical stability are not on the same order of magnitude; full-scale pretraining requires separate execution.
3. Engineering Implementation of the Distributed Training Stack
From an engineering perspective, the core of such adaptation lies not in the peak computing power of a single card, but in the systematic establishment of the distributed training pipeline. Key stages include:
Operator Layer: Completing the forward and gradient implementations for mixed attention and MoE operators. This is the foundation of adaptation work—backward propagation for sparse attention, gradient return for expert routing, and load balancing loss calculation for the gating network all need to be re-implemented on the domestic GPU’s computing architecture and pass numerical precision verification.
Parallel Strategy Layer: Adopting Fully Sharded Data Parallel (FSDP-like solutions) to shard parameters, gradients, and optimizer states. This makes single-card memory consumption roughly inversely proportional to the cluster scale, thereby accommodating ultra-large models within limited memory.
Communication Layer: Cross-node communication is handled by a companion collective communication library, focusing on ensuring the stability of All-to-All communication in MoE scenarios, as well as the correctness of gradient reduction and parameter shard synchronization.
Observability and Diagnosis: 400 continuous steps without overflow or interruption is an important signal in itself, but a more rigorous approach involves recording the loss curve, gradient norms, and memory peaks to form an auditable training record. In this practice, the training loss converged from an early average of 8.9365 to a late-stage average of 2.1802, validation loss dropped from 6.5297 to 4.6873, peak memory was 44.80GiB, and the vision branch parameters were confirmed to have participated in the update—this set of data collectively forms the chain of evidence for “correct training behavior.”
4. How to Rationally View Such Verification Results
In industry disclosures, cases that publicly announce continuous training steps, loss curves, and gradient check details for trillion-parameter-level MoE multimodal models are rare. Most vendors only publish conclusive statements like “adaptation completed” or “accuracy aligned,” whereas disclosing calculable intermediate metrics is more conducive to establishing a unified evaluation standard within the industry. For developers and enterprise users evaluating the training capabilities of domestic computing power, it is recommended to focus on the following dimensions:
- Whether it covers the complete pipeline of forward, backward, and parameter updates;
- Whether there is evidence of continuous training with sufficient steps and loss convergence;
- Whether the degree of configuration trimming is explained, to avoid misinterpreting pipeline verification as full-scale pretraining;
- Whether engineering metrics like memory and communication are disclosed rather than just providing conclusions.
5. Trends and Outlook
According to industry research institutions, the shipment of high-end AI chips in the Chinese market is expected to maintain rapid growth in the coming years, and the share of local solutions is poised to dominate. Against this backdrop, the co-optimization of large model training frameworks and domestic computing power will become the norm: the upper layer requires more flexible parallel strategy orchestration and automatic memory planning, while the lower layer needs more mature collective communication libraries and operator ecosystems. For teams looking to conduct training on domestic computing power, the general infrastructure capabilities provided by mature cloud platforms—such as container platforms, object storage, and monitoring alerts—can significantly lower the threshold for cluster setup and training operations, allowing teams to focus their energy on the models and data themselves.
Conclusion
From “adapting a model” to “unlocking the training pipeline for a class of architectures,” domestic GPUs are crossing the critical threshold from usable to effective. Although continuous training verification under a trimmed configuration is only the first step, the disclosed evidence of loss convergence, memory control, and gradient integrity lays a credible engineering foundation for subsequent full-scale pretraining, and provides a more reference-worthy paradigm for the industry to evaluate domestic computing power.
