A Domestic GPU Completes Training Adaptation for a Near-Trillion-Parameter Large Model: 16 Cards Across Two Nodes Run 400 Steps Stably
This article explains a recent training adaptation in which a domestic GPU vendor ran a near-trillion-parameter open-source multimodal model on 16 accelerator cards across two nodes, completing 400 consecutive optimizer updates with stable loss and gradient norms. It clarifies that training adaptation is not the same as pretraining from scratch, breaks down why a native FSDP2 training path matters for memory balance, cross-node communication, and multimodal operator coverage, and outlines the stability signals shown by 400 continuous steps. It also provides a practical engineering checklist for moving from "it trains" to "ready to train out of the box," along with trends in adaptation standardization and long-stability testing.
1. What Happened: A Training Adaptation, Not a Fresh Pretraining Run
A domestic GPU vendor recently announced that, using its flagship training-and-inference accelerator card and its in-house software stack, it completed the training adaptation of an open-source, ultra-large multimodal model with a parameter count approaching the trillion scale. The test environment consisted of 16 accelerator cards across two nodes. All training processes completed 400 consecutive optimizer updates, with loss values and gradient norms remaining finite throughout, and no numerical overflow or abnormal task interruption occurred.
One common misunderstanding needs to be cleared up first: a successful training adaptation does not mean the model completed its original pretraining on these chips. Adaptation means the model structure, operators, parallel strategy, and training pipeline can run correctly and stably on the target hardware. Pretraining is a complete process that starts from scratch and consumes massive amounts of data and compute. The two differ completely in engineering difficulty, cost scale, and validation goals. A common industry practice is to present validation results from multiple accelerator cards side by side in a model technical report, but this usually validates inference operators or a partial training pipeline and does not mean the base model’s original compute came from those cards.
Therefore, the value of a training adaptation should be judged by three verifiable metrics: whether the pipeline is fully connected, whether numerical behavior stays stable over the long run, and whether the engineering system is reusable.
2. Technical Breakdown: Why the Native FSDP2 Training Path Matters
This adaptation built a native FSDP2 (Fully Sharded Data Parallel) multimodal training path, connecting the full chain from model loading and parameter shard scheduling to gradient synchronization. Its value can be understood on three levels.
2.1 Rebalancing Memory and Compute
The bottleneck in ultra-large model training is often memory, not compute. FSDP2 shards parameters, gradients, and optimizer states across the data-parallel group, so each card holds only part of the full state and aggregates it on demand during forward and backward computation. Compared with traditional data parallelism, it significantly reduces peak per-card memory, allowing a limited number of nodes to host a larger parameter scale.
The configuration logic is shown schematically below (pseudocode, expressing semantics only):
for layer in model.layers:fully_shard(layer) # Shard parameters and optimizer states per layerlayer.set_reshard(True) # Release aggregated results promptly after backwardoptimizer = AdamW(model.parameters(), lr=1e-4)for step, batch in enumerate(loader):loss = model(batch).lossloss.backward()clip_grad_norm_(model.parameters(), 1.0)optimizer.step()optimizer.zero_grad(set_to_none=True)
2.2 Cross-Node Communication Becomes the Main Overhead
Joint training across 16 cards on two nodes means parameter aggregation and gradient reduction must cross the inter-node network. In engineering practice, three optimizations are typically used: overlapping computation with communication, bucketing for batched transfers, and proper control of shard and reshard timing. If communication and computation cannot be effectively overlapped, scaling efficiency decays quickly as the number of nodes grows.
2.3 The Operator Long Tail Introduced by Multimodality
A multimodal model contains a vision encoder, projection layers, and a language backbone, involving a wide variety of operator types and making it prone to a long-tail problem where a few operators slow down the whole. The core of the adaptation work is to fill in these long-tail operators one by one and validate their numerical accuracy.
3. Stability Validation: What 400 Continuous Steps Show
In the experiment, 16 training processes completed 400 consecutive optimizer updates, with loss and gradient norms remaining finite throughout. The significance of this result is:
- Numerical health: No NaN/Inf, indicating the mixed-precision strategy, loss scaling, and normalization layer implementations are correct;
- Closed-loop pipeline: Backpropagation and optimizer state updates stay consistent under multi-card sharding;
- Observability: The ability to continuously collect loss and gradient norms is the prerequisite for locating anomalies.
A minimal recommended monitoring instrumentation is shown below:
metrics = {"step": step,"loss": float(loss.detach()),"grad_norm": float(clip_grad_norm_(model.parameters(), 1.0)),"lr": optimizer.param_groups[0]["lr"],"mem_peak_gb": torch.cuda.max_memory_allocated() / 1e9,}logger.info(metrics)
In engineering practice, a sudden spike in gradient norm is usually an early sign of too large a learning rate or numerical overflow in some layer; a continuously rising memory peak often points to shards not being released in time or memory fragmentation.
4. From “It Trains” to “Ready to Train Out of the Box”: An Engineering Checklist
Supporting full-pipeline, stable training of cutting-edge complex models requires a mature engineering system, which can be summarized in five capabilities:
- Operator adaptation and precision alignment: Align operators one by one with the reference implementation, and establish error thresholds and regression cases;
- Multi-card coordination and parallel strategy: Combined tuning of data parallelism, tensor parallelism, pipeline parallelism, and sharding strategies;
- Automated toolchain: One-click launch of distributed jobs, automatic retries, checkpoint resume, and log aggregation;
- Observability and alerting: Continuous collection and threshold-based alerting on loss, gradient norm, throughput, memory, and network metrics;
- Long-stability test specification: Using continuous updates over a fixed number of steps as an admission gate, producing reproducible reports.
When deployed in the cloud, these capabilities are typically provided by general-purpose components: a container platform handles elastic scheduling, object storage holds datasets and checkpoints, a message queue decouples task orchestration, and logging and monitoring/alerting services ensure observability.
5. Industry Practice and Trend Outlook
“Domestic chips training domestic models” has already produced results in several directions: tens-of-billions to hundreds-of-billions scale scientific foundation models trained from scratch, full-stack native training of world models, and full-pipeline training of embodied-intelligence brain models, now moving toward the trillion-parameter scale. Three trend judgments follow:
- Adaptation will shift from “single-point success” to “standardized delivery,” with evaluation criteria becoming more unified;
- Stability metrics (consecutive update steps, numerical health) will become a harder gate than peak compute;
- Toolchain maturity determines migration cost; the higher the automation, the closer model migration gets to “ready to train out of the box.”
For developers, viewing adaptation results rationally and establishing a reproducible long-stability validation process holds more long-term value than chasing single-point benchmark scores.
