A Domestic GPU Completes Trillion-Parameter Multimodal Training Adaptation

    This article examines how a domestic GPU vendor completed training adaptation for an open-weight, native multimodal model with roughly 2.8 trillion parameters. It explains why a successful forward-backward-update loop is itself a hard engineering benchmark, breaks down the four main adaptation areas (attention, dynamic routing, vision encoding, and cross-modal projection), and details how FSDP2 sharding and a custom communication library address memory and communication constraints. It also shares the methodology used to verify that the vision branch is genuinely learning, along with four engineering optimizations and transferable practices for teams running on domestic or heterogeneous compute.

    1. Background: Why “Adaptation That Runs” Is a Hard Metric

    A domestic GPU vendor recently announced that it had completed training adaptation for an open-weight, native multimodal large model. In a two-node, 16-card setup, the training ran 400 consecutive optimizer updates with no numerical overflow or abnormal interruption, and the vision branch achieved real gradient updates.

    This kind of announcement is easy to read as a simple compatibility notice. From an engineering perspective, however, it validates the functional correctness and numerical stability of an entire training pipeline under three simultaneous pressures: extreme scale, sparsification, and multimodality.

    The scope of the result needs to be stated clearly first. The validation used a randomly initialized, trimmed configuration: parameter count, layer count, and expert count were all reduced. The goal was not to produce a usable model, but to prove that the “forward-backward-parameter update” loop holds on domestic compute and its accompanying software stack. This is a different order of magnitude from full-scale pretraining, and conflating the two leads to overestimating the result.

    The model on the adaptation side has roughly the following characteristics: about 2.8 trillion total parameters, an open-weight native multimodal model, support for a context length of up to roughly 1 million tokens; a hybrid mechanism of linear attention and sparse attention in the attention layers; a mixture-of-experts backbone; and both visual understanding and tool-calling capabilities. Together, these three points directly determine the adaptation difficulty: dynamic sparse retrieval causes irregular memory access, expert routing causes load imbalance, and joint image-text training introduces cross-modal tensor alignment and loss-scale differences.

    2. The Four Main Battlefields of Adaptation

    The vendor’s disclosed changes concentrate on four modules: attention computation, dynamic routing, vision encoding, and cross-modal projection. The core goal is to bring them into a unified forward, backward, and parameter-update flow, rather than maintaining separate side-path logic for each. This point is critical: the most common failure mode in multimodal training is when the vision side is treated as “data input” and runs through, but does not actually participate in optimization.

    • Attention computation: Hybrid attention means more than two operator forms exist within the same model, and numerical ranges must be kept controllable to avoid accumulated errors being amplified under long context.
    • Dynamic routing: Expert selection is data-dependent, so the activated parameters differ at each step, and both communication volume and computation graph shape fluctuate accordingly.
    • Vision encoding: The image branch usually accounts for a small share of parameters but has large gradient-scale differences, making it easy for gradients to be drowned out by the backbone.
    • Cross-modal projection: Responsible for mapping visual representations into the language space, it is the “narrow neck” of image-text alignment and a hotspot for numerical anomalies.

    3. Memory and Communication: What FSDP2 Handles

    The training scheme retains the model repository’s native auto-parallel flow, using FSDP2 to shard parameters, gradients, and optimizer states across different GPUs to reduce peak per-card memory usage; cross-card and cross-node collective communication is handled by the vendor’s in-house communication library. The significance of this combination is that it turns the “memory wall” problem into a “communication scheduling” problem—the former is solved by partitioning, the latter is masked by prefetching and overlap.

    The configuration logic can be abstracted schematically as:

    1. # Pseudocode: illustrates the division of sharding and communication only, not a specific API
    2. model = build_model(layers=13, experts=16, top_k=8, vision_layers=27)
    3. model = fsdp2_shard(model, shard_params=True,
    4. shard_grads=True,
    5. shard_optimizer=True)
    6. for step in range(total_steps):
    7. loss = chunked_loss(model(batch), num_chunks=4) # chunked loss to lower the peak
    8. loss.backward()
    9. optimizer.step() # communication/computation overlap is handled by the scheduling layer

    The measured configuration was two servers with a total of 16 flagship training-and-inference compute cards. The language backbone was trimmed to 13 layers, with 16 routed experts using Top-8 routing, while the full 27-layer vision tower and cross-modal projection were retained. The training data was an image-text question-answering dataset, with a global batch size of 16 and a sequence length of 1024. The result: all 16 training processes completed 400 updates, training loss dropped from a mean of 8.9365 over steps 21 to 70 to 2.1802 over the final 50 steps, validation loss fell from 6.5297 at step 100 to 4.6873 at step 400, and peak sampled memory was 44.80 GiB.

    4. How to Prove the Vision Branch Is “Really Learning”

    This is the most instructive methodology from the validation. Instead of only looking at the total loss dropping, the team checked gradients and parameter increments module by module: image embeddings, the first and last layers of the vision tower, and cross-modal projection all showed non-zero gradients and parameter updates. A reusable checklist includes:

    1. Compute gradient norms per module to confirm there are no all-zero tensors;
    2. Compare parameter snapshots before and after updates to verify that increments are non-zero and of reasonable magnitude;
    3. Observe whether validation loss and training loss drop in sync, ruling out the illusion of “fitting only the backbone”;
    4. Monitor numerical overflow and interruptions to confirm long-range stability.

    5. Four Engineering Optimizations and Transferable Experience

    Beyond the basic adaptation, four optimizations were completed: coordination of sharded parallelism and expert parallelism, parameter prefetching and gradient-communication scheduling, a high-performance linear attention operator, and chunked loss computation. The 400-step test enabled chunked loss; the other three have completed adaptation to support larger configurations. For teams using domestic compute or heterogeneous clusters, the transferable experience is: first run a small-scale trimmed pipeline validation, then gradually scale up layers and expert count; keep peak memory, communication overlap rate, and per-module gradient norms as three standing monitoring metrics; and on the cloud, use a container platform to orchestrate training tasks, object storage to hold datasets, and logging and monitoring/alerting services to track long-running jobs.