Training Adaptation for a Nearly 3T-Parameter Multimodal Model on Domestic GPUs
This article clarifies the difference between Day 0 inference adaptation and full training adaptation, then examines a practical case in which a domestic GPU vendor adapted a nearly 3-trillion-parameter multimodal model for training using a native FSDP2 pipeline. It covers the main challenges of trillion-parameter training, including memory sharding, MoE communication, numerical stability, and software-stack maturity; describes the technical path from lazy initialization to gradient synchronization and mixed-precision control; and interprets a two-node, 16-card, 400-step validation run. The article also outlines the broader evolution from inference-capable to training-capable and ultimately out-of-the-box training on domestic compute.
From “Day 0 Adaptation” to “Training Adaptation”: Clarifying Two Easily Confused Concepts
In the ecosystem that connects large models with compute chips, “adaptation” is a frequently used term that is often misunderstood. When industry news reports that “a certain chip achieved Day 0 adaptation for a newly released open-source model,” it usually refers to adaptation at the inference level: on the day the model is released, the chip vendor completes compatibility and tuning for inference operators so that the model can load its weights and produce outputs on the hardware. This work mainly tests operator coverage, inference-framework compatibility, and support for quantization strategies.
“Training adaptation” is a completely different technical problem. It requires the hardware platform not only to execute forward computation, but also to fully support backpropagation, gradient synchronization, optimizer state updates, mixed-precision numerical control, and the entire training chain. In other words, inference adaptation verifies whether “the model can run,” while training adaptation verifies whether “the model can be reliably optimized on this hardware.”
Recently, a domestic GPU vendor completed training adaptation for a flagship multimodal model with nearly 3 trillion parameters released by an open-source community, using its flagship training-and-inference integrated AI accelerator card and in-house software stack. This case provides a useful sample for understanding what training adaptation actually involves.
It is important to emphasize that completing training adaptation for a model does not mean the model was pretrained on that chip. In industry practice, some model technical reports validate multiple hardware paths side by side, but such comparisons are often validations of inference operators or specific parallel schemes; they do not necessarily represent the original pretraining compute source of the base model. When interpreting such information, readers should distinguish four progressive levels: “operator validation,” “inference adaptation,” “training adaptation,” and “pretraining execution.”
Core Challenges of Training Adaptation: Why Trillion-Parameter Models Are a Litmus Test
Models with nearly 3 trillion parameters typically use a mixture-of-experts (MoE) architecture and integrate multimodal capabilities, which creates multiple challenges for the training system:
1. Extreme asymmetry between memory and parameters
The memory capacity of a single GPU is far from sufficient to hold the full model parameters, gradients, and optimizer states. For Adam-like optimizers, each parameter usually requires additional first-moment and second-moment states. Under mixed-precision training, memory usage can reach 12 to 16 times the size of the parameters themselves. Therefore, strategies such as fully sharded data parallel (FSDP) are required to shard parameters, gradients, and optimizer states across all devices and aggregate them on demand during computation.
2. Communication overhead and cross-node coordination
Expert parallelism (EP) in MoE architectures introduces All-to-All communication patterns. When combined with data parallelism and tensor parallelism, the communication topology becomes highly complex. Although small-scale cross-node configurations such as two nodes with 16 cards use few nodes, inter-node bandwidth is much lower than intra-node interconnect. The communication efficiency of gradient synchronization and expert routing directly determines effective training throughput.
3. Numerical stability
During long-step training, loss and gradient norms must remain finite throughout. Any numerical overflow (NaN/Inf) can interrupt training or even require rolling back to a checkpoint. This places strict requirements on the chip’s mixed-precision implementation, the numerical behavior of normalization operators, and precision preservation during communication.
4. Engineering maturity of the software stack
From model loading and weight sharding to scheduling strategies and fault-tolerant recovery, training adaptation tests the complete engineering capability of the software stack, not just the peak performance of individual operators.
Technical Path: A Native FSDP2 Multimodal Training Pipeline
The core of this practice was the construction of a native FSDP2 multimodal training path, connecting the full chain from model loading and sharding scheduling to gradient synchronization. Its key technical components can be broken down as follows:
1. Model loading and lazy initialization
For trillion-level parameters, the traditional approach of “fully load first, then shard” would immediately exhaust single-card memory. FSDP2 uses a lazy initialization strategy: the model structure is built on a meta device, and then materialized layer by layer onto the target devices according to the sharding plan. This avoids memory peaks at the mechanism level.
2. Sharding scheduling strategy
A multimodal model contains heterogeneous modules such as a vision encoder, a language backbone, and projection layers. These modules differ significantly in parameter count and compute density. A reasonable sharding strategy needs to define sharding plans at module granularity, distribute parameters and computation as evenly as possible across 16 training processes, and coordinate the timing of communication aggregation: complete parameter aggregation (all-gather) before forward computation, and release shards and aggregate gradients (reduce-scatter) after backpropagation.
An illustrative training main loop structure is as follows:
for step in range(total_steps):batch = next(dataloader)# Forward: FSDP aggregates sharded parameters on demandloss = model(batch)# Backward: gradients are reduced by shardloss.backward()# Gradient clipping and numerical health checkgrad_norm = clip_grad_norm_(model.parameters(), max_norm=1.0)assert torch.isfinite(loss) and torch.isfinite(grad_norm)optimizer.step()optimizer.zero_grad()
3. Gradient synchronization and mixed-precision control
Cross-node gradient synchronization must balance communication efficiency and numerical precision: gradients are usually communicated in low-precision formats to reduce bandwidth pressure, while optimizer state updates are completed at higher precision. At the same time, calculating the global gradient norm involves cross-process reduction, which must be designed together with communication scheduling to avoid becoming a pipeline bottleneck.
4. Numerical health monitoring
In practice, the training process monitors the loss value and gradient norm at every step in real time. Once overflow is detected, it immediately triggers a mechanism to skip the update or roll back. This is a safety fuse for stable long-step training.
Validation Results and Interpretation: What 400 Consecutive Steps on Two Nodes and 16 Cards Means
In the experiment, two nodes with a total of 16 training-and-inference integrated cards were used for a cross-node joint training test. All 16 training processes completed 400 consecutive optimizer updates, and both loss and gradient norms remained finite throughout, with no numerical overflow or abnormal interruption.
This result should be interpreted objectively:
- It validates the correctness and stability of the pipeline: 400 consecutive uninterrupted updates show that forward/backward computation, communication, and optimizer state management behave consistently in a multi-process, cross-node environment. The collaboration between the software stack and hardware has reached an engineering-usable level.
- It is an entry ticket for training adaptation, not the finish line: from 400 steps to the tens of thousands or even hundreds of thousands of steps required for full pretraining, there are many more engineering topics in between, including long-duration fault tolerance, checkpoint management, elastic scaling, and cluster-level failure recovery.
- It demonstrates the feasibility of the architecture path: running the native FSDP2 path on domestic GPUs means that technical routes based on mainstream open-source training frameworks can be reused for larger-scale scenarios and more models.
From a Single Case to a System: The Evolution Path of Domestic Compute Training Capability
The value of training adaptation capability is ultimately reflected in large-scale real-world deployment. According to public information, the domestic GPU vendor has delivered multiple achievements in “domestic chips training domestic models”: these include completing full from-scratch training of a 200-billion-parameter scientific foundation model, supporting full-stack native training of a world model, and completing full-process training of an embodied intelligence brain model. The vendor is also working with industry partners to advance training of trillion-level parameter models.
This evolution path offers broadly useful lessons for the industry and can be summarized as three stages:
- Able to infer: complete operator adaptation and inference deployment; this is the basic threshold.
- Able to train: connect parallel training pipelines such as FSDP and pass long-step stability validation.
- Out-of-the-box training: build a complete system covering operator adaptation, multi-card collaboration, and automated toolchains, bringing the training threshold for frontier models on domestic hardware close to out-of-the-box usability.
For teams that want to conduct large-model training on domestic compute, the following recommendations are worth considering: prioritize mature software stacks that support mainstream parallel strategies such as FSDP2; before formal training, use a small-scale cluster to perform hundreds of steps of numerical health validation; establish comprehensive monitoring for loss, gradient norms, and communication time; and build reproducible, observable training environments through general cloud capabilities such as container platforms, logging services, and monitoring alerts.
Conclusion
Completing training adaptation and passing continuous stability validation for a trillion-parameter multimodal model on domestic GPUs marks a shift in domestic compute from “inference-capable” to “training-trustworthy.” Training adaptation is not a one-time compatibility task; it is a systems engineering effort spanning operators, parallel strategies, communication scheduling, and engineering toolchains. As more models and larger-scale training tasks are deployed, the progress from “able to train” to “out-of-the-box training” deserves continued attention across the industry.
