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

    This article explains a domestic full-function GPU vendor's training adaptation for an open-source flagship model with nearly three trillion parameters, completed on 16 training-and-inference cards across two nodes over 400 consecutive optimizer updates. It clarifies the difference between training adaptation and pretraining, breaks down the native FSDP2 training path, explains why the two-node, 16-card, 400-step setup was chosen, outlines a troubleshooting order for common failures, and lists what is still needed to move from a successful adaptation to production-ready training. Readers will find the validation checklist, numerical stability guardrails, and observability practices reusable when running large model training on domestic compute.

    1. Background: A Training Adaptation, Not a Pretraining Reproduction

    A domestic full-function GPU vendor recently announced that it had completed training adaptation for an open-source flagship model with nearly three trillion parameters. On 16 training-and-inference compute cards across two nodes, the setup completed 400 consecutive optimizer updates. Throughout the run, the loss and gradient norm stayed finite, with no numerical overflow and no task interruption.

    One easily confused point must be settled first: a successful training adaptation does not mean the model was pretrained on these chips. The two are very different in engineering terms.

    • Pretraining: starts from random initialization, consumes trillions of tokens and thousands of card-hours, and produces the base weights.
    • Training adaptation: with existing open-source weights and a data pipeline already in place, verifies the platform’s operator coverage, parallelism strategy, communication efficiency, and numerical stability, so that continued training, fine-tuning, or further pretraining can run without diverging.

    There is a comparable precedent in the industry: the technical report of a leading open-source model validated inference operator paths for two different accelerator architectures side by side, but did not disclose the original compute source used for base pretraining. This shows that the industry generally draws a strict line between operator-level validation and base pretraining. Understanding this is necessary to assess the value boundary of this adaptation correctly.

    2. Technical Core: What the Native FSDP2 Multimodal Training Path Connects

    The key to this adaptation was building a native FSDP2 (Fully Sharded Data Parallel, second generation) training path that connects three stages end to end:

    1. Model loading: weights at this scale cannot reside entirely in a single card’s memory, so they must be split according to sharding rules and mapped to each rank.
    2. Shard scheduling: during the forward and backward passes, parameter shards are gathered on demand with all-gather and released immediately after use to keep peak memory under control.
    3. Gradient synchronization: after the backward pass, reduce-scatter reduces the gradients so that each rank keeps only the shard it owns, and then the optimizer update runs.

    Illustrative control logic (pseudocode, expressing semantics only):

    1. for step in range(total_steps):
    2. # Gather sharded parameters on demand for the forward pass
    3. params = all_gather(shard_params) # released right after use
    4. loss = model(batch)
    5. loss.backward()
    6. # Gradient reduction: sum/average, then scatter back to each shard
    7. grads = reduce_scatter(raw_grads)
    8. # Each rank updates only its own shard; memory use is decoupled from total parameter count
    9. optimizer.step(grads)
    10. if not is_finite(loss) or not is_finite(grad_norm):
    11. raise NumericalError(step) # numerical guardrail

    Compared with traditional data parallelism, the value of FSDP2 is that it shards parameters, gradients, and optimizer states at the same time, approximately decoupling single-card memory use from the total parameter count. This is the prerequisite for continued training of trillion-scale models on a limited number of nodes.

    3. Validation Methodology: Why Two Nodes, 16 Cards, and 400 Steps

    This validation design was not arbitrary; it is a stress test aimed at the typical failure modes of large model training.

    • Two nodes (cross-node): brings cross-node communication outside a single machine’s high-bandwidth domain such as NVLink into the path, exposing topology awareness, communication overlap, timeout, and retransmission issues.
    • 16 cards / 16 processes: the process count is strictly one-to-one with the card count, avoiding ambiguity in process-to-card binding and making it easier to tell whether a problem is in communication or computation.
    • 400 consecutive updates: enough to cover several stages, including learning rate warmup, gradient accumulation, and optimizer momentum buildup, so it can catch slow-developing problems where the first few dozen steps look fine but divergence appears after a few hundred.
    • Loss and gradient norm finite throughout: this is the core indicator for judging numerical stability. Once NaN or Inf appears, some operator has a problem with high-precision accumulation, normalization, or mixed-precision scaling.

    In engineering practice, it is advisable to turn this flow into an admission gate rather than a one-off demonstration:

    1. Admission checklist
    2. 1. Single-card operator coverage and precision alignment (operator-by-operator comparison against the reference implementation)
    3. 2. Short-run convergence at small scale (N cards on 1 machine)
    4. 3. Cross-node scaling curve (whether throughput scales linearly with card count)
    5. 4. Long-run stability (at least several hundred steps, with no anomalies in loss/grad_norm)
    6. 5. Checkpoint resume and failure recovery drills

    4. Common Failures and Troubleshooting Order

    Failures in large-scale training adaptation often lie not in “whether it can run one step” but in “whether it can run many steps stably.” A from-the-inside-out order is recommended:

    1. Numerical layer: whether mixed-precision loss scaling overflows and whether normalization operators accumulate with enough precision.
    2. Operator layer: whether custom operators handle boundaries differently, producing anomalous values at individual token positions.
    3. Communication layer: whether shard gathering and gradient reduction overlap correctly with computation, and whether there is deadlock or timeout.
    4. Scheduling layer: whether data sharding is reproducible and whether random seeds and data order are consistent, to avoid false non-convergence.
    5. Storage layer: whether checkpoint and log writes block the main training loop, and whether monitoring metrics are fully persisted for later review.

    5. From “Able to Train” to “Ready to Train Out of the Box”

    A successful adaptation only proves the path is feasible; three more stages remain before it is production-ready:

    • Consolidating operators and parallelism strategies: turn the validated combinations of parallelism, hyperparameter ranges, and communication settings into default templates.
    • Automated tooling: one-command launch of distributed jobs, with automatic topology awareness and failure rescheduling to reduce manual tuning.
    • Observability: use general-purpose logging services, monitoring and alerting, and container platforms to close the loop on metric collection, anomaly alerts, and checkpoint recovery for training jobs.

    Several practices of training domestic models on domestic chips already exist in this direction: from-scratch training of a 236-billion-parameter scientific foundation model, full-stack native training supporting a 5D world model, and end-to-end training of an embodied brain model carried out with research institutions, with trillion-parameter model training now being advanced. Together, these cases show that the challenge for domestic full-function GPUs has shifted from “can a single operator compute correctly” to “can a large-scale cluster train stably, operably, and reproducibly over the long term.” For developers, the real payoff is that the adaptation validation checklist, the numerical stability guardrails, and the observability loop are the reusable engineering assets for bringing large model training onto domestic compute.