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

    This article explains what a domestic GPU vendor's training adaptation of a near-trillion-parameter open-source model actually proves, and what it does not. It clarifies the difference between inference enablement, training adaptation, and base-model pretraining, then breaks down how a native FSDP2 training path was made to work: per-parameter sharding, forward and backward collective communication, mixed-precision numerical stability, and topology-aware parallel placement across two nodes. It also covers why 400 consecutive optimizer updates serve as a meaningful acceptance criterion, and the four engineering capabilities—operators, parallelism, fault tolerance, and tooling—required to move from "it trains" to "it trains out of the box."

    1. What Happened: A Training Adaptation, Not a New Pretraining Run

    A domestic full-feature GPU vendor recently announced that it completed training adaptation of an open-source flagship large model with a parameter count close to one trillion. The work ran on the vendor’s flagship training-and-inference accelerator card together with its in-house software stack. The test environment used 16 accelerator cards across two nodes, and all training processes completed 400 consecutive optimizer parameter updates. Training loss and gradient norms stayed finite throughout, with no numerical overflow, process crashes, or training interruptions.

    The reason this matters to developers is not a specific SKU or a specific vendor. It validates a general engineering path: whether a domestic accelerator built on a non-mainstream architecture can carry the full training loop of a frontier-scale model. The answer is shifting from “can it run at all” to “can it run stably, reproducibly, and at scale.”

    One frequent misunderstanding needs clearing up first: training adaptation is not the same as pretraining a model from scratch on that chip.

    2. Three Different Things: Enablement, Adaptation, and Pretraining

    Many discussions conflate “Day 0 enablement of the latest open-source model” with “pretraining a base model on this hardware.” In engineering terms these are entirely different tasks.

    • Inference enablement: the goal is to load model weights correctly and map operators correctly, with numerically correct forward computation and acceptable throughput. Validation typically takes hours or days.
    • Training adaptation: beyond the forward pass, this requires backward propagation, gradient reduction, optimizer state management, numerical stability under mixed precision, and communication orchestration across processes and nodes. Validation takes weeks, and enough iterations must run to surface problems.
    • Base-model pretraining: initializing parameters from scratch and training over a trillion-scale token corpus, involving data mixtures, learning-rate schedules, long-run fault tolerance, and recovery. This is an engineering effort of a different order of magnitude.

    There is a reference case in the industry: the technical report for one open-source large model validated two different accelerator architectures side by side, but the industry generally understood this as inference-side operator validation, and the original compute source for its base-model pretraining was never publicly confirmed. So when you see “training adaptation completed,” the accurate reading is: the hardware now has the baseline capability to take on training workloads for this class of model, not that the model’s weights were produced on it.

    3. Technical Breakdown: How the Native FSDP2 Training Path Works

    The core of this adaptation is a native FSDP2 (Fully Sharded Data Parallel, second generation) multimodal training path. Its value is chaining model loading, shard scheduling, and gradient synchronization into a single unbroken pipeline.

    3.1 Model Loading and Sharding

    A model this large cannot reside entirely in one card’s memory, so it must be partitioned. The key FSDP2 improvement is managing state at per-parameter shard granularity: parameters, gradients, and optimizer state are all stored as shards, so memory usage scales roughly linearly with parameter count rather than replicating whole layers.

    1. # Illustration: FSDP2-style shard wrapping (pseudocode, semantics only)
    2. for layer in model.layers:
    3. layer = fully_shard(layer) # parameters/gradients/optimizer state stored as shards
    4. layer.to(device) # shards land on the local accelerator after sharding
    5. optimizer = torch.optim.AdamW(
    6. model.parameters(), lr=1e-4, foreach=False
    7. ) # disable foreach to avoid missing operators on non-target architectures

    The most common pitfall here: fused optimizer implementations (such as the foreach or fused paths) are usually prioritized for mainstream architectures. On a domestic card you need to explicitly fall back to the per-parameter update path, otherwise the run fails outright with a missing-operator error.

    3.2 Forward, Backward, and Gradient Synchronization

    One training step is essentially the orchestration of three collective communications: the forward pass needs an all-gather of parameter shards, the backward pass needs an all-gather of gradient shards, followed by a reduce-scatter to reduce gradients. All three must overlap with computation, or communication becomes the throughput bottleneck.

    1. step timeline (simplified)
    2. ├─ forward : all-gather(param) → compute → free
    3. ├─ backward : all-gather(grad) → compute → reduce-scatter(grad)
    4. └─ optimizer: update local shard → update optimizer state

    In a multi-node setting, intra-node interconnect bandwidth is usually far higher than the inter-node network, so the parallel strategy should follow an “intra-node first” principle: keep tensor parallelism within the 8 cards of a single node, and spread data parallelism and shard groups across nodes, avoiding high-frequency communication over the slower inter-node links.

    3.3 Mixed Precision and Numerical Stability

    Finite loss and gradient norms with no overflow across all 400 steps is the hard indicator of whether training adaptation genuinely succeeded. Common practices include:

    • Compute in low precision (such as BF16/FP16) while keeping the master copy of parameters and optimizer state in FP32;
    • Apply loss scaling with dynamic backoff on overflow;
    • Clip the global gradient norm to suppress spikes caused by abnormal samples;
    • Keep FP32 accumulation at key reduction points to avoid precision collapse when summing shards.

    4. Validation: What 400 Consecutive Updates Demonstrate

    Choosing 400 consecutive optimizer updates as the acceptance criterion has engineering justification:

    1. Surfacing numerical problems: overflow and NaN typically appear within tens of steps, and a few hundred steps cover the learning-rate warmup phase;
    2. Exercising communication paths: in multi-node settings, link jitter, timeouts, and reconnects need enough steps to trigger;
    3. Verifying state consistency: optimizer state such as momentum must accumulate correctly across shards step by step, and short runs cannot reveal drift.

    A recommended acceptance checklist can be fixed as: per-step latency and throughput curves, loss and gradient norm curves, peak memory and fragmentation rate, communication share, and recovery under fault injection during long runs. “It completed one step” is not a conclusion.

    5. Four Engineering Capabilities for Scaled Deployment

    Going from “it can train” to “it trains out of the box” requires four layers of capability:

    • Operator layer: coverage of long-tail operators such as attention variants, normalization, activations, and sparse/expert routing, plus automatic fallback and alerting for missing operators;
    • Parallelism layer: combined strategies for data, tensor, pipeline, and expert parallelism, with support for automatic search and topology-aware placement;
    • Fault-tolerance layer: periodic checkpointing, asynchronous writes, faulty-node isolation, and automatic resume; without fault tolerance, long training runs have no effective compute;
    • Tooling layer: performance analysis, communication visualization, precision debugging, and one-click reproduction, turning expert experience into default configuration.

    Supporting infrastructure is typically also needed: parallel file storage to carry checkpoint throughput, object storage for cold-data archiving, a container platform for consistent environment delivery, and logging plus monitoring and alerting for long-run stability observation. These are general capability categories, not proprietary features of any specific product.

    6. Industry Progress and Outlook

    Recent practice pairing domestic chips with domestic models already spans several directions: completing full training of a 200-billion-parameter scientific foundation model from scratch, supporting full-stack native training of a five-dimensional world model, and end-to-end training of an embodied-intelligence brain model, with the push now moving toward trillion-parameter scale. The significance of this trajectory is that the competitive focus for domestic full-feature GPUs has shifted from single-card peak compute to software stack maturity and long-run training stability.

    Practical advice for developers: validate training adaptation at small and medium scale first, treating numerical stability and communication efficiency as first-class metrics; keep reproducible experiment records; follow topology-aware principles in parallel strategy; and design fault tolerance and checkpointing up front rather than patching them after a long run collapses. Only when operator coverage, parallel orchestration, fault recovery, and tooling are all in place does “out-of-the-box training” of frontier models on domestic hardware become a practical reality.