A Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter Model: 16 Cards Across Two Nodes Run 400 Steps Stably
This article examines a recent training adaptation in which a domestic full-function GPU vendor ran a nearly 3-trillion-parameter flagship model across 16 accelerators in two nodes, completing 400 consecutive optimizer updates with finite loss and gradient norms. It clarifies the difference between training adaptation and base-model pre-training, explains the native FSDP2 training path covering sharded loading, shard scheduling, and gradient synchronization, discusses why 400 consecutive steps matter as an acceptance criterion, and outlines the engineering pieces and a practical checklist needed to move from "it can train" to "ready to train out of the box."
1. Background: A Training Adaptation, Not a Pre-Training Reproduction
A domestic full-function GPU vendor recently announced that, using its flagship training-and-inference accelerator card and its in-house software stack, it quickly completed the training adaptation of a flagship large model with nearly 3 trillion parameters. The test used 16 accelerator cards across two nodes for cross-node joint training. All 16 training processes completed 400 consecutive optimizer updates, with loss values and gradient norms remaining finite throughout, and no numerical overflow or abnormal interruption occurred.
One common misunderstanding must be cleared up first: a successful training adaptation does not mean the model completed pre-training on this chip.
The industry often conflates two different things. One is “Day 0 adaptation of the latest open-source model,” meaning inference or fine-tuning runs shortly after the model weights are released. The other is the “compute source for base-model pre-training,” meaning the original compute used to learn parameters from scratch on massive corpora. The former reflects engineering integration capability; the latter reflects a combination of training scale and data engineering capability. Some technical reports in the industry present results using parallel validation across multiple hardware routes, but parallel validation usually points to the feasibility of inference operators or parallel strategies and does not amount to a public statement about which compute was used for base-model pre-training.
For developers, then, the more useful question is not “who trained whom,” but: what does a domestic software stack still need to fill in before it can take on the training workloads of frontier, complex models?
2. Technical Core: What the Native FSDP2 Training Path Enables
The vendor’s key disclosure is that it built a native FSDP2 (Fully Sharded Data Parallel, second generation) multimodal training path, connecting the full chain from model loading and shard scheduling to gradient synchronization. These three stages correspond exactly to the three places where large-scale training is most likely to break.
2.1 Model Loading: From “Does Not Fit on One Card” to “Parameters Streamed into Place”
A nearly trillion-parameter model needs several terabytes of GPU memory and host memory working together for the parameters alone. Common approaches include:
- Sharded loading, which avoids materializing all parameters at once in a single process;
- Separating metadata from real tensors, building the computation graph and parallel topology first and then fetching shards on demand;
- Combining mixed precision with parameter offloading, pushing inactive shards down to host memory or the storage layer.
Illustrative pseudocode:
# Pseudocode: sharded loading + parallel topology constructionmesh = build_device_mesh(num_nodes=2, gpus_per_node=8) # 2 nodes, 16 cardsmodel = build_model_with_meta(config) # metadata onlymodel = shard_load(model, path=ckpt_dir, mesh=mesh) # stream shards into placemodel = apply_fsdp2(model, mesh=mesh, mixed_precision="bf16")
2.2 Shard Scheduling: Compute-Communication Overlap in FSDP2
The core idea of FSDP2 is to fully shard parameters, gradients, and optimizer states within the data-parallel group, prefetching and releasing them layer by layer during the forward and backward passes. Four points matter in engineering:
- Prefetch depth: too shallow exposes communication; too deep raises the peak memory footprint;
- Bucketing strategy: large buckets add latency, while small buckets inflate the number of communication calls;
- Balancing recomputation and memory: activation recomputation can significantly reduce peak memory but adds roughly 30% in repeated forward computation;
- Multimodal load imbalance: token lengths differ widely across image-text and video inputs, so sequence packing and load balancing are needed to avoid a straggler rank.
2.3 Gradient Synchronization: The Gatekeeper of Numerical Stability
That 400 consecutive updates finished with finite loss and gradient norms throughout shows the numerical path is convergent and controllable. Recommended practices:
- When using BF16/FP16 mixed precision, keep FP32 master weights and FP32 reduction accumulation;
- Enable gradient clipping (global norm clipping), with the threshold tuned jointly with the learning rate and batch size;
- Keep optimizer states (first- and second-order momentum) in high precision to avoid long-range drift;
- Set up NaN/Inf detection with automatic step skipping and automatic rollback.
# Pseudocode: stability guardrailsfor step, batch in enumerate(loader):loss = model(batch).lossif not torch.isfinite(loss):skip_step_and_log(step); continueloss.backward()grad_norm = clip_grad_norm_(model.parameters(), max_norm=1.0)optimizer.step(); optimizer.zero_grad()assert torch.isfinite(grad_norm), f"Abnormal gradient norm @step {step}"
3. Why “400 Consecutive Stable Steps” Is a Meaningful Acceptance Criterion
A short run and a long run are two entirely different capabilities. 400 consecutive optimizer updates are used as a validation metric because they cover several problems that only surface during long runs:
- Memory fragmentation accumulation: short tests rarely trigger allocator fragmentation; OOM appears only over longer runs;
- Optimizer state convergence: momentum terms fill in gradually, and only then do changes in numerical range become visible;
- Communication link fatigue: stability of cross-node links under sustained, high-frequency AllReduce/ReduceScatter;
- Checkpointing and fault tolerance: long runs must verify the consistency of saving and restoring;
- Data pipeline jitter: throughput fluctuation of the dataloader with long and variable-length samples.
Recommended acceptance matrix:
| Dimension | Observed metric | Criterion |
|---|---|---|
| Numerical | loss, grad_norm | Finite throughout, no spikes |
| Throughput | tokens/s, MFU | Fluctuation within an acceptable range |
| Memory | peak / fragmentation rate | No monotonic upward trend |
| Fault tolerance | checkpoint resume consistency | loss deviation within noise range |
| Scaling | 8-card to 16-card efficiency | Communication overhead stays controllable |
4. From “It Can Train” to “Ready to Train Out of the Box”: Remaining Engineering Pieces
A single successful run is only the starting point. Delivering usable training capability typically requires four kinds of general-purpose infrastructure:
- Container platform and scheduling: topology-aware scheduling that keeps the same parallel group within a high-bandwidth domain;
- Object storage and data loading: sample sharding, control of random-read amplification, and cache warm-up;
- Monitoring, alerting, and logging services: metrics aggregated per rank, with anomalies automatically traced to the slow node;
- Automated toolchain: operator coverage, graph compilation, automatic parallel-strategy search, and one-click launch and rollback.
For a domestic full-function GPU to genuinely take on frontier training, continued investment is also needed in three areas: operator coverage and the efficiency of integrating custom operators, the stability of the collective communication library across multiple cards and nodes, and low-intrusion adaptation at the framework layer (ideally without changing user training scripts).
5. A Practical Checklist for Developers
- Start with a small-scale “trainability validation”: scale up step by step from a single card to 8 cards in one node to 16 cards across two nodes, running several hundred steps at each level;
- Lock in numerical guardrails: finiteness checks, gradient clipping, automatic step skipping, and alerts;
- Establish a performance baseline: record tokens/s, communication overhead, and peak memory as a regression reference;
- Close the fault-tolerance loop: periodically save sharded checkpoints and rehearse recovery;
- Pay attention to the data side: variable-length sequence packing, load balancing, and cache hit rate;
- Communicate conclusions externally with a unified acceptance matrix, clearly separating “adaptation runs” from “pre-training completed.”
6. Conclusion
The value of this training adaptation lies not in creating a narrative that “a certain model was trained by a certain chip,” but in validating a complete chain: sharded loading, parallel scheduling, gradient synchronization, numerical stability, and long-run execution. For the industry, the standard for measuring domestic compute is shifting from “can it run at all” to “can it run long-range stably, efficiently, and reproducibly.” Once the three pieces of operators, communication, and toolchain are in place, running frontier large models on domestic full-function GPUs will have a realistic basis for moving from “it can train” to “ready to train out of the box.”
