A Domestic GPU Completes Trillion-Parameter Multimodal Training Adaptation: 16 Cards Across 2 Nodes Run 400 Steps Stably
This article explains how a domestic GPU vendor adapted an open-weight, native multimodal model of roughly 2.8 trillion parameters to run on 16 training cards across two servers. It covers why trillion-scale multimodal training is difficult (compute, memory, and communication pressure), the adaptation architecture built on native auto-parallel flow, FSDP2 sharding, and a collective communication library, the test configuration and results (400 uninterrupted steps, loss dropping from 8.9365 to 2.1802, 44.80 GiB peak memory), how to verify the vision branch is truly training, four key optimizations, and practical takeaways for teams training at this scale on diverse hardware. The work is a link-level correctness and stability validation, not a full pretraining run.
1. Background: A Link Validation, Not Full Pretraining
A domestic GPU vendor recently announced that it had completed training adaptation for an open-weight, native multimodal large model. The model has roughly 2.8 trillion parameters, supports a context length of up to one million tokens, and uses a hybrid attention mechanism together with a Mixture-of-Experts (MoE) architecture. It also has visual understanding and tool-calling capabilities. The adaptation team ran 400 consecutive training steps in a two-node, 16-card environment with no numerical overflow and no abnormal interruptions, and the vision branch produced real gradient updates.
The first thing to be clear about is the positioning of this work: it is a functional correctness and stability validation of the training pipeline, not full-scale pretraining of the complete model. The test used a randomly initialized, trimmed configuration (for example, keeping only 13 layers of the language backbone, 16 routed experts, and Top-8 routing, while retaining the full 27-layer vision tower and the cross-modal projection module). As a result, the loss values have no reference value at the model-capability level. The real value lies in proving that “this pipeline runs and runs stably on domestic hardware.”
2. Why Trillion-Scale Multimodal Models Are Hard to Train: Three Pressures Combined
The training difficulty of native multimodal models comes from the overlap of three dimensions:
- Compute pressure: Joint image-text training means each step contains both large matrix multiplications in the language branch and convolution/attention computation in the vision encoder, so compute utilization is easily unbalanced.
- Memory pressure: The three memory costs of parameters, gradients, and optimizer states far exceed single-card capacity at trillion-parameter scale; activations grow with sequence length, and million-level context makes this even worse.
- Communication pressure: Dynamic sparse retrieval and expert routing introduce irregular All-to-All communication, and cross-node bandwidth becomes the throughput bottleneck.
Therefore, the core of the adaptation work is not “getting the model to run,” but wiring four module types—attention computation, dynamic routing, vision encoding, and cross-modal projection—into the same forward, backward, and parameter-update flow.
3. Solution Skeleton: Native Flow + Sharding + Communication Library
The adaptation retains the native automatic-parallel training flow common in the industry, using Fully Sharded Data Parallel (FSDP2) to distribute model parameters, gradients, and optimizer states across different GPUs, significantly lowering peak per-card memory. Cross-card and cross-node communication is handled by the vendor’s in-house collective communication library.
Its layered structure can be sketched as follows:
┌─────────────────────────────────────────┐│ Orchestration layer: native auto- ││ parallel flow (unmodified) │├─────────────────────────────────────────┤│ Parallel strategy layer: FSDP2 ││ parameter/gradient/optimizer sharding ││ + expert parallelism coordination │├─────────────────────────────────────────┤│ Operator & scheduling layer: high- ││ performance attention operators, ││ parameter prefetch, gradient comm ││ overlap, chunked loss computation │├─────────────────────────────────────────┤│ Communication layer: collective ││ communication library (cross-card / ││ cross-node) │├─────────────────────────────────────────┤│ Hardware layer: training-inference ││ compute cards × 16 │└─────────────────────────────────────────┘
This “keep the upper layers unchanged, fill in the lower layers” strategy is the mainstream approach for adapting the domestic compute ecosystem: reuse the native semantics of upper-layer frameworks as much as possible, and confine the differences to the operator, communication, and scheduling layers.
4. Test Configuration and Result Interpretation
The test environment was two servers with a total of 16 training-inference compute cards. The data was an image-text question-answering dataset, with a global batch size of 16 and a sequence length of 1024.
Key results:
- All 16 training processes completed 400 consecutive optimizer updates with no interruption;
- Training loss dropped from an average of 8.9365 over steps 21–70 to 2.1802 over the last 50 steps;
- Validation loss dropped from 6.5297 at step 100 to 4.6873 at step 400;
- Peak sampled device memory was 44.80 GiB.
There are three interpretation points. First, 400 consecutive steps without anomalies shows that numerical stability passed and no overflow occurred under mixed precision. Second, training and validation loss dropping together shows that the forward/backward/update loop is correct, rather than a “false convergence.” Third, the 44.80 GiB memory peak shows that the sharding strategy is effective, compressing trillion-parameter model training into a range a single card can handle.
5. The Most Easily Overlooked Link: Is the Vision Branch Really Training
A common “silent failure” in multimodal training is that the vision encoder is treated only as a data input and its parameters are not actually updated. The way to verify this is to check gradients and parameter update amounts. In this test, the image embedding layer and the first and last layers of the vision tower, as well as the cross-modal projection module, all produced non-zero gradients and parameter updates, proving that the vision encoding truly participated in optimization.
In engineering practice, it is recommended to make such checks a fixed part of the pipeline:
# Pseudocode: verify each branch truly participates in optimization after several stepsfor name, p in model.named_parameters():if p.grad is None:print(f"[WARN] {name} has no gradient")elif p.grad.norm() == 0:print(f"[WARN] {name} gradient is zero")if update_norm[name] == 0:print(f"[WARN] {name} parameters not updated")
6. Four Key Optimizations
Beyond the basic adaptation, four optimizations are worth noting:
- FSDP2 and expert parallelism coordination: resolves the semantic conflict between sharding and expert routing, avoiding expert parameters being sharded twice or missed in updates;
- Parameter prefetch and gradient communication scheduling: overlaps parameter loading with computation and gradient reduction with backward computation to hide communication latency;
- High-performance attention operators: custom kernels for the hybrid attention mechanism reduce the materialization of intermediate tensors;
- Chunked loss computation (Chunk Loss): computes the loss in chunks under a large vocabulary, avoiding a one-time generation of an oversized logits tensor that blows up memory. This 400-step test already enabled this item; the other three, once adapted, can support larger-scale configurations.
7. Practical Takeaways for Developers
- Do small-scale link validation first, then talk about scaling up: trimming layers, fixing a small batch, and using short sequences is the lowest-cost “smoke test”;
- Make stability metrics measurable: consecutive steps, number of numerical overflows, memory peaks, and per-branch gradient norms should all go into monitoring, alerting, and logging services;
- Communication-computation overlap is key to throughput: in cross-node scenarios, the scheduling quality of All-to-All and parameter prefetch often determines real efficiency more than peak compute;
- The sustainability of ecosystem adaptation lies in “not changing the native flow,” which keeps migration costs lowest when upper-layer frameworks upgrade.
In summary, the significance of this adaptation is not producing a nice-looking loss, but providing a reusable methodology: on domestic compute, use a trimmed configuration to validate the link, use gradient checks to validate multimodal participation, and use chunking and overlap optimizations to trade for stability and throughput. For teams that need to train trillion-scale multimodal models on diverse compute platforms, this process is more valuable than any single-point performance number.
