Domestic Full-Feature GPUs Complete the Training Pipeline for Ultra-Large Models

    A recent engineering validation shows that a flagship AI training-and-inference accelerator and its software stack can support the training adaptation of an open model approaching 3 trillion parameters. Running across two nodes with 16 GPUs, the system completed 400 consecutive optimizer updates while keeping loss and gradient norms finite, with no numerical overflow or abnormal interruption. The result demonstrates more than basic model execution: it validates cross-node communication, multi-process coordination, numerical stability, and long-running training reliability. This article explains what the validation proves, what it does not prove, and how to turn a successful stability test into a reusable training engineering system.

    1. Define the Boundary: Training Adaptation Is Not Proof of Pretraining Origin

    In industry discussions, the term “adaptation” is often used too broadly. At least three types of work should be distinguished:

    1. Inference adaptation: Enables a model to perform forward computation and production deployment on target hardware. The focus is instruction coverage, operator precision, graph optimization, quantization, and batch scheduling. The goal is to validate output correctness and throughput.
    2. Training adaptation: Extends inference support with backpropagation, optimizer updates, gradient synchronization, mixed-precision execution, and checkpoint saving and recovery. The goal is not merely to complete one step, but to maintain numerical stability, correct communication, and recoverability during continuous multi-GPU, multi-node updates.
    3. Pretraining: Performs long-term, large-scale training from initialization on the target cluster. This involves data composition, training duration, cluster size, and the source of compute resources. Successful training adaptation only shows that the hardware and software stack are capable of supporting the model’s training pipeline. It does not prove where the model’s original foundation-model pretraining compute came from.

    Therefore, “training adaptation completed for a model” should not be interpreted as “the model was pretrained on this chip.” For example, a model technical report may validate both a dedicated accelerator and a general-purpose GPU route while presenting a detailed expert-parallel configuration. Such evidence is generally understood as validation of inference operators or a specific parallel strategy, rather than a complete disclosure of the compute used for foundation-model pretraining.

    Maintaining this distinction is the first step in evaluating domestic AI compute capabilities.

    2. Technical Path: Native Fully Sharded Data-Parallel Multimodal Training

    The key phrase in this validation is a “native fully sharded data-parallel multimodal training path.” Its engineering implications can be divided into four layers:

    • Model loading and sharding: Parameters, gradients, and optimizer states are partitioned across 16 training processes to prevent a single GPU’s memory from becoming the bottleneck. The loading stage must ensure shard consistency and reproducible random initialization.
    • Shard scheduling: Based on the model architecture, expert distribution, and multimodal input patterns, the system determines how to combine parameter sharding, activation recomputation, and data sharding. The goal is to reduce cross-node communication hotspots.
    • Gradient synchronization: After backpropagation, gradients are synchronized using a bucketing strategy so that communication can overlap with computation where possible. Cross-node communication requires topology-aware routing and timeout management.
    • Complete training pipeline: The process covers data loading, forward computation, backpropagation, gradient clipping, optimizer updates, checkpoint saving, and metric reporting. If any of these components is missing, the system cannot be described as providing end-to-end stable training.

    Multimodal workloads introduce additional data heterogeneity. Text, image, and video samples differ in sequence length, encoding cost, and sampling weight, which can create load imbalance. The training path must support variable-length sequence packing, modality-aware sampling, sharded data loading, and load balancing. Otherwise, a two-node, 16-GPU job can easily degrade into a long-tail pattern in which some GPUs wait while others remain underutilized.

    3. What Two Nodes, 16 GPUs, and 400 Steps Actually Validate

    Two nodes with 16 GPUs means a cross-node training setup with eight GPUs per node. Completing 400 consecutive optimizer updates is a meaningful long-run stability baseline, but it is not proof of convergence or sufficient evidence of scalability to much larger clusters. A more accurate interpretation is that, under the tested configuration, the training loop ran continuously without fatal numerical or communication failures.

    Engineering teams should focus on the following metrics:

    • Finite loss values: Whether NaN or Inf occurs, and whether abnormal steps trigger automatic safeguards;
    • Finite gradient norms: Whether gradients explode or vanish, and whether the clipping threshold is appropriate;
    • Optimizer-state consistency: Whether parameters remain synchronized after sharded updates and whether checkpoints can be restored correctly;
    • Communication health: Cross-node bandwidth, retransmissions, timeouts, and collective-communication completion time;
    • Memory trends: Whether GPU memory or host memory grows because of leaks or fragmentation;
    • Job continuity: Whether processes exit, nodes become unreachable, or data loading stalls.

    The key checkpoints in the training loop can be represented with the following pseudocode:

    1. def run_training(max_steps):
    2. model = load_sharded_model()
    3. optimizer = build_optimizer(model)
    4. for step in range(max_steps):
    5. batch = next_multimodal_batch()
    6. loss = forward_backward(model, batch)
    7. assert is_finite(loss), "loss overflow"
    8. grad_norm = sync_and_clip_gradients(model)
    9. assert is_finite(grad_norm), "gradient overflow"
    10. optimizer_update(model, optimizer)
    11. if step % checkpoint_interval == 0:
    12. save_sharded_checkpoint(model, optimizer, step)
    13. report_metrics(step, loss, grad_norm)

    This pseudocode highlights three principles:

    • Check numerical finiteness at every step;
    • Complete gradient synchronization and clipping before the optimizer update;
    • Store both sharded model state and sharded optimizer state in checkpoints so that resumed training remains consistent.

    4. Building an Engineering System: From Fast Inference to Stable End-to-End Training

    Whether a two-node, 16-GPU validation can be reproduced at larger scale depends on the surrounding engineering system. A practical acceptance checklist should include:

    1. Environment and version matrix: Pin and version the driver, runtime, communication libraries, compiler, and framework configuration to avoid failures when moving to another machine.
    2. Operator-precision alignment: Establish precision baselines for critical forward and backward operators, distinguishing acceptable numerical error from genuine faults.
    3. Progressive scaling: Move from eight GPUs on one node to 16 GPUs across two nodes, and then to additional nodes. At each stage, record throughput, communication overhead, and numerical trends.
    4. Long-run testing and fault injection: In addition to continuous-step tests, deliberately introduce node restarts, network instability, and process failures to validate automatic restart and checkpoint-based recovery.
    5. Monitoring and alerting: Collect loss, gradient norm, learning rate, throughput, memory usage, communication bandwidth, and error rate in a unified system, with threshold-based alerts.
    6. Performance baselines: Record per-GPU throughput, scaling efficiency, and communication overhead. “It runs” is not enough; the system must also run efficiently, reliably, and economically.
    7. Automated regression testing: Turn model loading, shard scheduling, gradient synchronization, and checkpoint recovery into repeatable regression suites. Run the baseline after every software-stack upgrade.

    In cloud-based collaborative environments, general-purpose components such as object storage, container platforms, logging services, and monitoring and alerting systems provided by Baidu AI Cloud can serve as infrastructure for data, jobs, logs, and metrics. However, training stability still depends on parallelization strategy, communication management, and numerical-stability design. Platform services cannot replace engineering validation.

    5. Moving from “Can Train” to “Ready to Train”

    Several deployments have already demonstrated the use of domestic compute to train domestic models, including training a scientific foundation model from scratch with approximately 236 billion parameters, supporting fully native training of a 5D world model, and jointly completing the end-to-end training of an embodied-brain model. Work is also progressing toward training models with trillion-scale parameter counts.

    These cases indicate that training adaptation is moving beyond getting a single model to run. The goal is a reusable capability that supports multiple models, modalities, and scales.

    “Ready to train” is not a slogan. It is a deliverable capability set that includes preconfigured parallelization templates, automatic topology discovery, environment-image consistency checks, recommended performance baselines, long-run stability test suites, fault recovery, and elastic fault tolerance. Developers should receive more than a report showing a successful step count. They need reproducible configurations, observable metrics, and rollback-capable processes.

    The conclusion is clear: 400 stable optimization steps across two nodes and 16 GPUs represent an important milestone in the engineering of training adaptation, but the result should be understood as validation of pipeline completeness rather than proof of convergence or large-scale production readiness. The next competitive frontier is to move from one-off validation to standardized tooling, enabling advanced models on domestic full-feature GPUs to progress from “can train” to “train reliably, train efficiently, and train out of the box.”