Domestic GPU Large-Scale Training Adaptation: What 400 Stable Steps Actually Prove
A domestic GPU vendor completed training adaptation for a nearly 3-trillion-parameter open-source model, running 16 accelerator cards across two nodes through 400 consecutive optimizer updates with loss and gradient norms staying finite throughout. This article breaks down what "training adaptation" really means and how it differs from pretraining or inference enablement, walks through the full training pipeline from model loading and shard scheduling to gradient synchronization, explains what 400 stable steps do and do not validate, and outlines the engineering capabilities needed to move domestic accelerators from "can train" to "ready to train out of the box." It closes with practical advice for teams evaluating domestic compute.
1. Background: Adapting a Domestic Accelerator to Ultra-Scale Model Training
Recently, a domestic GPU vendor announced that, using a flagship AI training-and-inference accelerator card and its in-house software stack, it had completed training adaptation for a nearly 3-trillion-parameter open-source model. In the experiment, the vendor ran cross-node joint training across 16 accelerator cards on two nodes. All 16 training processes completed 400 consecutive optimizer updates, with loss and gradient norms remaining finite throughout and no numerical overflow or abnormal interruption.
Three things about this result are worth attention:
- Model size: A parameter count approaching 3 trillion places the model in the first tier of today’s open-source models. The larger the model, the more memory pressure, communication pressure, and numerical-stability risk multiply.
- Nature of the task: The goal was a “training adaptation,” not an inference deployment. It requires running the complete chain of forward pass, backward pass, gradient reduction, and parameter update on domestic hardware.
- Engineering foundation: The vendor states it has built a mature engineering system, capable of spanning “fast inference deployment” and “full-chain stable training” for frontier, complex large models.
1.1 Clearing Up a Common Misconception: Training Adaptation ≠ Pretraining
“Adaptation” and “onboarding” are only prerequisites; they do not mean the model was pretrained on this class of chips.
Today, most “Day 0 adaptation” for domestic chips refers to this: on the day an open-source model is released, the chip vendor quickly completes operator coverage, framework integration, and inference validation, ensuring the model can run on the new hardware and produce correct results. This is a matter of “fast onboarding” capability.
Training adaptation is an order of magnitude harder. It requires backpropagation, mixed precision, distributed communication, and parameter updates to all execute correctly and stably on the target hardware. This is also why the industry reads some model technical reports with caution: when a report displays multiple hardware paths side by side, it more often reflects inference-side operator and parallelism validation, while the original pretraining compute source of the base model is not disclosed.
Therefore, evaluating a training-adaptation result should distinguish at least three levels:
- Runs: Forward pass, backward pass, and parameter update execute completely without crashing.
- Runs stably: Numerically stable over long training runs, no abnormal interruptions, resumable from checkpoints.
- Runs well: The loss curve closely matches a reference hardware, and training throughput meets the needs of large-scale training.
Only when all three levels are validated does the claim “domestic compute can train large models” become convincing.
2. Full-Chain Training Adaptation: From Model Loading to Gradient Synchronization
For this effort, the vendor built a “native FSDP2 multimodal training path,” connecting the complete chain from model loading and shard scheduling to gradient synchronization. Here is a step-by-step breakdown.
2.1 Model Loading: First, “Fit It in Memory”
A model with nearly 3 trillion parameters typically contains dozens of distinct weight structures. Even stored at 16-bit, it requires terabytes of space, far beyond a single card’s memory. Model loading usually solves three kinds of problems:
- Weight format conversion: Converting weights from the industry-standard format (such as safetensors) into a format the target chip and framework can load.
- Sharded loading: Using mechanisms such as a meta device to first “build the skeleton” and then “fill in the parameters,” avoiding constructing the full model in CPU memory at once.
- Multimodal structure support: Text, vision, and other branches have different structures and weight types; the loader must identify and map each one, and verify weight integrity during initialization.
Illustrative code (PyTorch FSDP2-style pseudocode, showing the flow only):
# 1. Build a "skeleton" on the meta device, consuming almost no memorywith torch.device("meta"):model = build_model(config) # config declares text backbone + vision encoder + fusion layers# 2. Sharded loading: each shard of weights only reads the part owned by the current rankfor param_path in sharded_ckpt:load_weights(model, param_path, assign=True)# 3. Smoke check: shapes, dtype, NaN/Inf, comparison of key-layer weights against a reference implementationverify_weights(model, reference=ref_state_dict, rtol=1e-2)
2.2 Shard Scheduling: First, “Make It Compute”
The industry has developed a range of parallelism techniques—ZeRO-family, tensor parallelism, pipeline parallelism, expert parallelism, context parallelism, and others—that can be combined according to model structure and cluster size. Among them, fully sharded data parallelism (FSDP) is a general approach: parameters are aggregated (all-gather) layer by layer before training starts, released immediately after the backward pass, and held in full only when needed.
“Native” usually means the sharding mechanism acts directly on the target framework’s parameter tensors, without an extra generic wrapper layer or a third-party optimization framework. For trillion-parameter models, the fewer framework layers, the more controllable the memory overhead and performance bottlenecks.
For multimodal training specifically, “native” matters because:
- The vision encoder has few parameters but long sequences and heavy attention cost;
- The text backbone has many parameters and relies on deep stacking;
- The multimodal fusion layers have scattered computation, and often the highest peak memory.
Only a native sharding mechanism can uniformly set the sharding granularity, mixed precision, and recomputation strategy across all these module types.
# Mixed-precision policy: compute in low precision, gradient reduction and update in high precisionmp = MixedPrecisionPolicy(param_dtype="bf16", reduce_dtype="fp32")# Wrap per Transformer block, and wrap other modules (e.g., vision encoder) individually as neededfor layer in model.transformer_blocks:fully_shard(layer, mp_policy=mp)for layer in model.vision_blocks:fully_shard(layer, mp_policy=mp)fully_shard(model)
Additional optimizations are also needed:
- If the sharding granularity is too coarse, too much data is moved between “aggregate” and “release” for a single parameter;
- If the granularity is too fine, the number of communication operations surges;
- So tuning usually combines activation recomputation, gradient accumulation, and communication overlap.
2.3 Gradient Synchronization: First, “Train It Correctly”
Under full sharding, the backward pass performs a sharded reduction (reduce-scatter) of parameter gradients, so each card keeps only the gradient shard it owns. Each card then uses its local gradients to update its local parameter shard, and aggregates the full parameters when needed in the forward pass. Three points on this chain are key:
- Equivalence of communication operators: The collective-communication primitives that reduction and aggregation depend on must be correctly implemented in the target hardware’s communication library.
- Topology awareness: Within a node, high-bandwidth interconnects are typically used; across nodes, it relies on high-speed networks. Cross-node communication is expensive, so the sharding strategy should keep aggregation within a node and perform reduction across nodes.
- Overlap with computation: Overlapping parameter aggregation with the backward pass can hide a large portion of communication overhead beneath computation.
3. What Do 400 Consecutive Stable Steps Actually Validate
400 optimizer updates means a training chain that is correct in a single iteration has been executed correctly 400 times in a row. Its significance shows in three ways:
- Numerical stability is tested: Under mixed-precision training, the most common failures are sudden loss spikes or NaN/Inf. These usually come from attention overflow, division by zero in normalization, or gradient explosion. Finite loss and gradient norms throughout indicate that base operator precision, loss computation, and gradient clipping are all working correctly.
- Cross-node coordination is tested: Hundreds of consecutive steps, each involving cross-node synchronization, ran with no communication timeout, hang, or process crash, showing the distributed communication link is stable.
- The training chain is validated end to end: 16 training processes advancing in lockstep show that the “load–shard–synchronize” chain forms a closed loop on real hardware.
At the same time, it should be viewed objectively:
- 400 steps is only a start compared with the multi-week training cycles typical of trillion-parameter models; it only proves the chain “runs” and “runs stably.”
- It still lacks bit-level or approximate alignment analysis of the loss curve against a reference implementation, quantitative comparison of throughput metrics (such as training tokens per second), and stability observation over ten-thousand-step or longer runs.
So it is best understood as an important milestone in training adaptation, rather than a final conclusion.
4. The Engineering System: Four Capabilities Supporting “Domestic Chips Training Domestic Models”
A single successful adaptation relies on ad-hoc problem-solving; continuously adapting frontier models relies on systematic engineering capability. Based on public information, such capability can be summarized in four layers:
- Operator layer: Covers base operators such as attention, normalization, loss functions, and optimizers, supports different data precisions and custom multimodal structures, and can quickly fill in missing operators as models iterate.
- Parallelism and communication layer: Supports combinations of data, tensor, pipeline, expert, and other parallelism, and continuously optimizes collective-communication performance.
- Stability layer: Provides anomaly detection, checkpoint-resume, and fast fault localization, so training jobs can run unattended for long periods.
- Toolchain layer: Provides distributed job orchestration, monitoring and alerting, log analysis, and performance profiling.
# Illustration: log key metrics each step to support anomaly diagnosis and cross-comparisonmetrics = {"loss": loss.item(),"grad_norm": total_norm.item(), # global gradient norm before clipping"step_time_ms": elapsed * 1000,}if not torch.isfinite(metrics["loss"]) or not torch.isfinite(metrics["grad_norm"]):logger.error(f"Numerical anomaly @ step {step}: {metrics}")raise FloatingPointError(step) # once caught, resume from the most recent checkpoint
Beyond the toolchain, general cloud-product capabilities such as container platforms, logging services, and monitoring and alerting can also help teams lower the operational barrier for large-scale training jobs. Public information shows the vendor has landed several “domestic chips training domestic models” results:
- Completed end-to-end training of a scientific foundation model (236 billion parameters) from scratch;
- Supported full-stack native training of a 5D world model;
- Jointly completed the full-pipeline training of an embodied-brain model with university research teams.
The vendor is now working with partners to advance training of a trillion-parameter large model.
Notably, these results differ in nature: some are “end-to-end training from scratch,” while others are “full-stack native training” and “full-pipeline training.” Together they show domestic compute moving from single-point validation toward multi-scenario coverage in training support.
5. From “Can Train” to “Ready to Train Out of the Box”: The Path and Recommendations
The vendor says it will continue to refine its complete training capability—from operator adaptation and multi-card coordination to automated toolchains—pushing frontier large models on domestic full-function GPUs from “can train” toward “ready to train out of the box.” Drawing on industry practice, efforts can focus on:
- Operator automation: Quickly find and fill in missing operators through automatic comparison and coverage analysis;
- Automatic parallelism tuning: Automatically recommend combinations of data, tensor, and pipeline parallelism based on model structure, hardware topology, and remaining memory;
- Fault self-healing: Automatically recover from checkpoints after a job anomaly, and isolate faulty nodes;
- Performance observability: Present throughput, communication share, and memory usage uniformly, for easy cross-comparison;
- Continuous regression: Establish periodic training-regression baselines for mainstream open-source models, to track adaptation status promptly.
For teams evaluating domestic compute, a “small steps, fast iteration” validation strategy is recommended:
- Single card and single node first: Confirm that base operator precision and memory usage meet expectations.
- Short runs on small models: Compare loss curves over hundred-step training to verify numerical consistency.
- Multi-node scalability testing: Gradually scale to 16 cards and beyond, observing how throughput scales with card count.
- Long-run validation: Validate stability over thousand-step and ten-thousand-step runs, while watching checkpoint-resume and fault-recovery capability.
Conclusion
From quickly completing inference onboarding to two-node, 16-card continuous stable training over 400 steps, domestic GPUs have taken a solid step in full-chain training adaptation for large models. What deserves even more attention is the engineering system behind it: only when operators, parallelism, stability, and toolchains mature together can domestic compute move from “can train” to “ready to train out of the box” and truly support large-scale training of frontier models.
