Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter Model: 16 Cards Across Two Nodes Run 400 Steps Stably
This article breaks down a recent training adaptation in which a domestic GPU, paired with a self-developed software stack, ran a nearly three-trillion-parameter multimodal model on 16 accelerators across two nodes for 400 consecutive optimizer updates. It clarifies the difference between training adaptation and base-model pretraining, explains the native FSDP2 training path and the bottlenecks of sharding, multimodal heterogeneity, and pipeline completeness, and examines why cross-node, multi-step stability testing matters. It closes with a three-layer engineering framework for moving from "trainable" to "ready out of the box," plus practical advice for developers.
Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter Model: A Technical Breakdown of 16 Cards Across Two Nodes Running 400 Steps
Recently, a domestic GPU vendor announced that, using its flagship training-and-inference accelerator card and a self-developed software stack, it quickly completed the training adaptation for a flagship model with a parameter scale of nearly three trillion. In the validation experiment, a total of 16 accelerator cards across two nodes carried out cross-node joint training. All training processes ran 400 consecutive optimizer updates, with the loss and gradient norm remaining finite throughout, and no numerical overflow or abnormal interruption occurred. This progress brings an easily confused fundamental question back into industry discussion: what does training adaptation actually mean, and is it the same thing as completing base-model pretraining on a domestic chip?
1. First, Clarify the Concepts: Training Adaptation Is Not Base-Model Pretraining
As compute and models iterate rapidly, statements such as “Day 0 adaptation for the latest open-source model” appear frequently, but there is an essential difference between a successful adaptation and a model completing pretraining on that chip.
- Training adaptation: The goal is to make the existing model architecture, operator combinations, and parallelism strategies run correctly on new hardware and a new software stack, and to complete a convergence validation over a limited number of steps. It verifies that the model is “runnable, convergent, and able to continue optimizing.”
- Base-model pretraining: This requires months of investment in massive data and compute, and involves a complete system covering data mixtures, learning-rate scheduling, stability engineering, fault recovery, and more. The original compute source and training details are usually held by the model provider.
There is already a reference comparison in the industry: a technical report for a foundation model validated inference operator schemes for two different accelerator architectures side by side, but the report did not officially disclose the original compute source for base-model pretraining. This shows that “side-by-side validation” mostly points to the feasibility of inference-side operators and parallelism schemes, rather than the ownership of the main training compute. Therefore, the correct interpretation of this training adaptation result is that the boundary of the software stack and hardware’s ability to take on frontier complex model training tasks has been further broadened, not that it replaces the model provider’s pretraining work.
2. Technical Core: Native FSDP2 Multimodal Training Path
The key to this adaptation lies in building a native FSDP2 (Fully Sharded Data Parallel, second version) multimodal training path, connecting the complete chain from model loading and shard scheduling to gradient synchronization. To understand its value, you first need to see the three types of parallelism bottlenecks in large-model training.
1. Memory and Sharding: Separating Parameters, Gradients, and Optimizer States
Under mixed-precision training, memory usage is far more than the parameters themselves; it also includes gradients and optimizer states (such as first-order and second-order momentum). The idea of FSDP is to shard these states along the data-parallel dimension, so each rank holds only part of the state and aggregates parameters on demand during the forward and backward phases. Compared with the first-version implementation, FSDP2 places more emphasis on modularity in sharding granularity and communication organization, making it easier to combine with the heterogeneous structures that coexist in multimodal models, such as attention, vision encoders, and projection layers.
The illustrative configuration logic is as follows (conceptual only, not a specific product interface):
# Pseudocode: illustrating the abstract form of sharding and parallelism configurationconfig = {"sharding_strategy": "full_shard", # full sharding of parameters/gradients/optimizer states"recompute": ["vision_encoder", "llm_decoder"], # recomputation for memory-sensitive modules"mixed_precision": "bf16", # compute in bf16, keep critical reductions in fp32"comm_backend": "nccl_like", # collective communication backend (neutral wording)}
2. The Additional Complexity Introduced by Multimodality
The difficulty of multimodal models lies in “heterogeneous coexistence”: the vision side is usually a convolutional or windowed-attention structure, while the language side is a long-sequence decoding structure, and the two have different requirements for memory peaks, operator implementations, and communication patterns. Adaptation needs to handle three types of problems:
- Operator coverage: Unconventional operators in the vision encoder and dynamic-shape inputs need to be filled in or replaced one by one;
- Shape and shard alignment: Changes in image resolution and sequence length cause shard boundaries to shift, so the splitting strategy must remain stable;
- Numerical consistency: The precision strategies of different modules must be planned uniformly to avoid local overflow contaminating global gradients.
3. Chain Completeness: A Closed Loop from Loading to Synchronization
A “complete training chain” means that all four stages must be verifiable: model loading (sharded reading and metadata parsing), shard scheduling (the timing of parameter aggregation and release in the forward and backward passes), gradient synchronization (cross-node reduction and bucketing strategy), and optimizer updates (parameter write-back under sharded states). If any stage contains an implicit assumption, it will be exposed as a numerical anomaly or communication stall once the number of steps grows.
Engineering-wise, the following monitoring and assertion approach can be used as a reference:
import mathdef check_step(step, loss, grad_norm):assert math.isfinite(loss), f"step {step}: loss not finite"assert math.isfinite(grad_norm), f"step {step}: grad_norm not finite"# record the baseline to make it easier to trace abnormal spikeslog_metrics({"step": step, "loss": loss, "grad_norm": grad_norm})
Combined with general cloud capabilities such as logging services and monitoring alerts, the loss curve, gradient norm, per-card memory level, and cross-node communication time can be collected together to form a traceable validation report.
3. Stability Validation: Why “400 Consecutive Steps”
Running a single step and running stably over many steps are problems of two different orders of magnitude. Choosing 16 cards across two nodes with 400 consecutive optimizer updates as the validation scenario has clear engineering significance.
- Cross-node is the watershed: Single-node multi-card setups are mainly constrained by intra-node interconnects, while cross-node setups introduce variables such as network topology, collective communication ordering, timeouts, and retries, and the probability of problems surfacing rises significantly.
- Step count determines the exposure surface: Mechanisms such as learning-rate warmup, gradient clipping, and loss scaling usually enter a sensitive range only after dozens of steps; problems such as numerical overflow, memory fragmentation accumulation, and communication handle leaks also tend to appear in the middle-to-late phase.
- The observables are sufficient: Monitoring throughout whether the loss and gradient norm remain finite is a basic means of judging whether training is “truly converging” rather than “fake running.” Both staying continuously finite with no abnormal spikes indicates that the numerical stack and the parallelism stack are both in a healthy state.
4. From “Able to Train” to “Ready to Train Out of the Box”: Three Layers of Engineering Capability
A single successful adaptation is only the starting point; sustainably taking on frontier model training tasks requires the accumulation of three layers of capability.
- Operator layer: Build an operator coverage checklist and an automated comparison mechanism, provide equivalent replacements or fallback paths for missing operators, and run regressions against a unified precision baseline.
- Parallelism layer: Turn data parallelism, tensor parallelism, pipeline parallelism, and sharding strategies into composable templates that automatically recommend configurations for different parameter scales and modality combinations, reducing manual trial and error.
- Toolchain layer: Provide one-click environment setup, checkpoint resume, faulty-node isolation, and automatic rollback, turning “expert tuning” into “usable by default.”
On the direction of “domestic chips training domestic models,” the industry already has several reference practices: completing the full training of a 200-billion-parameter scientific foundation model from scratch, supporting full-stack native training of a five-dimensional world model, and completing the full-process training of an embodied-intelligence brain model together with research institutions. These cases together show that the path for domestic full-function GPUs to take on complex training tasks is moving from single-point validation toward systematic capability, and is gradually advancing toward the trillion-parameter scale.
5. Practical Advice for Developers
- Do small-scale convergence validation first: Use dozens of steps on a small data subset to confirm that the loss and gradient norm are finite before scaling up, avoiding mid-run failures in long-cycle tasks.
- Move observability forward: Build numerical assertions and metric reporting into the training script, which significantly reduces the cost of problem localization.
- Tune sharding strategy and recomputation together: When memory is tight, first enable recomputation for memory-sensitive modules, then adjust sharding granularity, rather than blindly lowering precision.
- Pay attention to cross-node communication: Timeouts, retries, and topology-affinity configuration for cross-machine training often affect overall stability more than single-card operator performance.
Overall, getting the training adaptation of a nearly trillion-parameter model to run marks improved maturity of the domestic compute software stack in operator coverage, sharded parallelism, and stability engineering. For developers, what is truly worth attention is not the “point in time” of a particular adaptation, but whether the complete capability chain—from operator adaptation and multi-card coordination to an automated toolchain—can be reused sustainably. This is precisely the underlying meaning of “ready to train out of the box.”
