A Domestic GPU Completes Trillion-Parameter Multimodal Training Adaptation

    This article examines how a domestic GPU vendor adapted its flagship training-and-inference accelerator and software stack to an open-weight, native multimodal model of roughly 2.8 trillion parameters. It covers why trillion-scale multimodal training is difficult, how a unified forward, backward, and parameter-update pipeline was built with FSDP2 and expert parallelism, the 400-step dual-node 16-card test results, a gradient-level method for verifying that the vision branch truly trains, and the four key optimizations involved. The piece closes with a four-layer checklist engineering teams can use to evaluate whether domestic compute is actually usable.

    1. Background: Why Trillion-Parameter Multimodal Models Are Hard to Train

    A domestic GPU vendor recently announced that its flagship training-and-inference compute card, together with its accompanying software stack, has completed training adaptation for an open-weight, native multimodal large model. In a dual-node, 16-card environment, the setup completed 400 consecutive optimizer updates with no numerical overflow and no abnormal interruptions.

    The adapted model has roughly 2.8 trillion parameters in total, supports a context length of up to one million tokens, and uses a hybrid attention mechanism combined with a Mixture-of-Experts (MoE) architecture. It also has visual understanding and tool-calling capabilities. Models of this kind place extreme demands on compute, memory, and multi-card communication. The main difficulties fall into four areas:

    • Dynamic sparse retrieval: the attention computation path changes with the input, so operators must support variable shapes;
    • Expert routing: tokens are dispatched to different experts, producing irregular cross-card communication;
    • Joint image-text training: the vision encoder branch and the language backbone must be updated together within the same forward and backward pass;
    • Memory pressure: trillion-scale parameters far exceed the capacity of a single card, making sharding and offloading strategies mandatory.

    2. Training Pipeline Design: Unified Forward, Backward, and Parameter Update

    The core of the adaptation work was to bring four module types — attention computation, dynamic routing, vision encoding, and cross-modal projection — into a single unified forward, backward, and parameter-update flow, rather than maintaining a separate training script for each module.

    The approach keeps the native automatic-model flow of the mainstream industry training framework, using Fully Sharded Data Parallel (FSDP2) to distribute model parameters, gradients, and optimizer states across different GPUs, which substantially reduces per-card memory usage. Cross-card and cross-node communication is handled by the vendor’s in-house collective communication library.

    The configuration logic looks roughly like this (pseudocode, structure only):

    1. # Sharding strategy: split parameters, gradients, and optimizer states
    2. model = FSDP2(
    3. model,
    4. shard_params=True,
    5. shard_grad=True,
    6. shard_optimizer=True,
    7. )
    8. # Include the vision tower and cross-modal projection in one training graph
    9. for module in [vision_tower, multimodal_projector, language_backbone]:
    10. module.train()

    The value of this design is that the vision branch is not a side path that only runs forward without participating in updates; it shares the same backpropagation and parameter-update mechanism as the language backbone.

    3. Test Configuration and Results: Functional Correctness and Stability

    The test used two servers with 16 compute cards in total. On the model side, it used a 13-layer language backbone and 16 routed experts (Top-8 routing), while keeping the full 27-layer vision tower and cross-modal projection modules. The training data was an image-text question-answering dataset, with a global batch size of 16 and a sequence length of 1024.

    Key metrics:

    Metric Value
    Consecutive optimizer updates 400 steps, no interruption
    Training loss (mean of steps 21–70) 8.9365
    Training loss (mean of last 50 steps) 2.1802
    Validation loss (step 100) 6.5297
    Validation loss (step 400) 4.6873
    Peak sampling memory per device 44.80GiB

    Training and validation loss both decreased monotonically, indicating that the data path, loss computation, and parameter update form a correctly closed loop.

    4. Is the Vision Branch Really Training? A Gradient-Level Verification Method

    The most common “false success” in multimodal training is a vision encoder that only extracts features while gradients never flow back. The way to determine this is not to look at whether the loss drops, but to run a dual check on gradients and parameter increments:

    1. Check whether the gradient norm of the vision tower’s image embedding layer is non-zero;
    2. Check whether gradients in the first and last layers of the vision tower are non-zero;
    3. Check whether gradients and parameter increments in the cross-modal projection module are non-zero.

    This test confirmed that all three locations produced non-zero gradients and parameter updates, proving that the vision encoding portion genuinely participated in training.

    5. Four Key Optimizations and Their Use Cases

    • FSDP2 combined with expert parallelism: resolves communication conflicts when data sharding and expert sharding coexist;
    • Parameter prefetching and gradient communication scheduling: hides communication behind computation to improve end-to-end throughput;
    • High-performance hybrid attention operators: operator-level optimization for dynamic sparse patterns;
    • Chunked loss computation (Chunk Loss): accumulates the large-vocabulary loss in chunks to avoid logits memory explosion.

    The 400-step test actually enabled chunked loss computation; the other three have completed adaptation and can support larger configurations.

    6. Conclusion and Engineering Takeaways

    It should be clear that this validation used a randomly initialized, trimmed configuration and constitutes a functional correctness and stability check of the training pipeline, not a full-scale pretraining run of the complete model. The takeaway for engineering teams: to assess whether domestic compute is “usable,” verify four layers in order — pipeline connectivity, numerical stability, genuine gradient backpropagation, and controllable memory usage — then scale up gradually.