A Domestic GPU Completes Training Adaptation for a Trillion-Parameter Multimodal Model

    This article covers the training adaptation of an open-weight, native multimodal model with roughly 2.8 trillion parameters on a domestic GPU platform. It explains why trillion-scale multimodal training is difficult, how a unified training pipeline was built with FSDP2, the two-node 16-card test setup and results, how the vision branch was verified, the key optimizations applied, and practical recommendations for scaling similar workloads.

    1. Why Trillion-Scale Multimodal Training Is Hard

    On November 16, a domestic GPU vendor announced that it had completed training adaptation for an open-weight, native multimodal large model. The model has roughly 2.8 trillion parameters in total, supports a context length of up to 1 million tokens, uses a hybrid attention mechanism together with a Mixture-of-Experts (MoE) architecture, and provides visual understanding and tool-calling capabilities. In a two-node, 16-card test, the system completed 400 consecutive training steps with no numerical overflow and no abnormal interruptions, and the vision branch achieved real gradient updates.

    The training difficulty comes from three areas:

    • The parameter count is too large for a single card to hold the full parameters, gradients, and optimizer states.
    • Dynamic sparse retrieval and expert routing introduce irregular computation and communication patterns.
    • Joint image-text training requires the vision encoder, the cross-modal projection, and the language backbone to be unified in the forward pass, the backward pass, and the parameter update.

    2. Adaptation Approach: A Unified Training Pipeline

    The adaptation work focused on attention computation, dynamic routing, vision encoding, and cross-modal projection, connecting these modules into a single pipeline. The training setup keeps the native automatic model flow and uses FSDP2 to distribute parameters, gradients, and optimizer states across different GPUs, reducing the memory pressure on each card. Collective communication libraries handle both inter-card and inter-node communication.

    A schematic configuration looks like this:

    1. # Illustrates how the training pipeline is organized
    2. model = build_multimodal_model(
    3. language_layers=13,
    4. routed_experts=16,
    5. top_k=8,
    6. vision_layers=27,
    7. )
    8. model = FSDP2(model, shard_params=True)
    9. for batch in loader:
    10. loss = chunked_loss(model(batch), chunk_size=1024)
    11. loss.backward()
    12. optimizer.step()

    3. Test Configuration and Results

    The test used two servers with 16 compute cards in total. The model had a 13-layer language backbone and 16 routed experts with Top-8 routing, and kept the full 27-layer vision tower and the cross-modal projection module. Training used an image-text question answering dataset with a global batch size of 16 and a sequence length of 1024.

    All 16 training processes completed 400 consecutive optimizer updates. Training loss fell from an average of 8.9365 over steps 21 to 70 down to 2.1802 over the final 50 steps. Validation loss dropped from 6.5297 at step 100 to 4.6873 at step 400. Peak sampled device memory was 44.80 GiB.

    4. Verifying the Vision Branch

    The technical team found that the vision tower’s image embeddings, its first and last layers, and the cross-modal projection module all produced non-zero gradients and parameter updates. This confirms that the vision encoder actually took part in training rather than serving only as a data input. The verification used a randomly initialized, trimmed configuration, not a full-scale pretraining run of the complete model, and its purpose was to confirm the functional correctness and stability of the training pipeline.

    5. Key Optimizations

    Beyond the basic adaptation, the work also covered FSDP2 combined with expert parallelism, parameter prefetching and gradient communication scheduling, a high-performance hybrid attention operator, and chunked loss computation. Chunked loss was enabled for this 400-step test; the remaining optimizations have been adapted and can support larger training configurations.

    6. Practical Recommendations

    1. Validate a single forward and backward pass first, then scale to multiple cards and nodes.
    2. Use memory sampling to locate peak usage, and shard parameters and optimizer states first.
    3. Add gradient probes to the vision branch to confirm non-zero updates.
    4. Use chunked loss to reduce the memory cost of a large vocabulary.
    5. Record loss curves and communication metrics so convergence problems can be told apart from pipeline failures.