A Domestic GPU Completes Trillion-Parameter Multimodal Training Adaptation

    This article examines how a domestic AI chip vendor adapted its flagship training-and-inference accelerator and software stack to a native multimodal large model with roughly 2.8 trillion parameters and up to 1 million token context. It explains why the work was a link-level validation rather than a full pretraining run, the three model-side challenges of multimodal MoE, the adaptation approach built on FSDP2 sharding and expert parallelism, four key optimizations, how to read the validation results, and a practical checklist for engineering teams.

    A domestic AI chip vendor recently announced that its flagship training-and-inference accelerator, together with its companion software stack, has completed training adaptation for an open-weight native multimodal large model (about 2.8 trillion total parameters, supporting up to 1 million tokens of context). In a two-node, 16-card environment, the setup completed 400 consecutive optimizer updates with no numerical overflow and no abnormal interruptions.

    The scope needs to be stated clearly first: this was not a full-scale pretraining run, but a functional correctness and stability validation of the training pipeline. The validation used a randomly initialized trimmed model (a 13-layer language backbone, 16 routed experts, Top-8 routing, with the full 27-layer vision tower and cross-modal projection retained), an image-text QA dataset, a global batch size of 16, and a sequence length of 1024. That framing matters for reading every metric that follows: they show that “this path runs and runs stably,” not “the model has reached some capability level.”

    Why does the industry increasingly value this kind of small-scale pipeline validation? Because the cost of failure on a trillion-parameter model is extremely high. A full training run can take weeks and consume enormous compute, and an operator precision defect, a communication deadlock, or a broken gradient flow would be unaffordable. Exposing such problems within dozens of steps using a trimmed configuration is a cost-effective engineering strategy.

    2. Three Model-Side Challenges: Why Multimodal MoE Is Harder to Adapt

    The combination of native multimodality, mixture of experts, and very long context puts pressure on compute, memory, and communication at the same time.

    1. Dynamic sparse retrieval and expert routing. Under the MoE architecture, each token activates only a few experts, so the computation graph changes dynamically with the input. Load imbalance leaves some devices idle and others overloaded, which slows down the whole batch at synchronization.
    2. Joint image-text training. The vision branch and the language branch differ in gradient magnitude and convergence pace. If the projection layers or the vision tower do not genuinely participate in backpropagation, the model degrades into “a text-only model plus image placeholders.”
    3. Hybrid attention mechanisms. Mixing linear attention with sparse attention raises the bar for numerical stability of the operators, and overflow is especially likely with long sequences.

    3. Adaptation Approach: Pulling Heterogeneous Modules into One Computation Graph

    The core of the adaptation work was to bring four module types—attention computation, dynamic routing, vision encoding, and cross-modal projection—into a unified forward, backward, and parameter update flow, avoiding the maintenance disaster of “two parallel training logics.”

    Parameter sharding uses FSDP2, distributing parameters, gradients, and optimizer states across devices so that each card only needs to hold a shard, which significantly reduces memory pressure. Cross-card and cross-node collective communication is handled by the vendor’s in-house communication library. Keeping the native training framework flow means low migration cost: users do not need to rewrite training scripts, only swap the backend.

    A typical configuration skeleton looks like this (pseudocode, structure only):

    1. # Sharding strategy: parameters/gradients/optimizer states split across devices
    2. fsdp = FSDP2(
    3. model,
    4. sharding="FULL_SHARD",
    5. prefetch=True, # parameter prefetch to hide communication latency
    6. overlap_grad_comm=True # overlap gradient communication with backward compute
    7. )
    8. for step, (image, text, answer) in enumerate(loader):
    9. out = model(image, text) # vision tower + projection + language backbone
    10. loss = chunk_loss(out, answer) # chunked loss to lower peak memory
    11. loss.backward() # vision branch produces gradients too
    12. opt.step(); opt.zero_grad()

    4. Four Key Optimizations and the Logic Behind Their Gains

    • FSDP2 working with expert parallelism: data sharding solves “parameters do not fit,” expert parallelism solves “experts cannot finish computing.” Combining them requires handling the mapping between shard groups and expert groups to avoid extra synchronization overhead from crossing communication domains.
    • Parameter prefetch and gradient communication scheduling: moving All-Gather ahead of computation and overlapping Reduce-Scatter with backward compute hides communication time behind computation, which is key to multi-node scaling efficiency.
    • High-performance hybrid attention operators: a fused implementation of linear and sparse attention reduces intermediate tensor materialization while balancing numerical stability and throughput.
    • Chunked loss computation (enabled in this run): splitting the loss over a large vocabulary into several accumulated chunks avoids materializing the full logits matrix at once, a general technique for controlling memory with long sequences and large vocabularies.

    5. How to Read the Validation Results

    In this test, all 16 training processes completed 400 optimizer updates: training loss fell from an average of 8.9365 over steps 21 to 70 down to 2.1802 over the last 50 steps; validation loss dropped from 6.5297 at step 100 to 4.6873 at step 400; and peak sampled device memory was 44.80 GiB.

    More noteworthy is the vision branch effectiveness check: the technical team confirmed non-zero gradients and parameter updates in the vision tower image embeddings, the first and last layers, and the cross-modal projection modules. This rules out the hidden defect of “the vision path only runs forward and does not participate in learning”—the most easily overlooked and most fatal item in multimodal training acceptance.

    6. A Practical Checklist for Engineering Teams

    1. First run several hundred steps with a trimmed configuration to surface numerical overflow, communication timeouts, and broken gradient flow early.
    2. Estimate the memory budget in three parts—parameter shards, activations, and chunked loss buffers—and leave headroom for fragmentation.
    3. Set up gradient probes that record gradient norms per module to prevent a branch from silently failing.
    4. Watch expert load distribution metrics and adjust the routing capacity factor when necessary.
    5. For monitoring and logging, connect to a general-purpose logging service and alerting capability, with thresholds for loss spikes and memory jitter.
    6. Manage training data and checkpoints with versioning on object storage to make reproduction and rollback easier.

    In short, the value of this kind of adaptation work is not the benchmark score but compressing the uncertainty of the “trillion-parameter multimodal + domestic compute + distributed sharding” path into a controllable range, providing a reusable engineering foundation for larger-scale training later on.