Dual-Machine 16-Card Training Adaptation for Domestic GPUs: Verification Scope and Boundaries
As large language models scale towards trillions of parameters, the underlying compute infrastructure faces unprecedented demands. Recent progress in adapting a domestically produced, full-function GPU for training models with nearly 3 trillion parameters marks a shift from inference validation to training verification. However, public materials offer limited testing scopes, making it crucial to distinguish between proven conclusions and areas requiring further data. This article explores adaptation challenges, the implications of current tests, and evaluation methodologies.
Introduction
As the parameter scale of large models pushes towards the trillions, the underlying compute infrastructure faces increasingly demanding requirements. Recently, a domestically produced, full-function GPU achieved new progress in training adaptation for models with nearly 3 trillion parameters, indicating a transition from inference validation to training verification for domestic compute power. However, the testing scope detailed in public materials remains limited. Readers must distinguish which conclusions are supported by evidence and which require supplementary data. This article elaborates on adaptation challenges, the implications of current tests, and evaluation methodologies.
1. Differences Between Inference Validation and Training Adaptation
The industry often refers to “Day 0 adaptation” as a model’s ability to complete forward inference on a specific chip—that is, outputting prediction results. Successful inference does not imply that the chip can efficiently perform pre-training or fine-tuning. It is widely recognized that chip comparisons in some technical reports focus heavily on inference operators and cannot be used to infer the compute source for a base model’s original pre-training.
Training imposes much stricter hardware requirements. Backpropagation, gradient updates, and optimizer states introduce significant computational and memory access pressure. The differences between the two types of acceptance are as follows:
| Comparison Item | Inference Validation | Training Adaptation |
|---|---|---|
| Operator Scope | Mainly forward operators | Forward, backward, optimizer, and communication operators |
| Memory Pressure | Model weights and activation values | Weights, gradients, optimizer states, and activation values |
| Communication Pressure | Generally low | Continuous gradient synchronization, high cross-node pressure |
| Acceptance Criteria | Correct output results | Long-term numerical stability, interrupt recovery |
2. Using FSDP to Reduce Single-Card Peak Memory
FSDP (Fully Sharded Data Parallel) shards parameters, gradients, and optimizer states across multiple GPUs. When computing a specific layer, the required shards are temporarily gathered to the local GPU and released after computation. This method significantly reduces the peak memory per GPU without altering the model’s total state size.
Take mixed-precision training as an example. When using the Adam optimizer, each parameter requires approximately 16 bytes: 2 bytes for bf16 weights, 2 bytes for bf16 gradients, 4 bytes for fp32 master weights, and 4 bytes each for Adam’s first and second momentums. For a 3-trillion-parameter model, the total state size is about 48 TB, excluding activation values. Evenly distributed across 16 GPUs, each card would still require about 3 TB. This far exceeds the memory capacity of a single GPU. The RAM of two servers is also typically much smaller than 48 TB, and offloading to NVMe is subject to bandwidth limitations.
Therefore, sharding across 16 cards alone cannot directly accommodate the full training state of a 3-trillion-parameter model. To verify the test results, the following information must be clarified:
- The actual parameter scope involved in training: full-parameter training or partial-parameter training (e.g., freezing certain layers or using adapters).
- Sharding strategy: fully sharded, hybrid sharding, and sharding granularity.
- Mixed precision configuration and the storage location of optimizer states.
- Whether CPU or NVMe offloading is used, including the offload hierarchy and bandwidth.
- Whether activation checkpointing is utilized.
3. How Dual-Machine 16-Card Verifies Training Stability
This test utilized 16 flagship AI training and inference compute cards across two machines for cross-node joint training. The objective was to observe numerical stability and system reliability over extended operation.
What 400 Consecutive Optimizer Updates Indicate
The test required 16 training processes to continuously complete 400 optimizer updates. 400 steps qualifies as a short smoke test. It demonstrates that the link is functional and that no immediate overflow or crash occurs under mixed precision. However, it does not prove model convergence or represent the stability of a complete pre-training run. To support claims of “full-link stable training,” longer training durations, checkpoint recovery logs, and complete loss curves are necessary.
The following should be recorded during validation:
- Loss curve over steps, observing whether it decreases smoothly.
- Gradient norm and its thresholds, such as the maximum norm for gradient clipping.
- Random seeds and data order to ensure reproducibility.
- Specific FP16 or BF16 configurations, including loss scaling settings.
- Communication topology, including inter-node network type and bandwidth.
Gradient Synchronization Performance Requires Empirical Testing
FSDP executes collective communications like All-Reduce and All-Gather during backpropagation. Communication efficiency should be measured with empirical data. Common metrics include bandwidth and latency per communication, the overlap ratio between communication and computation, and the time breakdown of a single training step. Public materials do not provide specific latency data; thus, conclusions like “extremely low latency” and “avoiding communication bottlenecks” still require verification.
4. Boundaries of Ecosystem Cases
The cases mentioned include: training a 236-billion-parameter base model from scratch, the native training of a so-called world-first 5D world model, and the full-process training of an embodied AI brain model. These cases indicate that domestic compute power has been attempted in multiple training scenarios. However, the cluster scale, precision configuration, training duration, and complete results for each case should be based on original release materials. When citing, verify the sources and note the testing conditions.
5. Three Development Directions for the Domestic Compute Training Ecosystem
- Depth and Breadth of Operator Adaptation: Continuously optimize operator libraries for Transformer and sparse model structures to improve throughput for compute-intensive tasks.
- Multi-Card and Multi-Machine Collaboration Efficiency: Optimize topology and communication protocols to reduce cross-node latency, and measure scaling efficiency using linear speedup.
- Automated Toolchains: Provide out-of-the-box training frameworks and debugging tools to lower the barrier for migrating and training large models on domestic hardware.
Risk Warning
The test results mentioned in this article come from a specific dual-machine, 16-card environment and do not represent performance across all models, scales, or network topologies. Before adopting similar solutions, you should re-estimate memory and verify stability based on your own model scale, precision configuration, and network environment.
Conclusion
Transitioning from inference validation to full-scale training adaptation is a complex process. By understanding the boundaries of current tests and applying rigorous verification methodologies, developers can better evaluate hardware capabilities and ensure stable, efficient training for trillion-parameter models.
