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

    This article explains a recent training adaptation in which a domestic GPU vendor ran a nearly 3-trillion-parameter multimodal model on 16 accelerators across two nodes for 400 consecutive optimizer updates. It clarifies the difference between training adaptation and pre-training, breaks down the native FSDP2 training path, outlines the stability checks covered by the 400-step run, and lists the engineering capabilities required to move from "it runs" to "ready to train out of the box."

    1. Background: A Training Adaptation, Not Pre-Training From Scratch

    A domestic GPU vendor recently announced that, using its flagship training-and-inference accelerator card and its in-house software stack, it quickly completed the training adaptation of a flagship multimodal model with a parameter scale of nearly 3 trillion. In an environment of 16 accelerator cards across two nodes, the run completed 400 consecutive optimizer updates, with the loss value and gradient norm remaining finite throughout and no numerical overflow or task interruption.

    A common misunderstanding needs to be cleared up first: a successful training adaptation does not mean the model completed its original pre-training on this chip. Adaptation answers whether a given model structure, parallel strategy, and operator combination can run correctly, stably, and reusably on the target hardware and software stack. Pre-training answers how to start from random initialization and learn parameters to a usable state using massive corpora. The two differ completely in engineering pipeline, validation criteria, and cost magnitude.

    In industry practice, technical reports for leading models often validate multiple acceleration backends side by side, with the focus usually on the feasibility of inference operators and parallel schemes, while the original training compute source of the base model is not necessarily disclosed. Therefore, the value of an adaptation effort should be judged by whether it closes the full training loop, rather than simply equating it with “a domestic chip trained a given model.”

    2. Technical Breakdown: What the Native FSDP2 Training Path Delivers

    The core of this adaptation is a native FSDP2 (Fully Sharded Data Parallel) multimodal training path that chains together model loading, shard scheduling, forward and backward passes, gradient synchronization, and optimizer updates into a closed loop.

    2.1 Model Loading and Sharding

    A model of this scale cannot reside entirely in a single card’s memory, so parameter sharding and metadata construction must happen at load time. Engineering work typically focuses on three points: whether shard granularity matches the computation graph, whether loading supports parallel reads, and whether metadata (shape, dtype, device mapping) is consistent and verifiable.

    Illustrative pseudocode:

    1. # Pseudocode: illustrates the sharded training initialization flow only, not a specific API
    2. model = build_model(config) # Build the model structure
    3. model = shard_model(model, strategy="fsdp2") # Shard according to the FSDP2 strategy
    4. optimizer = build_optimizer(model, lr=1e-4) # Build the optimizer
    5. for step, batch in enumerate(dataloader):
    6. loss = model(batch) # Forward pass
    7. loss.backward() # Backward pass
    8. optimizer.step() # Update
    9. optimizer.zero_grad() # Clear gradients

    2.2 Shard Scheduling and Memory Accounting

    The key benefit of FSDP2 is that parameters, gradients, and optimizer states are sharded within the data-parallel group, significantly reducing peak memory per card. In practice, you need to account for per-card parameter shard usage, communication buffers, the extra compute cost introduced by activation checkpointing, and peak temporary tensors. Inaccurate memory accounting is the most common hidden risk in long-running stability.

    2.3 Cross-Node Gradient Synchronization

    Sixteen cards across two nodes means cross-node communication is involved. This stage requires attention to topology-aware collective communication, overlap of communication with computation, and synchronization waits caused by stragglers. Common engineering measures include bucketing to merge small messages, scheduling the communication stream according to the compute stream, and locating and isolating abnormally slow nodes.

    3. Stability Validation: What 400 Consecutive Steps Show

    The experiment completed 400 consecutive optimizer updates on 16 cards across two nodes, with loss and gradient norm remaining finite throughout. The value of this result lies not in the step count itself but in the fact that it covers several typical failure surfaces of long-running training:

    • Numerical stability: Under mixed precision, a master copy of the weights must be maintained, with loss scaling to avoid gradient underflow; gradient clipping can suppress occasional spikes.
    • State consistency: After sharding, optimizer states and parameter shards must be strictly aligned; otherwise, a hidden problem arises in which updates appear to happen but are actually misaligned.
    • Fault recovery: Long-running stability depends on periodic checkpoints and resume-from-checkpoint capability, ensuring a single-point anomaly does not cause an overall rollback.
    • Observability: Loss, gradient norm, per-card memory, communication time, and node health need to be brought into unified monitoring and alerting.

    Illustrative monitoring metrics:

    1. step, loss, grad_norm, mem_peak(GiB), comm_time(ms), node_health
    2. 120, 2.31, 0.87, 58.4, 312, ok
    3. 121, 2.29, 0.91, 58.6, 309, ok

    4. From “It Trains” to “Ready to Train Out of the Box”: An Engineering Checklist

    Supporting full-pipeline stable training for frontier complex models requires far more than a few working operators; it takes a systematic set of engineering capabilities:

    1. Operator coverage and precision alignment: Compare layer by layer against a reference implementation, and establish error thresholds and regression cases.
    2. Composable parallel strategies: Data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism need to support flexible composition and auto-tuning.
    3. Automated toolchain: One-command launch of distributed jobs, automatic collection of logs and metrics, and automatic archiving of the failure context.
    4. Ecosystem compatibility: Training frameworks, scheduling systems, object storage and log services, monitoring and alerting, and other common cloud product categories need to integrate seamlessly.
    5. Smooth scaling: From a single node to multiple nodes, and from hundreds to thousands of cards, communication and scheduling strategies need to keep linearity under control.

    5. Industry Significance and Trend Outlook

    The value of “domestic chips training domestic models” is moving from single-point validation to scaled practice: from training small and medium parameter models from scratch, to full-stack native training of multimodal and world models, and then to full-pipeline training of embodied intelligence models, the path is becoming clear. The next stage of competition will focus on parallel efficiency at the trillion-parameter scale, long-running stability duration, and toolchain maturity.

    For developers, realistic expectations matter: adaptation solves “runs and runs stably,” while pre-training solves “learns and learns well.” With the general compute and container platforms, object storage, monitoring and alerting, and other capabilities of cloud platforms such as Baidu AI Cloud working together, teams should focus their energy on reproducible training engineering standards. Unified environments, unified metrics, and a unified checkpoint strategy are the real foundation for moving from “it trains” to “ready to train out of the box.”