From Inference to Training: Lessons from Running Large Model Training on a Domestic GPU Cluster
A domestic GPU platform recently completed a stable 400-step large model training run on a two-node cluster with 16 accelerators. This article examines the engineering challenges behind that milestone, including operator and framework compatibility, distributed parallelism, mixed-precision training, memory optimization, numerical stability, fault tolerance, and the validation methodology required to move from a working proof of concept to efficient, reliable, large-scale training.
1. Background: Moving from “Inference-Ready” to “Training-Ready”
In large model deployment, inference and training place very different demands on the underlying compute platform. Inference typically involves only forward computation and has a relatively uniform workload. It also places fewer requirements on the completeness of the software and hardware stack. Training, by contrast, includes forward propagation, backpropagation, gradient synchronization, optimizer state updates, checkpointing, and resume-from-checkpoint workflows. These processes require broad operator coverage, mature communication libraries, effective memory management, and deep framework integration.
Recently, a domestic GPU vendor publicly announced that its compute accelerators had completed training-stack integration with a mainstream open-source large model. The platform successfully ran 400 training iterations on a two-node cluster with 16 accelerators.
The importance of this result is not simply the number of steps completed. It demonstrates that a domestic compute platform can support the full large model training workflow rather than being limited to inference scenarios. This article examines the key technical problems that must be solved to make such a training pipeline work.
2. The Technical Barriers to a Working Training Pipeline
Successfully running a large model training pipeline requires overcoming several major challenges.
1. Deep Integration Between Operators and Frameworks
Training exercises many operators that may not be used during inference, including backward-propagation operators, optimizer-related fused operators such as AdamW parameter updates, and backward implementations for different normalization layers.
A domestic GPU platform must map these operators completely to the hardware instruction set through its compiler layer or operator libraries. At the same time, mainstream deep learning frameworks are often deeply optimized for specific hardware architectures. A domestic platform therefore typically needs to integrate through plugins or a customized framework distribution.
This integration must cover more than basic API compatibility. Components such as graph capture, kernel scheduling, and device-memory allocators must all work correctly for the training workload.
2. Support for Distributed Parallelism
Large model training depends on combinations of parallelism strategies. Common approaches include:
- Data parallelism (DP): Each device holds a complete copy of the model, and gradients are synchronized through AllReduce.
- Tensor parallelism (TP): Weight matrices within a layer are split across multiple devices, requiring frequent AllReduce and AllGather operations.
- Pipeline parallelism (PP): Different layers are placed on different devices, with activations transferred through point-to-point communication.
- Expert parallelism (EP): A specialized partitioning strategy for mixture-of-experts models that involves All-to-All communication.
For a two-node, 16-accelerator configuration, a common approach is to combine intra-node tensor parallelism with data parallelism. Multiple accelerators within the same node generally communicate through high-speed interconnects, while cross-node synchronization relies on a high-speed network, such as an RDMA-based network.
Whether the communication library can reliably support collective communication primitives and coordinate correctly with the hardware networking stack is critical to the success of the training run.
3. Mixed Precision and Memory Optimization
Large model training commonly uses BF16 or FP16 mixed precision, together with techniques such as activation recomputation and optimizer-state sharding to reduce memory consumption.
This requires native hardware support for low-precision data types, as well as numerical behavior that remains consistent with the broader software ecosystem. Otherwise, training may fail to converge or suffer from numerical drift.
Long-sequence training also introduces efficient implementations of attention, such as tiled computation approaches similar to FlashAttention. The performance of these core operators on domestic accelerators directly affects training throughput.
4. Training Stability and Fault Tolerance
Although 400 steps does not represent a long training run, it is long enough to expose many early-stage problems. Engineers can observe whether the loss decreases normally, whether gradient norms show abnormal spikes, whether uneven device utilization causes throughput degradation, and whether communication operations experience timeouts.
A mature training framework must also support checkpoint saving and restoration, automatic removal of failed devices, and task rescheduling. These capabilities become essential during longer training jobs at larger scale.
3. What the 400-Step Run Actually Validates
Completing 400 training steps is fundamentally an engineering validation rather than a complete training experiment. However, the methodology behind such a test is useful and broadly applicable.
Start with small smoke tests: Use a very small model and dataset to verify end-to-end connectivity. Confirm that forward propagation, backpropagation, optimizer updates, and gradient synchronization can all complete without errors.
Check numerical consistency: Compare key intermediate results, such as loss values and gradient norms, with a reference implementation to ensure that numerical differences remain within an acceptable range.
Measure throughput and MFU: Record step time and per-device throughput, then calculate Model FLOPs Utilization (MFU). This helps evaluate the gap between practical hardware efficiency and the theoretical peak, while also showing how effectively communication overlaps with computation.
Run stability stress tests: Continue for hundreds of steps to identify long-tail issues such as memory leaks, communication timeouts, and numerical overflow.
This “make it run first, optimize next, and scale afterward” approach is a standard path for adapting large model training to heterogeneous compute platforms. Based on the publicly reported results, completing 400 stable steps on 16 accelerators across two nodes indicates that the software stack is ready for larger-scale validation.
4. Common Challenges and Future Directions for Domestic Compute Ecosystems
From an industry perspective, domestic compute platforms still need to address several areas before they can support large-scale large model training more broadly:
- Ecosystem compatibility: Support the programming interfaces and operator semantics of mainstream frameworks to reduce migration costs, ideally allowing existing training scripts to run with few or no changes.
- Communication efficiency: Increase intra-node interconnect bandwidth and inter-node network performance, while improving the scheduling overlap between computation and communication to reduce scaling losses across multiple machines.
- Cluster scheduling and operations: Combine container platforms, job schedulers, monitoring and alerting systems, and logging services to create a ready-to-use training platform experience.
- A complete toolchain: Provide profiling tools, operator optimization utilities, and numerical alignment tools so engineers can identify bottlenecks more quickly.
5. Conclusion
Completing 400 training steps on 16 accelerators across two nodes may appear straightforward, but it represents a meaningful validation of the entire training pipeline. It marks a stage of progress in adapting domestic compute platforms to the demanding requirements of large model training.
For developers and enterprises evaluating heterogeneous compute platforms, the most important metrics include operator coverage, support for parallelism strategies, numerical consistency, and the level of cluster engineering maturity.
As hardware and software co-optimization continues, multi-platform compute ecosystems can gradually move from merely “being able to run” large model training to running it efficiently and reliably. This will provide a stronger foundation for making large model technology more accessible.
