Domestic GPU Clusters for LLM Training: From Adaptation to Stable Execution
This article explores the technical pathways for adapting large language models (LLMs) to domestic GPU clusters, using a recent stability validation of a nearly three-trillion-parameter model as a case study. It clarifies the distinction between training adaptation and pre-training, analyzes the significance of stable execution over 400 optimization steps, and breaks down the FSDP2 training path. Finally, it outlines the remaining challenges to achieving out-of-the-box training capabilities on domestic hardware.
1. Background: A Significant Training Adaptation
Recent public information indicates that a domestic full-function GPU manufacturer, utilizing its flagship training-inference integrated accelerator card and supporting software stack, completed a training adaptation for a nearly three-trillion-parameter open-source large model. In a dual-node, 16-GPU environment, they validated stability through 400 continuous optimizer updates. During training, loss values and gradient norms remained finite without numerical overflow or abnormal interruptions.
It is crucial to clarify a commonly misunderstood concept: Training Adaptation ≠ Pre-training. Completing a training adaptation for an advanced open-source model means the chip platform can execute a complete training pipeline, allowing the model to be “trained” on this hardware. It does not mean the model’s foundational pre-training was completed on this hardware. The industry’s common “Day 0 adaptation” often only validates the availability of inference operators, which is orders of magnitude different from full-pipeline pre-training.
2. Why “Stable Execution for 400 Steps” is a Key Milestone
In large-scale distributed training, “being able to start” and “running stably” are two different things. While 400 continuous optimizer updates may seem few, it validates exactly the stages most prone to issues:
- Numerical Stability: In mixed-precision training, gradient norm fluctuations, loss spikes, and numerical overflow are common risks. If loss and gradient norms remain finite for hundreds of steps, it proves that optimizer state management, gradient clipping, and loss scaling mechanisms are correctly implemented on heterogeneous hardware.
- Communication Correctness: Cross-node training relies on collective communication (e.g., all-reduce, all-gather). Any communication synchronization deviation manifests as loss divergence or process hanging. Stable execution over 400 steps means the gradient synchronization link between nodes is reliable and convergent.
- Scheduling Robustness: Sixteen training processes working across two machines involve sharded scheduling, fault tolerance, and heartbeat mechanisms. Long-term uninterrupted operation indicates a high maturity of the overall scheduling framework.
For domestic hardware, validating these stages is significantly harder than in inference scenarios, as training has much stricter tolerances for operator precision, communication bandwidth, and memory management.
3. Technical Breakdown: Building the FSDP2 Training Path
A technical highlight of this adaptation is constructing a native FSDP2 multimodal training path, connecting the entire chain from model loading and sharded scheduling to gradient synchronization.
3.1 Core Concept of Fully Sharded Data Parallel (FSDP)
FSDP shards model parameters, gradients, and optimizer states across all compute cards. It temporarily aggregates the required shards on-demand during forward and backward passes, drastically reducing single-card memory usage. For models with hundreds of billions or even trillions of parameters, this is the key to making training “fit” without sacrificing data parallel throughput.
The typical pseudo-code logic can be abstracted as:
# Core FSDP process (illustrative)for param_shard in model: # Parameter shards reside on each cardall_gather(param_shard) # Temporarily gather full params for forward passforward(param_shard)free_gathered(param_shard) # Free immediately after usebackward()reduce_scatter(grad_shard) # Reduce scatter gradient shards to avoid full syncoptimizer.step() # Each card only updates local shard state
3.2 What “Native Adaptation” Means
For domestic software stacks, supporting such parallel strategies is not just porting framework code; it requires underlying work:
- Operator Coverage: Training involves far more backward operators than inference, requiring guaranteed numerical correctness for gradients.
- Communication Primitive Alignment: The collective communication library must implement interfaces with semantics consistent with mainstream frameworks on its own interconnect architecture.
- Memory Management: Timing management for shard aggregation and release requires high capability in memory allocator fragmentation control.
- Multimodal Support: Modern large models generally contain vision, text, and other multimodal encoders, making data pipelines and operator types more complex.
3.3 Specifics of the Multimodal Training Path
Multimodal training involves concatenating heterogeneous data flows, differentiated parallel strategies for different modality encoders, and sample-level dynamic batching. Successfully building a native multimodal training path indicates the software stack has moved beyond the stage of “only supporting single Transformer text models,” representing a substantial improvement in engineering maturity.
4. Industry Status: Various Validation Modes for Training Adaptation
Notably, practices among large model vendors in validating domestic computing power are not unified. Some model technical reports list validation results across multiple hardware routes, but these validations often focus on inference operator correctness and performance comparisons. The original computing source for foundational pre-training is typically not officially announced. Therefore, when interpreting information about “adaptation,” “integration,” or “validation,” consider the following dimensions:
| Validation Level | Typical Characteristics | Technical Implications |
|---|---|---|
| Inference Adaptation | Model can be loaded and produce results | Operator coverage and inference engine available |
| Fine-tuning Adaptation | SFT/LoRA on single machine or small cluster | Basic training pipeline established |
| Full-Pipeline Training Adaptation | Stable optimizer updates on large clusters | Numerical, communication, and scheduling reliability |
| Foundational Pre-training | Training a hundreds-of-billions parameter model from scratch | Complete pre-training engineering capability |
Based on public information, this manufacturer has landed multiple achievements in training domestic models on domestic chips, including from-scratch training of a 200+ billion parameter scientific foundation model, full-stack native training support for the world’s first 5D world model, and end-to-end training for embodied AI models. They are currently advancing training for trillion-parameter models. Pre-training a hundreds-of-billions parameter model from scratch is a comprehensive test of hardware reliability, software stack maturity, and cluster scheduling capabilities, holding more weight than simple adaptation validation.
5. From “Can Train” to “Out-of-the-Box Training”: What’s Missing?
Even with training adaptation completed, domestic computing power still has a clear path toward “out-of-the-box training”:
- Continuous Operator Ecosystem Expansion: Frontier models iterate rapidly. New operators and attention variants constantly emerge, requiring operator coverage to keep pace with the open-source community.
- Multi-Card Collaboration Efficiency: Bandwidth and topology optimization for domestic interconnects still need improvement. The overlap between communication and computation directly determines training throughput.
- Automated Toolchains: Capabilities including automatic sharding strategy recommendations, training health monitoring, checkpoint resumption, and fault self-healing determine the barrier to entry for engineers.
- Long-term Stability Validation: 400 steps validated correctness. True pre-training requires weeks or months of continuous operation. Long-term stability and fault tolerance are mandatory for the next stage.
6. Conclusion
The true value of this training adaptation event lies not in “running through” itself, but in demonstrating a reproducible technical pathway: using fully sharded parallelism as the skeleton, complete operator coverage and reliable collective communication as the foundation, and engineering systems as the guarantee. Domestic full-function GPUs are transitioning from inference-ready to training-ready. Once toolchains become further automated and stability passes long-term tests, training domestic models on domestic chips will finally enter the large-scale “out-of-the-box” stage. For developers focusing on domestic computing power, understanding the hierarchical differences between adaptation and pre-training, and paying attention to hard metrics like numerical stability and communication efficiency, is more practically meaningful than chasing concepts.
