How a Domestic GPU Platform Adapted to Train a Trillion-Parameter Open-Source Model: Lessons in Large-Scale Training Infrastructure

    A Chinese GPU vendor recently announced it had completed training adaptation for a 2.8-trillion-parameter open-source model using its own AI accelerator and full-stack software ecosystem, building a native FSDP2 multimodal training pipeline. This article analyzes why trillion-parameter training adaptation is so difficult—covering memory, communication, and software ecosystem barriers—breaks down the FSDP2 sharding approach and the complete training workflow from checkpoint loading to gradient synchronization, and distills a general methodology for adapting heterogeneous compute platforms to frontier-scale model training.

    Training a Trillion-Parameter Open-Source Model on a Domestic GPU Platform: A Technical Breakdown

    Background: Open-Source Models Enter the Trillion-Parameter Era

    A landmark event recently occurred in the open-source large model ecosystem: a team released a flagship model with 2.8 trillion parameters. Even with a sparse-activated Mixture-of-Experts (MoE) architecture, training a model at this scale places extreme demands on raw compute, memory capacity, interconnect bandwidth, and software stack maturity.

    Around the same time, a domestic chip vendor specializing in full-function GPUs announced that, using its flagship AI training-and-inference accelerator card and its in-house general-purpose computing software stack, it had completed training adaptation for this open-source model. According to public information, the vendor’s technical team built a native FSDP2 multimodal training pipeline, covering the full chain from model loading and sharding orchestration to gradient synchronization.

    The technical significance of this event is twofold: it demonstrates the feasibility of using domestic compute platforms for ultra-large-scale model training, and it offers the industry a concrete case study of how heterogeneous compute can support frontier model training. This article is not a product review or recommendation; instead, it extracts the general methodology behind large-scale training adaptation.

    Why Trillion-Parameter Training Adaptation Is So Hard

    1. The Memory Wall

    Consider 2.8 trillion parameters. Even storing weights in BF16 requires roughly 5.6 TB of memory. Add optimizer states (AdamW, for instance, typically stores first- and second-order moments in FP32, multiplying memory usage by about 4x the parameter count), gradients, and activations, and the total memory footprint far exceeds what a single machine can hold. This forces training systems to rely on:

    • Parameter sharding: splitting model state across multiple devices;
    • Activation recomputation: trading time for space by not retaining all intermediate activations during the forward pass;
    • Tiered storage: offloading infrequently accessed model state to CPU memory or SSD.

    2. The Communication Wall

    Sharding creates frequent, high-volume collective communication. The time spent on All-Reduce, All-Gather, and Reduce-Scatter operations directly determines scaling efficiency. MoE architectures add All-to-All traffic for expert routing. The degree of compute-communication overlap is often the deciding factor in whether a 10,000-GPU cluster can actually be saturated.

    3. The Software Ecosystem Wall

    Many optimizations in mainstream training frameworks—operator fusion, automatic parallelism strategies, mixed-precision scheduling—are typically tuned around specific hardware ecosystems. For a domestic platform to run equivalent-scale training, it must reimplement and validate these capabilities on its own software stack, including end-to-end adaptation of the compiler, communication libraries, operator libraries, and distributed training framework.

    FSDP2: A Native Sharded Training Path

    The “native FSDP2 multimodal training path” mentioned above deserves a closer look.

    Core Idea of FSDP

    Fully Sharded Data Parallelism (FSDP) shards model parameters, gradients, and optimizer states across all compute devices. When a module is needed during the forward or backward pass, its full parameters are temporarily gathered via All-Gather and released immediately afterward. This reduces peak memory from “the full model” to “a shard plus temporary aggregation.”

    What FSDP2 Improves

    Compared with earlier implementations built on hook-based wrapping, FSDP2 typically offers:

    1. Native sharding semantics based on DTensor: parameters are managed as distributed tensors, decoupling sharding logic from model definition. The code is cleaner and behavior more predictable.
    2. Finer-grained sharding control: sharding policies can be configured per module, making it easier to balance memory efficiency against communication overhead.
    3. Multimodal friendliness: for multimodal models with heterogeneous submodules—such as a vision encoder and a language backbone—different sharding and recomputation strategies can be applied per module.

    Illustrative configuration logic (pseudocode):

    1. # Configure sharding and recomputation policies per module (illustrative)
    2. apply_fsd(
    3. model.language_backbone,
    4. sharding="full", # fully shard parameters/gradients/optimizer states
    5. reshard_after_forward=True,
    6. )
    7. apply_fsd(
    8. model.vision_encoder,
    9. sharding="shard_grad_op", # lighter sharding granularity for smaller modules
    10. reshard_after_forward=False,
    11. )

    Why “Native” Adaptation Matters

    Native adaptation does not simply mean “getting the open-source training script to run.” It means:

    • Implementing equivalent distributed primitives and automatic parallelism capabilities on the in-house software stack;
    • Tuning communication strategies for the vendor’s own hardware topology (inter-GPU interconnect, host networking);
    • Verifying the numerical stability of mixed precision, operator fusion, gradient accumulation, and other features at scale.

    This requires deep co-design between the software stack and the training framework—not surface-level compatibility.

    Four Critical Stages of the Full Training Pipeline

    1. Model Loading

    Loading a trillion-parameter model is an engineering challenge in itself: checkpoints can span tens of terabytes, requiring parallel multi-file reads and direct shard loading (writing each shard directly to its target device layout) to avoid the huge memory spike of gathering everything before splitting.

    2. Sharding Orchestration

    At training startup, the framework must automatically—or semi-automatically—decide each module’s sharding strategy and device placement based on device count, model structure, and memory capacity. A good scheduler should also support state reconstruction after failure recovery.

    3. Gradient Synchronization

    During backpropagation, gradients from each shard are aggregated via Reduce-Scatter. Key optimizations include:

    • Bucketing and overlap: grouping gradients by dependency so communication overlaps with backward computation;
    • Sparse and quantized communication: reducing transfer volume for MoE expert gradients and tensors suitable for low-precision communication;
    • Topology-aware routing: prioritizing aggregation over high-speed intra-node interconnects to reduce cross-node traffic.

    4. Checkpointing and Fault Tolerance

    Hardware failures are routine in large-scale training. High-frequency asynchronous checkpointing, automatic fault detection, and fast recovery are essential—otherwise the fraction of effective training time drops significantly.

    A General Methodology for Adapting Compute Platforms

    Drawing on cases like this, a common path for enabling heterogeneous compute to support frontier model training emerges:

    1. Validate single-GPU operator coverage and numerical precision first, ensuring core operators (attention, MoE routing, optimizer updates) are correct and efficient;
    2. Then bring up single-node multi-GPU and multi-node parallelism, validating combinations of FSDP, tensor parallelism, and expert parallelism;
    3. Align end-to-end convergence with a mid-scale model, comparing loss curves and throughput against a reference platform;
    4. Finally scale to the target size, relying on communication tuning, fault-tolerance mechanisms, and cluster scheduling to sustain long-running stable training.

    Conclusion

    The release of a 2.8-trillion-parameter open-source model has pushed the open-source community to explore ultra-large-scale training infrastructure, and a domestic compute platform completing its training adaptation shows that heterogeneous compute ecosystems are maturing. For enterprises planning to build their own training capabilities, the real takeaway is not any single vendor’s marketing—but the underlying engineering system of “sharding strategies, communication optimization, and fault-tolerant scheduling.” That system is the core competency that determines whether large model training can actually be put into production.