Domestic GPU Validates the Full Training Pipeline for a Trillion-Parameter Multimodal Model
A recent validation run completed 400 consecutive training steps for a 2.8-trillion-parameter MoE multimodal model on a two-node, 16-GPU cluster. The result demonstrates progress in memory management, sparse computation, distributed communication, numerical stability, and fault recovery, while also highlighting the gap between proving that a model can run and achieving efficient, production-scale pretraining.
The Training Challenges of Trillion-Parameter Multimodal Models
As large models move beyond the trillion-parameter scale and expand from text-only systems to multimodal architectures that process text, images, audio, and other inputs, the demands placed on underlying compute infrastructure have changed substantially.
The model used in this validation contained approximately 2.8 trillion parameters, adopted a Mixture-of-Experts (MoE) architecture, and natively supported multimodal inputs. Two characteristics are especially important during training:
- Dynamic sparse attention: Different input tokens activate only a subset of key-value pairs during attention computation, reducing the amount of work required.
- Expert routing: Each forward pass activates only a small number of expert subnetworks. Although the total parameter count is enormous, the computation performed for each step remains highly sparse.
Sparse computation, however, does not automatically translate into efficient training. Dynamic sparse attention cannot be fully predicted in advance, so data loading, operator scheduling, and memory allocation require more flexible runtime support. Expert routing also introduces cross-device All-to-All communication. Each token may be sent to an expert located on another GPU or node, and the communication volume grows with the model size and the number of experts.
At the trillion-parameter scale, a single training step may involve tens of gigabytes of communication. Communication latency can account for a larger share of step time than computation itself. Multimodal inputs further complicate the situation because sequence lengths and feature dimensions can vary significantly, increasing memory fragmentation and creating workload imbalance.
As a result, verifying whether a domestic GPU platform can reliably support the complete training pipeline for this type of model is not merely a performance benchmark. It is a comprehensive test of cluster communication, memory management, operator coverage, numerical stability, and fault recovery.
Core Validation: 400 Consecutive Steps with Stable Numerical Behavior
The disclosed validation used two servers with a total of 16 GPUs. Running a 2.8-trillion-parameter model on such a relatively small cluster represents a significant memory-optimization challenge.
Training a model of this scale would normally require thousands of GPUs, combined through multiple forms of parallelism, including tensor parallelism, pipeline parallelism, and expert parallelism. The reason a two-node, 16-GPU configuration can run the model is the model’s sparse activation pattern. Each token activates far fewer parameters than the model contains in total. Expert parameters can therefore be distributed across GPU memory, while only the experts activated for the current computation are loaded into the relevant compute units.
This approach requires very low-overhead memory swapping across the software and hardware stack.
According to the disclosed results, the validation completed 400 consecutive training steps without NaN or Inf values and without abnormal interruption. This outcome depends on more than simply executing the model. The training process used mixed precision, typically representing gradients with BF16 or FP16 while storing master weights and optimizer states in FP32.
At the trillion-parameter scale, a single gradient explosion or loss of precision can cause the loss curve to diverge. The training framework therefore needs to perform gradient clipping, loss scaling, and periodic gradient checks during iteration. The validation specifically highlighted a smooth decline in loss and successful gradient checks, indicating support for at least the following mechanisms:
- Dynamic loss scaling: The scaling factor is adjusted according to gradient magnitude to reduce the risk of underflow or overflow.
- Gradient norm monitoring: If the gradient norm exceeds a threshold, the system can automatically roll back or adjust the learning rate to maintain numerical stability.
Four hundred steps are still a small fraction of a complete pretraining run, which may require hundreds of thousands of steps. Nevertheless, a continuous run of this length is sufficient to expose issues such as distributed communication deadlocks, timeouts, and memory leaks.
The fact that the system reportedly ran continuously for multiple days without interruption suggests that it had effective fault-tolerance and resource-reclamation capabilities.
Technical Challenge One: Dynamic Sparse Attention and GPU Memory Management
Dynamic sparse attention mechanisms, including variants such as MQA, GQA, and sliding-window attention, are already widely used during inference. Training is more difficult because backward propagation often requires intermediate attention information or equivalent data. The sparse results generated during the forward pass cannot always be reused directly, which can significantly increase memory consumption.
For a 2.8-trillion-parameter model with a sequence length of 8,192 and 64 attention heads, a single attention score tensor could theoretically reach:
8192 × 8192 × 64
That represents approximately 4.3 billion elements. Even with BF16 storage, the tensor would require around 8.6 GB of memory. Multimodal inputs may include high-resolution image patches, resulting in even longer sequences and greater memory pressure.
An engineering-grade training pipeline therefore needs a dedicated memory planner. The relevant techniques include:
- Activation checkpointing: Only key activations, such as the output of each layer, are stored during the forward pass. Other activations are recomputed during backpropagation, trading additional computation for lower memory usage. For sparse attention, implementations may store the indices of nonzero elements rather than a complete dense matrix.
- Memory pooling and defragmentation: Dynamic routing can cause activation sizes to vary across devices. Static cache allocation may create substantial fragmentation. A memory-pooling system can satisfy requests of different sizes from a shared pool and perform defragmentation between iterations.
- CPU offloading and NVMe staging: Optimizer states or portions of the expert parameters can be moved to host memory. When a particular expert is needed, it can be loaded dynamically. If each GPU has 80 GB of memory, a 16-GPU cluster provides only 1.28 TB of total GPU memory, which is far from sufficient to store all 2.8 trillion parameters and optimizer states. Most of the model state must therefore reside in CPU memory or on NVMe SSDs, with only the currently activated experts brought into the compute path.
This design requires sufficient PCIe and network bandwidth. Otherwise, data movement becomes the primary bottleneck.
Technical Challenge Two: Expert Routing and Cross-Node Communication
MoE models typically use a Top-K routing strategy, such as K=1 or K=2. After the gating network makes a routing decision, each token is sent to one or two devices hosting the selected experts.
In a two-node, 16-GPU configuration, each GPU may host multiple experts, meaning that output from any one GPU may need to be sent to any other GPU. This creates a demanding All-to-All communication pattern.
For example, if each token generates 1 KB of gradient data and a batch contains:
8192 × 1024
tokens, the total communication volume for one step could reach 8 GB. Distributed across 16 GPUs, each GPU might receive approximately 0.5 GB. On a 10 GbE network, the communication time alone could reach several seconds, potentially exceeding the computation time.
Common strategies for reducing this overhead include:
- Grouped communication and balanced routing: Experts are grouped by device, while an auxiliary load-balancing loss constrains the number of tokens received by each expert. This helps prevent individual GPUs from becoming communication hotspots.
- Overlapping communication with computation: All-to-All communication is divided into smaller packets. While the current layer is being computed, data required by the next layer is prefetched to hide communication latency. This requires asynchronous communication primitives, such as nonblocking collective operations similar to those provided by NCCL.
- Hybrid parallelism: Expert parameters use expert parallelism, while non-expert layers use tensor and pipeline parallelism. The two-node, 16-GPU validation may have used a combination of EP and PP so that expert-routing traffic remained within a tensor-parallel group, reducing global communication.
The emphasis on the absence of abnormal interruption also suggests that the communication layer included mechanisms such as timeout handling, retransmission, congestion control, and automatic recovery from link failures.
In a large cluster, a connection failure on a single GPU can bring down the entire training job. The successful validation likely also depended on periodic checkpointing and automatic recovery. At fixed step or time intervals, the model state can be saved to a distributed file system. If a communication timeout or hardware failure occurs, training can resume from the most recent checkpoint instead of restarting from the beginning.
The State of Ecosystem Compatibility
Across the domestic GPU ecosystem, compatibility work for large models is accelerating. Several domestic training accelerators can reportedly support multimodal pretraining and reinforcement learning on clusters containing thousands of GPUs, with some platforms reaching numerical alignment with mainstream international products.
Training adaptations for widely used open-source models, including Chinese-language Llama variants, Qwen, and Hunyuan, have also expanded from thousand-GPU to ten-thousand-GPU environments. Some fully domestic clusters have completed training for important model versions, with effective training rates—defined as actual computation time divided by total elapsed time—exceeding 97%. This indicates that communication and waiting overhead were kept below 3%. Some vendors also report compatibility with more than 400 mainstream models, covering most non-closed-source systems.
Public disclosures, however, tend to focus on cluster size and model coverage. They rarely provide detailed information about the number of training steps, loss curves, or gradient statistics.
The validation of a 2.8-trillion-parameter MoE multimodal model is notable because it separately disclosed the loss curve and gradient-check results for 400 consecutive steps. Such engineering details remain uncommon in publicly available domestic case studies. Trillion-parameter training typically involves commercial confidentiality, and failures are common. As a result, detailed successful validations can provide more practical value than general claims about compatibility.
For developers, these measurements help assess numerical stability, distributed communication behavior, and long-running reliability, all of which affect the cost and complexity of migrating workloads to a new GPU platform.
Implications for Developers and Cloud Infrastructure Selection
For organizations planning to train trillion-parameter models, especially multimodal systems, peak compute throughput is no longer the only selection criterion. The following capabilities are equally important:
- Sparse-computation support: Does the GPU provide hardware acceleration for sparse attention and MoE workloads, such as sparse tensor instructions? Can it efficiently process irregular sparse patterns?
- Network compatibility: Does the platform support InfiniBand or RoCE? Can it provide low-latency, high-bandwidth RDMA communication and a mature collective communication library comparable to NCCL?
- Framework integration: Can mainstream frameworks such as PyTorch, DeepSpeed, and Megatron be integrated with minimal effort? What is the operator coverage, and how often does the system fall back to slower implementations?
- Reliability and observability: Are training monitoring, log collection, fault-injection testing, automatic checkpointing, and recovery available?
Many cloud providers now offer clusters based on domestic GPUs, but a large portion of these offerings remains focused on inference. For training workloads, users should prioritize prevalidated clusters—environments in which the provider has already completed the full pipeline on the same or a similar model.
The current validation is important because it shows that a domestic GPU platform can execute sparse training for a trillion-parameter-scale model even with limited resources. Although the run was not long enough to represent full pretraining, it at least demonstrated the functional correctness of GPU memory scheduling and distributed communication protocols.
As larger-scale cluster tests are completed, this capability may become increasingly routine.
From “Trainable” to “Efficiently Trainable”
Completing 400 training steps without interruption is a meaningful starting point, but it remains far from large-scale commercial pretraining.
A complete pretraining run for a trillion-parameter model may take weeks or months. Such workloads impose demanding requirements on mean time between failures, thermal management, power consumption, and operational automation.
The current validation is better understood as a smoke test demonstrating basic feasibility. The real challenge will emerge when the system scales to 512 or 1,024 GPUs. At that point, communication topology, workload balance, and failure handling may grow in complexity in nonlinear ways.
The combination of sparse attention and expert routing also leaves substantial room for tuning. Important variables include expert capacity thresholds, auxiliary-loss coefficients, and sequence-packing strategies.
The domestic GPU ecosystem needs more detailed technical logs of this kind for developers to study and evaluate critically—not merely high-level promotional statements. When a smooth loss curve becomes a standard part of technical reporting rather than a rare highlight, it will be reasonable to say that domestic computing platforms have truly crossed the threshold for large-scale model training.
