Domestic GPU Trillion-Parameter Model Training Adaptation: What It Really Means
A domestic all-function GPU vendor recently completed full-chain training adaptation of a nearly 3-trillion-parameter open-source multimodal model, running 16 accelerators across two nodes for 400 consecutive optimizer updates with finite loss and gradient norms throughout and no overflow or interruption. This article explains what "training adaptation" actually validates and how it differs from inference validation and foundation-model pre-training, why Fully Sharded Data Parallel (FSDP) is the natural choice for trillion-scale training, the key details behind a two-node, 16-card, 400-step test, and the engineering capabilities still needed to move from "it runs" to "out-of-box training."
1. Event Overview: What One Training Adaptation Accomplished
A domestic all-function GPU vendor recently completed full-chain training adaptation of an open-source multimodal model, using its flagship training-and-inference compute card and its own software stack. The model has nearly 3 trillion parameters, placing it in the trillion-parameter class of large-scale models. The validation ran on two nodes with 16 accelerators in total. Sixteen training processes coordinated across nodes and completed 400 consecutive optimizer updates. Throughout the process, the loss and gradient norm stayed finite, with no numerical overflow and no abnormal interruption.
The news can be summarized along three dimensions:
- Scale dimension: Two nodes with 16 cards means the validation was cross-node. It tested not just single-card performance, but also inter-node interconnect, cross-machine collective communication, and coordinated scheduling of 16 processes.
- Duration dimension: 400 consecutive optimizer updates covered a complete cycle of forward pass, backward pass, gradient synchronization, and parameter update, running steadily over hundreds of steps.
- Numerical dimension: The loss and gradient norm stayed finite throughout. This is the most direct evidence that the convergence process is “healthy,” showing that backward computation, gradient reduction, and parameter update did not break down numerically.
For developers, more important than the conclusion itself is understanding what “adaptation” actually means, which capabilities it validates, and how far it still is from “out-of-box training.”
2. Concept Clarification: Training Adaptation ≠ Foundation Pre-training
2.1 Three Kinds of “It Runs” Are Entirely Different in Scale
In the large-model software and hardware ecosystem, statements like “chip X adapts model Y” are common. But such statements can point to three completely different kinds of work:
| Comparison | Inference Validation | Training Adaptation | Foundation Pre-training |
|---|---|---|---|
| Core goal | The model can correctly infer on this hardware | The training pipeline runs end-to-end and iterates stably on this hardware | Train a foundation model from scratch on clusters of this hardware |
| Computation | Forward only | Forward + backward + gradient sync + optimizer update | Same, sustained over weeks to months |
| Main numerical risk | Minor operator precision deviation | Gradient anomalies, mixed-precision overflow, training divergence | Long-run stability, loss spikes, convergence quality |
| Communication | Mainly intra-card parallel communication | Cross-node gradient reduction, high volume, timing-sensitive | Combinations of multiple parallel strategies, extremely demanding on scaling efficiency |
| Observation window | Single or batched requests | Tens to hundreds of steps | Tens of thousands of steps or more, requiring long-cycle monitoring and fault tolerance |
| Typical acceptance | Precision and throughput tests | Convergence alignment + stability validation | Loss-curve targets met, benchmark evaluation met |
2.2 Why Training Is an Order of Magnitude Harder Than Inference
On the surface, inference and training differ only in whether gradients are computed, but their engineering difficulty is worlds apart.
- Backward computation covers a broader set of operators. The forward pass follows a single path, but backward must prepare a corresponding gradient computation for every forward operator. Some forward operators look simple, yet their backward implementation involves complex reduction, reordering, or numerical-stability handling. These operators are often only truly tested at the training stage.
- The numerical chain is longer and more tightly coupled. Each training step chains together data loading, forward, backward, gradient clipping, gradient reduction, and optimizer update. Any deviation in one link can be amplified within hundreds of steps.
- Communication pressure and synchronization constraints are stronger. Data parallelism requires reducing all gradients after every backward pass. The larger the scale and the more cross-node, the higher the communication overhead and synchronization risk. A single slow process can hold back the entire training step.
- State and memory overhead is larger. Mixed-precision training must maintain optimizer states and master weight copies in addition to weights, so memory demand is typically several times that of inference. Repeatedly allocating and releasing memory within limited VRAM also tends to cause fragmentation and allocation failures.
In addition, inference validation usually involves only the forward path. Many public technical reports present different hardware routes side by side, but that usually only shows that inference operators have been validated on multiple hardware platforms; it does not let you infer which compute was used to pre-train the foundation model.
2.3 How “Domestic Chips Training Domestic Models” Relates to Training Adaptation
“Domestic chips training domestic models,” in the strict sense, means training a domestic model from scratch on domestic chips, which is a higher bar than training adaptation: it requires the chip to not only run existing models, but also support a complete large-scale pre-training process.
Training adaptation is a key prerequisite on the way to that goal. It can expose missing operators, numerical anomalies, and communication bottlenecks at relatively low cost. It also makes it possible to continue training and further pre-train existing models on non-traditional hardware.
3. Technical Foundation: Why Choose Fully Sharded Data Parallel
3.1 The Memory Ledger: Why Sharding Is Mandatory
To understand the difficulty of training adaptation, first understand how much VRAM a trillion-parameter model actually needs during training. Take 3 trillion parameters with mixed-precision training and the AdamW optimizer as an example, and make an order-of-magnitude estimate (implementations vary slightly across frameworks):
- BF16 weights: 3×10¹² × 2 B ≈ 6 TB
- FP32 master weights: about 12 TB
- Adam first moment (FP32): about 12 TB
- Adam second moment (FP32): about 12 TB
These four items total about 42 TB, not yet counting gradients, activations, communication buffers, and memory fragmentation.
Expressed as illustrative code:
# Illustrative calculation: training-state memory for a trillion-parameter model (in TB, order-of-magnitude only)N = 3e12 # parameter countbytes_per = {"bf16": 2, "fp32": 4}weight_bf16 = N * bytes_per["bf16"] / 1e12 # ~6 TBfp32_copies = 3 # master weights + first moment + second momentstate_fp32 = N * bytes_per["fp32"] * fp32_copies / 1e12 # ~36 TBprint(weight_bf16, state_fp32, weight_bf16 + state_fp32) # ~42 TB
At this order of magnitude, no matter how large a single card’s VRAM is, it cannot hold the complete model state. Sharding is not optional.
3.2 The FSDP Sharding Idea
Fully Sharded Data Parallel (FSDP) originates from the “optimizer state sharding” idea in distributed training and can be understood as combining data parallelism with model sharding. Traditional data parallelism keeps a full copy of the model in each process and shards only the data; FSDP instead shards parameters, gradients, and optimizer states across processes, so each process holds only one shard of the model.
Its execution can be summarized as:
- Forward: Layer by layer, all-gather the parameters needed on demand to complete computation, releasing them immediately after use.
- Backward: Re-gather parameters layer by layer to compute gradients, then use reduce-scatter to sum gradients and shard them back to each process.
- Update: Each process updates only the parameters it is responsible for, and its optimizer state is likewise stored as just one shard.
As a result, the per-process model-state memory drops to roughly 1/N of traditional data parallelism (N being the number of sharding processes).
The cost is more frequent communication, spread across different points in the forward and backward passes. So the engineering implementation must rely on the following techniques to “hide” communication behind computation:
- Computation-communication overlap
- Bucket merging
- Prefetching the next layer’s parameters ahead of time
# Illustrative pseudocode: a single FSDP-style sharded training step# (expresses general concepts only, not any specific framework API)model, optimizer = build_sharded_model(cfg) # parameters sharded by rankfor step, batch in enumerate(dataloader):# 1. Forward: all-gather parameters on demand, compute layer by layer, release after usewith autocast(dtype="bfloat16"):outputs = model(batch)loss = outputs.loss / grad_accum_steps# 2. Backward: re-gather parameters to compute gradients, reduce-scatter to sum and shard gradientsloss.backward()# 3. Numeric health check before update (see Chapter 6)grad_norm = clip_grad_norm(model.parameters(), max_norm=1.0)if not isfinite(loss) or not isfinite(grad_norm):handle_numeric_failure(step, batch, model, optimizer)break# 4. Each rank updates only its own shard and synchronizes scheduler stateoptimizer.step()scheduler.step()optimizer.zero_grad()
3.3 Trade-offs Between FSDP and Other Parallel Strategies
| Parallelism | What Is Sharded | Main Communication | Advantages | Cost |
|---|---|---|---|---|
| Data parallelism | Data batches | Gradient all-reduce | Simple to implement, scales well | Each card stores the full model state |
| Fully Sharded Data Parallel (FSDP) | Parameters + gradients + optimizer state | Parameter all-gather + gradient reduce-scatter | Memory drops roughly linearly with process count | Significantly higher per-step communication |
| Tensor parallelism | Operators within a single layer | Multiple collective communications per layer | Reduces per-layer compute and memory demand | Frequent communication, needs high inter-card bandwidth |
| Pipeline parallelism | Model layers (by stage) | Point-to-point transfer between adjacent stages | Low memory demand, can scale across nodes | Pipeline bubbles, complex scheduling |
| Expert parallelism | Experts in MoE | All-to-all after routing | Expert capacity scales independently | Communication and load imbalance hard to predict |
Real large-model training rarely uses only one parallel strategy; instead it combines them into “multi-dimensional hybrid parallelism.” FSDP is often used as the data dimension, working alongside tensor parallelism, pipeline parallelism, and expert parallelism to balance memory, communication, and scaling efficiency.
3.4 Additional Challenges from Multimodal Models
- Heterogeneous modules: Vision encoders and language decoders differ greatly in structure, parameter count, and compute intensity.
- Sequence length: After an image is split into many visual tokens, the sequence grows substantially, and the memory and compute cost of attention rise accordingly.
- Data pipeline: Mixed image-text data requires decoding, cropping, preprocessing, and packing, which can easily become a throughput bottleneck.
For training adaptation, all of this means more diverse operator and communication patterns that are also harder to fully cover with small-scale tests.
4. Two Nodes, 16 Cards, 400 Steps: Key Details in the Test Design
4.1 Two Nodes: Cross-Node Is Where the Difficulty Lies
Single-machine multi-card setups communicate over high-speed inter-device interconnects with low latency and high bandwidth. Cross-node communication instead relies on network interfaces and high-speed networks (such as RDMA-capable networks), with clearly different latency and bandwidth characteristics. Once training enters the cross-node stage, it hits a typical class of failure: some processes have already moved on to the next round of communication while others are still computing, and a mismatch in the number of participants can deadlock collective communication. Passing cross-node validation shows that the communication library and training framework’s synchronization logic in a distributed environment have stood up to a basic test.
4.2 16 Training Processes: A Process Is a Rank
In distributed training with data parallelism, each process (rank) holds one shard of the data and one shard of the model. The 16 processes form one complete gradient reduction and parameter all-gather, and every process must correctly participate in every collective communication. If any single process’s operator behavior or numerical state diverges from the others, overall training will stall or even crash.
4.3 400 Steps: Enough to Cross the “Danger Window”
The problems most likely to appear early in training include:
- Sharp parameter changes during the learning-rate warmup phase
- Optimizer momentum gradually accumulating
- Memory allocation trending toward stability
400 consecutive steps means the pipeline did not merely get through “the first step,” but stayed consistent across hundreds of updates. This alone cannot judge convergence quality, but it is enough to show that the training system did not break down numerically.
4.4 Numerical Metrics: Why the Gradient Norm Matters
In mixed-precision training, the gradient norm is one of the most sensitive “dashboards”:
- Numerical overflow: FP16 has a limited dynamic range, and gradients easily overflow to infinity (Inf). BF16 has the same number of exponent bits as FP32 and a larger dynamic range, but lower precision in very small numeric ranges; in extreme cases it can also underflow to 0 or produce NaN. Both need supporting numerical handling.
- Gradient clipping: The industry commonly clips by global norm, keeping the gradient norm within a preset threshold. Here is an implementation detail: the clipping coefficient must be the smaller of “total norm ÷ clip threshold” and 1, then used to scale all gradients, so that gradient direction is preserved.
- Skipping the update: Many implementations skip the current parameter update when the loss or gradient becomes NaN/Inf. But this is only “cutting losses,” not “fixing.” If anomalies appear over several consecutive steps, there is an operator or configuration problem.
A noteworthy detail: in sharded training, the global gradient norm usually has to be reduced once more across all processes before it can be computed. And that reduction itself depends on every process having valid gradient values. So “finite gradient norm throughout” validates the correctness of gradient computation, cross-process communication, and clipping logic all at once.
# Illustrative pseudocode: gradient anomaly detection and skip updatefound_inf = torch.zeros((), device=device)for p in model.parameters():if p.grad is not None:found_inf |= (~torch.isfinite(p.grad)).any()# Reduce across all ranks: if any rank finds an anomaly, all ranks skip this update togetherflag = torch.tensor([1.0 if found_inf else 0.0], device=device)flag = all_reduce(flag, op="MAX") # any abnormal shard sets 1if flag.item() > 0:optimizer.zero_grad(set_to_none=True)skipped_steps += 1# If consecutive skips exceed the threshold, trigger an alert and roll back to the last healthy checkpointelse:optimizer.step()skipped_steps = 0
5. What Full-Chain Training Adaptation Actually Adapts
“Full-chain” refers to the complete process from model loading to parameter update and its continuous repetition. A typical training adaptation usually includes the following stages:
- Model loading and conversion: Load pretrained weights or initialize the model, handle weight-format conversion and verification, and ensure the loaded parameters match the original model.
- Sharding and placement: Assign parameters, gradients, and optimizer states to processes per the parallel strategy, and design sharding schemes for heterogeneous modules such as vision encoders.
- Operator implementation and precision alignment: Operators used in forward and backward are correctly implemented on the hardware, with results aligned to a reference implementation.
- Mixed-precision strategy: Decide which computations use low precision, which accumulations use high precision, and the precision choice for master weights and gradient accumulation.
- Data pipeline: Support decoding, augmentation, and packing of multimodal data, and ensure data loading does not slow down computation.
- Gradient synchronization and optimizer update: Reduce gradients across processes and update parameter shards locally.
- Numerical monitoring and fault tolerance: Record loss and gradient norm, save checkpoints periodically, and support recovery from checkpoints.
Each stage on this chain can become a “break point”:
- Incompatible weight formats cause loading failures or numerical misalignment.
- A single missing or under-precise backward operator makes the loss quickly deviate from expectations.
- Flawed sharding and communication logic cause collective communication to deadlock.
- Insufficient data-pipeline throughput leaves expensive accelerators largely idle.
6. From “It Runs” to “It Runs Stably”: Engineering Capabilities
A single 400-step validation only proves that “it runs.” Sustained stable training requires a full set of engineering capabilities.
6.1 Observability: Making Problems Visible
At minimum, collect the following metrics:
- Per-step time and throughput (tokens processed per second)
- Peak VRAM and memory fragmentation
- Time spent and share of each communication operation
- Loss and gradient-norm curves
Once these curves are visualized, problems such as performance regressions, slow memory growth, and sudden numerical jumps can be caught early.
# Illustrative pseudocode: per-step metric collection and reportingmetrics = {"step": global_step,"loss": loss.detach().item(),"grad_norm": grad_norm,"step_time_ms": step_time * 1000,"tokens_per_sec": tokens_this_step / step_time,"peak_mem_gb": max_memory_allocated() / 1e9,"skipped": skipped_steps,}logger.info(metrics) # unified log format for later search and aggregationmetrics_sink.write(metrics) # write to monitoring/metrics system with threshold alerts
6.2 Checkpoints and Resuming from Checkpoint
In large-model training, failures are unavoidable. A sound checkpoint strategy includes:
- Saving at fixed step intervals or fixed time intervals;
- Saving model shards, optimizer states, and the learning-rate scheduler state together, so the training trajectory stays consistent after recovery;
- Storing checkpoint data via object storage for easy cross-node sharing and long-term retention.
It also helps to regularly rehearse “resuming training”: after restarting from a checkpoint, the loss curve should connect smoothly rather than show an obvious jump.
6.3 Automated Tooling
The goal of automation is to standardize repetitive adaptation work:
- Environment preparation: unified runtime versions and dependencies
- Launch orchestration: one-click launch of multi-machine, multi-card jobs
- Fault detection: identifying hangs, crashes, and performance regressions, and recovering automatically
- Performance analysis: locating communication bottlenecks and memory hotspots
# Illustrative training config snippet: key parameters managed centrally for reproducibility and regressionrun:nodes: 2 # two nodesdevices_per_node: 8 # 8 cards per node, 16 training processes totalprecision: bf16max_steps: 400log_interval: 10ckpt_interval: 50numeric_guard:grad_clip_norm: 1.0max_consecutive_skips: 10 # trigger an alert when consecutive skips reach this value
6.4 Fault-Tolerance Awareness in Large-Scale Training
The larger the scale, the higher the probability of hardware failure. Mature large-scale training frameworks usually have elastic fault-tolerance capabilities:
- When an individual node fails, they can automatically reorganize the communication domain and continue training;
- When a job hangs, they can terminate it promptly via timeout mechanisms;
- When any process hits a numerical anomaly, all processes can coordinate a rollback to a healthy state.
These capabilities may seem “unused” day to day, but they are exactly the dividing line between “can train” and “trains stably.”
7. From “Can Train” to “Out-of-Box Training”: What’s Still Missing
7.1 Adaptation Capabilities Have Already Extended to Multiple Model Types
From public information, training adaptation on domestic compute has expanded from pure language models to multiple model types, accumulating a set of practice cases:
- A base model of about 236 billion parameters completed a full training run from scratch;
- A high-dimensional world model achieved full-stack native training;
- An embodied-AI model completed end-to-end training;
- Training of trillion-scale parameter models is also being advanced jointly.
Notably, these cases span quite different directions such as language models, physical-world modeling, and embodied AI. This shows the focus of adaptation work is shifting from “getting individual models to run” to “capability coverage.” That said, public information on these cases is limited, and specific configurations and results should be based on the corresponding technical materials.
7.2 Three Hurdles to Clear
- From “adaptation” to “pre-training”: Adaptation solves “can it train”; large-scale pre-training must also solve “trains long, trains stably, trains worthwhile.”
- From “single-machine multi-card” to “large-scale clusters”: As card counts increase, the complexity of communication, fault tolerance, and failure recovery rises non-linearly, requiring continuous validation of scaling efficiency.
- From “usable” to “easy to use”: What developers care about is whether they can get started quickly, including documentation, tooling, ecosystem compatibility, and whether existing training code can migrate with minimal changes.
7.3 Training Adaptation Acceptance Checklist
When a team evaluates whether training adaptation is truly mature, it can refer to the following checklist:
- Operator coverage: All forward and backward operators are present, with precision aligned to the reference implementation
- Convergence consistency: On small models, the loss curve closely matches the reference implementation
- Stability: No anomalies over thousands of consecutive steps; with simulated fault injection, automatic recovery
- Checkpoint resume: Training trajectory connects smoothly after resuming from a checkpoint
- Performance: Throughput and compute utilization meet expectations, communication overhead acceptable
- Scaling: Scaling efficiency meets expectations when going from a single node to multiple nodes
- Observability: Key metrics fully collected, anomalies auto-alerted
8. Recommendations for Developers and Enterprises
- Distinguish capability levels. When evaluating domestic compute, first clarify whether the validation is for inference, training adaptation, or large-scale pre-training. Different levels correspond to completely different investments and risks.
- Start with small-scale convergence alignment. First use a small model to check whether the loss curve matches the reference implementation, then gradually scale up to multi-card, multi-node, and full parameter scale. This locates the problem’s stage fastest.
- Include stability in acceptance criteria. Focus on long-running stability, checkpoint recovery, and fault tolerance, not just single-step performance.
- Invest in observability. A complete metric-collection and logging system can quickly pinpoint problems when they arise and significantly shorten debugging time.
- Drive standardization and automation. Unified configuration, launch, and monitoring processes let adaptation results be reused by more teams.
For domestic GPU vendors, continuously refining operator coverage, multi-card coordination, and automated tooling is the key to maturing training capabilities. For users, going from inference validation to training adaptation and then to large-scale pre-training is a process that requires staged investment and evaluation.
Two nodes, 16 cards, and 400 consecutive steps with no overflow and no interruption mark a solid step forward for domestic all-function GPUs in large-model training adaptation. But going from “can train” to “out-of-box training” still requires continued accumulation in operators, communication, fault tolerance, and tooling. Viewing each step forward rationally and verifying it with a clear checklist is the right way to make good use of domestic compute.
