Pipeline Validation of a Pruned Trillion-Parameter MoE Model on Domestic GPUs

    This article examines an end-to-end training pipeline validation of a pruned trillion-parameter multimodal MoE model on domestic GPUs. It explains why teams typically validate with a pruned configuration first, details the disclosed experimental setup and its limitations, analyzes training loss, validation loss, and peak memory metrics, and discusses MoE routing with All-to-All communication. The results show the training pipeline functions at small scale, but cannot yet serve as a basis for launching full-scale pretraining.

    1. Why Validate with a Pruned Model First

    Over the past two years, native multimodal large models and extremely large Mixture-of-Experts (MoE) models have become the primary sources of pressure on training infrastructure. MoE models have enormous parameter counts, but each token activates only a subset of experts, so the per-token compute is lower than that of a dense model with the same total parameters. The trade-off is that memory and communication pressure shifts onto the distributed system.

    Dynamic sparse attention introduces memory challenges as well. It reduces compute for long sequences, but routing results differ across samples, making activation sizes hard to estimate in advance. A minor oversight in memory management can lead to OOM (out of memory) errors or numerical overflow.

    The scale of the full model is itself a barrier. Storing 2.8 trillion parameters in bf16 requires roughly 5.6 TB. With 80 GB per GPU, 16 GPUs provide about 1.3 TB in total — not enough to hold the full weights. Therefore, this experiment used a pruned model; the full 2.8-trillion-parameter model did not participate in training.

    Engineering teams typically validate training functionality and loss trends with a pruned configuration before deciding whether to launch full-scale pretraining. This approach exposes breakpoints in the pipeline early, at relatively low cost.

    2. Experimental Setup and Disclosure Boundaries

    Based on the disclosed information, the pruning scheme is as follows:

    • The language backbone retains 13 layers, configured with 16 routed experts, with top-8 experts activated per token.
    • The 27 layers of the vision tower and the cross-modal projection module are fully preserved, keeping the multimodal alignment logic unchanged.
    • Training data comes from a public image-text QA dataset, and the model is trained from random initialization, so the gradient update path is genuine.
    • The hardware is a two-node, 16-GPU lab environment, trained continuously for 400 steps without numerical overflow or abnormal interruption.

    The following information has not been disclosed and should be noted when reproducing or evaluating:

    • Total and activated parameter counts after pruning.
    • Batch size and sequence length.
    • Numerical precision configuration.
    • The domestic GPU vendor, accelerator model, driver version, and framework version.
    • Communication library version and network topology.
    • Learning rate and optimizer settings.

    The original material does not provide these conditions, and this article does not speculate. Readers who want to reproduce the experiment should first obtain the above information from the experimenters, or at least record the corresponding parameters in their own environment. Otherwise, results from two runs cannot be directly compared.

    Risk notice: These results cover only 400 steps in a small-scale, two-node, 16-GPU environment. They show that the training pipeline basically works, but they do not demonstrate cluster stability, fault tolerance, or reliability over long training runs. This data should not be taken as evidence that pretraining of a trillion-parameter model is ready to begin.

    3. Training Metrics and Measurement Methodology

    Metric Early stage Late stage Notes
    Training loss 8.9365 2.1802 Mean over selected steps; the exact step window was not disclosed
    Validation loss 6.5297 4.6873 Validation frequency not disclosed
    Peak memory Not disclosed 44.80 GiB Measurement methodology not disclosed; it is unclear whether this is per GPU or per node, and the measurement tool was not specified

    Training loss dropped from 8.9365 to 2.1802, and validation loss dropped from 6.5297 to 4.6873, both moving in the same direction. This indicates that under this configuration, the backpropagation path is essentially functional and the model’s loss consistently decreases from random initialization. The parameters of the multimodal vision branch were also updated normally during training, so it can be preliminarily concluded that the memory allocation strategy supports gradient computation for the multimodal branch.

    These conclusions remain limited. The step window for the loss averages and the validation frequency were not disclosed, so different stages cannot be precisely compared. Four hundred steps are also insufficient to judge generalization, which requires longer training and a more complete validation set. Peak memory lacks a measurement methodology, so readers can only treat it as a reference value — it cannot be used directly to estimate memory requirements for a full-scale configuration.

    4. MoE Routing and All-to-All Communication

    The core of MoE is sparse activation. After being scored by the gating network, each token is sent to the devices hosting its selected experts, and results are returned along the original path after computation. When experts are distributed across devices, this process relies on All-to-All communication, which is sensitive to both bandwidth and latency and is often the throughput bottleneck.

    This configuration selects 8 out of 16 experts per token — far more than the common top-1 or top-2 setups. The volume of dispatched data grows roughly linearly with the value of k, so this configuration places high demands on cross-node bandwidth.

    The code below illustrates the routing flow, omitting capacity clipping, token-drop strategies, and the backward pass. Functions such as softmax, topk, and all_to_all_dispatch are placeholders, and the code cannot be run directly:

    1. # Illustrative code: capacity clipping, token-drop strategy, and the backward
    2. # path are omitted; not runnable as-is
    3. # Shape convention: tokens is [T, d]; there are E experts in total,
    4. # and each token selects k=8 experts
    5. def moe_forward(tokens, experts, gate_network, k=8):
    6. # 1. Routing: compute per-token probabilities over experts [T, E]
    7. gate_logits = gate_network(tokens)
    8. gate_probs = softmax(gate_logits, dim=-1)
    9. # Take top-k and renormalize so each token's k weights sum to 1
    10. top_k_weights, top_k_indices = topk(gate_probs, k=