A Domestic GPU Completes Trillion-Parameter Multimodal Training Adaptation: 400 Steps on 16 Cards Across Two Nodes
This article examines a recent training adaptation in which a domestic GPU vendor ran an open-weight, natively multimodal large model on two servers with 16 flagship AI cards, completing 400 consecutive optimizer updates without numerical overflow or interruption. It explains why this was a link-level validation rather than full-scale pretraining, breaks down the four adaptation focus areas, the test configuration and loss and memory results, the verification that the vision branch received real gradient updates, and four engineering optimizations, then closes with practical advice for engineering teams reproducing a similar test.
1. Background: A Link Validation, Not Full-Scale Pretraining
A domestic GPU vendor recently announced that it had completed training adaptation for an open-weight, natively multimodal large model. The test environment consisted of two servers with 16 flagship AI training-and-inference cards in total. The run completed 400 consecutive optimizer updates with no numerical overflow and no abnormal interruption, and the vision branch produced real gradient updates.
The nature of this validation needs to be stated up front. It used a randomly initialized, trimmed configuration: the language backbone was cut to 13 layers with 16 experts (Top-8 routing), while the full 27-layer vision tower and the cross-modal projection modules were kept. This is not full-scale pretraining; it is a validation of functional correctness and numerical stability across the training pipeline. The distinction matters, because teams evaluating hardware and software stacks often read “it runs” as “it trains well,” when convergence quality, throughput efficiency, and long-run stability are three separate hurdles in between.
The model itself places heavy demands on the system: roughly 2.8 trillion parameters in total, support for up to 1 million tokens of context, a hybrid attention mechanism combining KDA and Gated DSA, a MoE architecture, and both visual understanding and tool-calling capability. Dynamic sparse retrieval, expert routing, and joint image-text training stack up, and the pressure ultimately lands in three places: GPU compute, memory management, and multi-card communication.
2. Four Focus Areas of the Adaptation
The work centered on four modules, with the goal of plugging them into a unified forward, backward, and parameter-update flow rather than maintaining separate paths for each.
- Attention computation: A hybrid attention mechanism means different layers may take different compute paths, so the operator layer has to guarantee numerical stability, especially accumulated error under long sequences.
- Dynamic routing: MoE expert routing is data-dependent, and load imbalance directly causes some cards to idle while others overflow.
- Vision encoding: The image encoder needs to share the same automatic differentiation graph as the language backbone.
- Cross-modal projection: The gradient scale of the image-text alignment layer differs substantially from the language side, making it a hotspot for numerical overflow.
The training setup kept a native flow in the spirit of NeMo AutoModel, using FSDP2 to distribute parameters, gradients, and optimizer states across different GPUs to reduce per-card memory pressure, with cross-card and cross-node traffic handled by a collective communication library (an MCCL-style implementation). This approach of leaving the upper-layer framework untouched and only swapping the backend is the mainstream way domestic hardware lowers migration cost.
The configuration logic is shown schematically below (pseudocode, structure only):
# Sharding strategy: three-way split of parameters / gradients / optimizer statesmodel = FSDP2(model,shard_params=True,prefetch_policy="aggressive", # Parameter prefetch to hide communication latency)for step in range(total_steps):out = model(batch) # Forward: language backbone + vision tower + projection layersloss = chunk_loss(out, labels) # Chunked loss to avoid materializing huge vocabulary logitsloss.backward() # Backward: unified gradient flow across modulesopt.step(); opt.zero_grad()
3. Test Configuration and How to Read the Results
Test parameters were a global batch size of 16, a sequence length of 1024, and an image-text dataset for joint training. All 16 training processes completed 400 consecutive optimizer updates.
- Training loss: average of 8.9365 over steps 21 to 70, down to 2.1802 over the final 50 steps
- Validation loss: 6.5297 at step 100, down to 4.6873 at step 400
- Peak sampled device memory: 44.80 GiB
What matters in these numbers is the trend, not the absolute values. Loss falling from close to 9 to around 2 on a randomly initialized trimmed model shows that the forward, backward, and parameter-update paths form a closed loop; the validation set dropping in step shows there was no “fake convergence” that only worked on the training set; and a peak memory figure holding steady at 44.80 GiB shows the sharding and chunking strategy left reasonable headroom at the 16-card scale.
The vision branch validation is more noteworthy. The technical team inspected the image embeddings of the vision tower, its first and last layers, and the cross-modal projection modules, and detected non-zero gradients and parameter updates in all of them. This rules out a common trap: the vision tower existing only as a data input path, with gradients truncated at the projection layer, so the model has effectively degenerated into a pure language model. The check is straightforward: aggregate gradient norms by module name and see whether any are all zeros.
for name, p in model.named_parameters():if "visual" in name or "projector" in name:assert p.grad is not None and p.grad.abs().sum() > 0, name
4. Four Engineering Optimizations
Beyond the base adaptation, four optimizations are complete, and chunked loss was actually enabled in this 400-step test:
- FSDP2 combined with expert parallelism: Resolves communication group partitioning when sharding dimensions and expert dimensions conflict.
- Parameter prefetch and gradient communication scheduling: Overlaps parameter loading and gradient reduction communication with computation to reduce bubbles.
- High-performance KDA operators: Operator-level optimization for the linear attention branch in the hybrid attention mechanism.
- Chunk Loss computation: Computes loss over blocks of the large vocabulary output instead of materializing the full logits tensor at once, a key technique for memory control in trillion-parameter models.
5. Practical Advice for Engineering Teams
To reproduce a similar validation in your own environment, proceed in this order: first use a trimmed configuration to confirm the pipeline is closed and gradients are non-zero; then gradually restore layers and expert counts while watching how the memory and communication shares change; only then move on to long-run stability and convergence testing. Do not judge by single-step throughput alone; also record the number of numerical overflow events, expert load skew, communication wait share, and peak memory. Adaptation maturity for domestic accelerator cards and their companion software stacks is improving quickly, but a small-scale link validation should still be the first step before migration, keeping risk at the lowest-cost stage.
