A Domestic GPU Completes Training Adaptation for a Near-Trillion-Parameter Model: 400 Stable Steps on 16 Cards Across 2 Nodes

    This article explains the difference between training adaptation and pretraining a foundation model, outlines the core technical challenges of adapting near-trillion-parameter models, and details a native FSDP2 training path. It also interprets what 400 consecutive optimizer updates on 16 accelerators across two nodes demonstrate, and provides an engineering checklist for moving from "it can train" to "ready to train out of the box."

    1. First, Clarify a Key Distinction: Training Adaptation Is Not Pretraining on That Chip

    In the domestic computing ecosystem, announcements that “a chip has completed adaptation for a large model” are becoming increasingly common. However, many discussions conflate two fundamentally different things, leading to skewed judgments about the maturity of domestic computing power. It is worth separating the concepts clearly.

    • Inference adaptation (Day 0 integration): The goal is to load the model, run a forward pass, and produce results. It focuses on operator coverage, precision alignment, and throughput.
    • Training adaptation: The goal is to remain correct under backpropagation and parameter updates. It focuses on gradient numerics, optimizer states, mixed-precision strategies, and long-run stability.
    • Foundation pretraining: Training from scratch across tens of thousands of cards to complete an entire data recipe. It involves a full system of data engineering, fault tolerance, and cluster availability.

    These three are progressive layers; passing one does not imply the next holds. A phenomenon worth noting in the industry is that some model technical reports validate two different architectures of accelerator cards side by side, but the industry generally understands that this belongs to inference-side operator and parallel-strategy validation. The report itself does not state the original compute source of the foundation pretraining. Therefore, when you see “completed training adaptation” or “continuously updated stably for a number of steps,” the correct interpretation is: the hardware and software stack already has the engineering capability to take on training tasks, not that “the model was trained on this hardware.”

    This distinction matters greatly for technology selection. The real question for enterprises is not “can it run,” but: can it run to completion at a scale of more than a thousand cards, continuously for weeks without interruption; can problems be located within minutes; and can the cost per unit of compute converge.

    2. Where the Technical Difficulties Lie in Ultra-Large-Scale Training Adaptation

    Models at the near-trillion-parameter level typically use a sparse expert structure, and their training difficulties concentrate in four areas.

    1. The memory wall. When parameters, gradients, and optimizer states (first- and second-order momentum) are stacked together, memory usage far exceeds the parameters themselves. Fine-grained budgeting must rely on sharding, offloading, and recomputation.
    2. Complex parallelism combinations. Data parallelism, tensor parallelism, pipeline parallelism, expert parallelism, and sequence parallelism are often enabled simultaneously. Communication topology and partitioning schemes are coupled, and any improper partition can cause load skew.
    3. Numerical stability. Under low-precision training, loss scaling, normalization layers, attention softmax, and similar spots are prone to overflow, manifesting as a loss that becomes non-finite and sudden spikes in gradient norm.
    4. Long-run reproducibility. Passing a short run does not mean a long run is stable. What truly tests engineering capability is whether metrics stay smooth and whether silent performance degradation occurs over hundreds of steps of continuous updates.

    3. The Native FSDP2 Training Path: Why “Native” Matters

    Sharded data parallelism is a classic approach that splits optimizer states, gradients, and even parameters along the data-parallel dimension. “Native” support means the parallel strategy is implemented jointly by the framework and the device backend, rather than assembled through compatibility patches. Its benefits appear in three places:

    • Lower communication cost: The timing of parameter gathering and release is managed centrally by the scheduler, reducing redundant copies and peak memory.
    • Clearer semantics: Sharding, resharding, and state loading have explicit abstractions, making checkpoint resume and parallelism changes easier to implement.
    • Better multimodal friendliness: Heterogeneous inputs such as text, images, and time series are easier to schedule uniformly under the same sharding semantics.

    Schematically, the training path can be abstracted as the following pseudocode (expressing semantics only, not a specific interface):

    1. # 1) Build the model in a sharded manner, with parameters split along the parallel dimension
    2. model = build_model(config, shard=True)
    3. # 2) Wrap with sharded data parallelism, binding the device backend communication group
    4. model = sharded_data_parallel(model, process_group=pg)
    5. # 3) Forward + backward, with gradients reduced per shard
    6. loss = model(batch)
    7. loss.backward()
    8. # 4) The optimizer holds only this rank's state shard
    9. optimizer.step()
    10. optimizer.zero_grad()
    11. # 5) Periodic observation: finiteness check + norm statistics
    12. if step % log_interval == 0:
    13. assert isfinite(loss)
    14. log(grad_norm=global_grad_norm(model), lr=lr_scheduler(step))

    What truly determines success or failure is observability design like step five, which turns occasional numerical anomalies from “the training crashed, roll back” into “early warning in advance.”

    4. Cross-Node Stability: What 400 Consecutive Updates Demonstrate

    In a test setup with two nodes totaling sixteen accelerator cards, sixteen training processes running in parallel, and four hundred consecutive optimizer updates completed, the most noteworthy point is that three metrics stayed finite throughout: the loss value, the gradient norm, and parameter consistency across ranks; meanwhile, no process exited abnormally and no communication timeout occurred.

    The value of this kind of result lies in:

    • Correct operator backward pass. A passing forward pass only shows the output is reasonable; only when the backward pass produces no non-finite values is the gradient computation chain complete.
    • Reliable collective communication. In cross-node scenarios, the fault tolerance of reduction and broadcast directly determines long-run stability.
    • No scheduling leaks. After hundreds of consecutive steps, neither GPU memory nor host memory shows one-way growth, indicating correct lifecycle management.

    It should be stated objectively that there is still a clear gap between small-scale, short-run tests and long-run training at ten-thousand-card scale; the former is a necessary prerequisite for the latter, not a sufficient condition.

    5. An Engineering Checklist for Going from “Able to Train” to “Ready to Train Out of the Box”

    To reproduce similar capabilities on your own compute platform, it is recommended to proceed in the following order:

    1. Complete operators and align precision: Establish a layer-by-layer numerical comparison baseline, compare against a reference implementation using a fixed random seed, and locate the specific operator when the error exceeds the threshold.
    2. Optimize the parallel strategy: First fix the parallelism and do a small-scale sweep, recording throughput and memory curves, then scale up, avoiding strategy trial-and-error on large clusters.
    3. Fault tolerance and checkpoint resume: State saving must cover model shards, optimizer states, data-reading offsets, and random number states; after recovery, the loss curve should connect seamlessly.
    4. Observability system: Route metrics, logs, and tracing into monitoring/alerting and logging services respectively, and set up dual alerts for finiteness checks and performance baselines.
    5. Automated toolchain: Build pipelines for environment construction, dependency locking, config validation, stress testing, and regression; use a container platform for environment consistency and object storage for checkpoints and datasets.
    6. Cost governance: Track cost per unit of compute by training stage, and identify communication-wait and data-loading bottlenecks rather than simply adding more cards.

    6. Common Patterns in Real-World Cases

    Looking at publicly available practices of “domestic chips training domestic models,” whether it is training a medium-scale scientific computing model from scratch, full-stack training of a multimodal world model, or end-to-end training of an embodied-intelligence brain model, the shared lessons are highly consistent: first solidify single-card operators and numerics, then solidify parallelism and communication, and only then scale up. Advancing trillion-parameter-level models is essentially about standardizing and automating the above steps, compressing the adaptation cycle from “weeks” to “days.”

    The practical advice for developers is: do not use “can it start” as the acceptance criterion; instead, build an acceptance matrix that includes finiteness checks, long-run curves, recovery consistency, and throughput baselines. When this matrix can be executed with one click, large-model training on full-function domestic GPUs truly has the foundation for “ready to train out of the box.”