Large-Model Training Adaptation on Domestic Full-Featured GPUs: FSDP2 Distributed Training and Stability Engineering
This article examines the engineering practices behind adapting a frontier open-source multimodal model for training on a domestic full-featured GPU platform. It distinguishes inference adaptation from true training adaptation, outlines the key requirements for building an FSDP2-based native distributed training path, and analyzes what a two-node, 16-card, 400-step stability run does—and does not—demonstrate. It also discusses the shift from single-point validation to systematic training capability and offers practical dimensions for evaluating domestic training solutions.
In recent years, progress in domestic GPUs for large-model training has attracted widespread attention. A domestic chip vendor recently announced that, using its flagship training-and-inference integrated AI compute card and self-developed software stack, it completed training adaptation for a frontier open-source multimodal model and achieved stable operation for 400 consecutive optimizer updates at a two-node, 16-card scale. Although small in scale, this case provides a valuable sample for observing the maturity of domestic compute training capabilities. This article removes brand-specific information and analyzes the technical substance and methodology of this kind of training adaptation from an engineering perspective.
1. The Essential Difference Between Training Adaptation and Inference Adaptation
First, it is necessary to clarify a concept that is easily confused: “Day 0 adaptation” and “training adaptation” are not the same thing.
The industry’s common phrase “Day 0 adaptation of a chip to an open-source large model” usually refers to operator adaptation at the inference layer. That is, the model weights have already been trained elsewhere, and the chip vendor only needs to ensure that the forward-computation operators, attention mechanisms, sampling logic, and other components required for inference can execute correctly and efficiently on its own hardware. The core of this work is operator coverage and inference performance optimization.
Training adaptation, by contrast, is an order of magnitude more demanding. The training process includes not only forward computation but also the complete chain of backpropagation, gradient synchronization, optimizer state updates, and mixed-precision numerical management. If any link fails—for example, a missing backward operator, precision loss in gradient reduction, or improper communication-computation scheduling that causes a deadlock—the result will directly appear as loss divergence, exploding gradient norms, or abnormal process exit. Training adaptation is therefore a comprehensive test of the completeness of a chip’s software stack.
It is worth emphasizing that successful adaptation does not mean that the model’s base pretraining was completed on that chip. There are cases in the industry where model developers validate multiple hardware paths side by side in technical reports, but those are usually operator-level or solution-level validations, which are a different matter from “the source of pretraining compute.” When interpreting such information, readers should distinguish between “a runnable training pipeline” and “undertaking original pretraining.”
2. Technical Requirements for Building a Native Distributed Training Path
In this case, the adaptation team built a native multimodal training path based on FSDP2 (Fully Sharded Data Parallel, second generation). The core idea of FSDP is to shard model parameters, gradients, and optimizer states across cards and aggregate them on demand during computation, thereby overcoming the single-card memory limit for large-model training. To run this path on domestic GPUs, three key links must be addressed:
1. Model loading and sharding scheduling. A trillion-parameter-scale model cannot be loaded in full onto a single card. During initialization, parameter sharding placement must be completed, and the mapping between shards and compute devices must be handled properly. Multimodal models also involve heterogeneous modules such as vision encoders and language backbones, and the sharding strategy for each module may need to be differentiated.
2. Backpropagation and gradient synchronization. In cross-node training, gradient reduction depends on efficient collective communication. The software stack needs to provide primitive implementations compatible with mainstream communication semantics and ensure effective overlap between communication and computation; otherwise, training throughput will be severely limited.
3. Optimizer state management. Taking the commonly used Adam-family optimizer as an example, its momentum and second-moment states occupy memory equivalent to twice the parameters. The sharding strategy must include them as well, while maintaining high-precision master weight copies in mixed-precision scenarios.
3. Stability Validation: The Engineering Meaning Behind 400 Steps
In this case, two nodes and 16 cards completed 400 consecutive optimizer updates, with loss and gradient norms remaining finite throughout and no numerical overflow or abnormal interruption. From an engineering perspective, the value of this validation design lies in the following:
- Cross-node joint training: Two nodes mean that training traffic crosses the inter-node network, validating the correctness and stability of collective communication under a real multi-node topology.
- Continuous optimizer updates: 400 consecutive iterations show that the entire chain—forward, backward, communication, and update—can execute in a loop without resource leaks, deadlocks, or cumulative numerical drift.
- Numerical health monitoring: Finite loss and finite gradient norms are basic criteria for training health. In mixed-precision training, improper precision handling in any operator may accumulate into divergence within hundreds of steps, so “no overflow throughout” is strong evidence of operator numerical correctness.
Of course, this should also be viewed objectively: validation over hundreds of steps is an end-to-end training pipeline validation. There is still room for continued engineering work before reaching the long-duration stability required for full pretraining—tens of thousands or even hundreds of thousands of steps—including capabilities such as fault recovery, checkpoint resume, and elastic scheduling.
4. From Single-Point Validation to an Engineering System
A notable phenomenon is that the domestic compute ecosystem is moving from “single-point adaptation” to “systematic training capability.” Based on public practices, related work has covered complete training of hundred-billion-parameter-level models from scratch, full-stack training of scientific-computing world models, and full-process training of embodied intelligence models, and is advancing toward larger parameter scales.
The construction of this systematic capability usually includes the following layers:
- Operator layer: Covering the forward and backward operators required by mainstream model structures, with guaranteed numerical precision.
- Parallel strategy layer: Supporting data parallelism, tensor parallelism, pipeline parallelism, expert parallelism, and their combinations, adapted to different model architectures.
- Toolchain layer: Providing tools for performance analysis, numerical debugging, and automated parallel configuration to reduce migration and tuning costs.
- Platform layer: Integrating general cloud-native capabilities such as container platforms, monitoring and alerting, and logging services to support orchestration, observability, and operations and maintenance of training tasks.
For enterprise users, when evaluating a domestic training solution, it is advisable to focus on three dimensions: the completeness of the training pipeline (whether it can run the full training of the target model rather than inference only), evidence of long-duration stability (step scale and failure rate), and ecosystem compatibility (the cost of migrating existing training code).
5. Conclusion
From “rapid inference deployment” to “full-chain stable training” and then to “out-of-the-box training” for frontier models, the development of domestic GPU training capabilities follows a clear engineering evolution path. Validation such as a stable 400-step run on two nodes and 16 cards is small, but it is a necessary link on this path—it demonstrates that the complete training pipeline is connected and lays a foundation for larger-scale and longer-duration training practices. As the operator ecosystem, parallel frameworks, and automated toolchains continue to mature, the threshold for training frontier large models on domestic full-featured GPUs is expected to be further lowered, providing the industry with more diverse compute options.
