Deploying Trillion-Parameter MoE Models on Dual Ascend Nodes: A Practical Guide

    This article walks through deploying a trillion-parameter multimodal MoE model across two Ascend accelerator nodes with 32 dies in total. It explains why TP16 x PP2 is the preferred parallel strategy, how to prepare the parameter network, distribute weights, and pin the inference image, and how to run functional checks and tiered load tests. Readers will find a preparation checklist, sample launch parameters, a load-test matrix, and troubleshooting tips, backed by a validation run of 836 requests with zero failures.

    1. Why Trillion-Parameter Models Are Hard to Deploy

    Over the past year, large-parameter MoE models with native multimodality and ultra-long context have become the core foundation of intelligent applications. Total parameter counts have reached the trillion scale, and a single forward pass activates only a small fraction of them. However, the resident VRAM cost of the weights does not shrink just because activation is sparse. This creates a very practical engineering conflict: compute can be spread out through parallelism, but VRAM capacity must be assembled all at once.

    Take a typical native multimodal MoE with 2.8T total parameters, about 104B activated, and a 1M-token context window. Even with W4A8 quantization (4-bit weights, 8-bit activations), the weights still exceed 1.4TB. A single server with 16 dies at 64GiB per die offers roughly 1TB of theoretical VRAM, which is not enough. Two nodes with 32 dies and about 2TB of VRAM are the first configuration that makes deployment an option at all.

    So this article is not about whether the model can run. It is about how to standardize the deployment workflow and make verification data-driven in a dual-node environment, so that a successful deployment can be reproduced reliably.

    2. Overall Design: Parallel Strategy and Communication Topology

    2.1 Why TP16 x PP2

    There are two common ways to organize 32 dies: tensor parallelism (TP) inside a node with pipeline parallelism (PP) across nodes, or a single global 32-way TP group.

    The former is the safer choice. Tensor parallelism performs an AllReduce at every layer, so it is communication-intensive and the most sensitive to bandwidth and latency. Keeping it inside the high-speed inter-die interconnect domain of a single node minimizes cross-node traffic. Pipeline parallelism only passes activations at stage boundaries, with a communication volume an order of magnitude smaller, which makes it a natural fit for crossing nodes. The result is TP16 x PP2 = world size 32: 16-way TP inside each node saturates the inter-die bandwidth, while 2 PP stages across nodes only carry boundary activations.

    Note that PP introduces pipeline bubbles. The bubble ratio is roughly related to (PP-1) divided by the number of micro-batches, so the number of PP stages should not be increased blindly. With only 2 stages here and enough concurrent requests to fill the pipeline, the bubbles can be effectively amortized.

    2.2 Parameter Network and Connectivity Pre-check

    Multi-node deployment of domestic accelerators must use the accelerator-dedicated network rather than a regular business NIC. In practice, add the inter-die interconnect of both nodes to the same “parameter network” on the platform side, then run a connectivity check before deployment: confirm that all 32 dies can reach each other pairwise, that link rates match expectations, and that no link has degraded. This step may look tedious, but it catches the vast majority of issues where deployment stalls during initialization.

    2.3 Unified Access for the Control Plane and Data Plane

    One engineering practice worth borrowing: the control node and the node agent each stay a single statically compiled binary, the agent initiates an outbound connection to the control end, and control commands, monitoring metrics, logs, and inference traffic all reuse the same tunnel. The benefit is that node sides need no inbound ports open, which fits intranet and firewall policies naturally. Domestic accelerator nodes and general-purpose accelerator nodes also onboard in exactly the same way: copy one install command from the console and run it, and the node comes online with its devices, NICs, and storage information attached.

    3. Preparation Checklist

    1. Node onboarding: generate the install command under “Compute Nodes -> Add Node” and run it on each of the two machines. The platform automatically detects 16 dies per node.
    2. Parameter network: add the inter-die interconnect of both nodes to the same parameter network and wait for the connectivity check to pass.
    3. Weight acquisition: pick the quantized version from the model source and note three things: the quantization format (W4A8), the revision number, and the shard count and total byte size. Together they determine whether the weights are complete.
    4. Weight distribution: download over the public internet on the first node, then use the “copy to node” capability to transfer directly from the first node to the second. Measured throughput is about 50-57 MB/s over the public internet versus about 490 MB/s for node-to-node transfer, nearly a 10x gap. For 1.47TB of weights, that is the difference between hours and a dozen minutes.
    5. Integrity check: after downloading on both nodes, verify the hash of each file to avoid entering the loading stage with a corrupted shard.
    6. Image pinning: use the official inference image released with the model and pin the version by digest, so that “it ran yesterday” does not turn into “it fails today.”

    Illustrative launch parameters (structure only, not a specific interface):

    1. # Intra-node tensor parallelism + inter-node pipeline parallelism
    2. --tensor-parallel-size 16 \
    3. --pipeline-parallel-size 2 \
    4. --quantization w4a8 \
    5. --max-model-len 1048576 \
    6. --served-model-name kimi-k3.1-pro

    4. Deployment and Verification

    Select the matching tier in the inference template and click deploy. The platform picks nodes according to the parameter network and brings up the 32-die instance. Do not start load testing right away. Run three functional checks first:

    • Multi-turn conversation: confirm that long-context concatenation and truncation behave correctly.
    • Reasoning output: confirm that chain-of-thought fields stream back normally.
    • Tool calling: confirm that structured output and function-call parsing are correct.

    Once the functional checks pass, move on to load testing. Three gradient workloads are recommended to cover different engineering scenarios:

    Scenario Input/Output Focus
    Regular interaction Random 2048 / 512 Time to first token, per-card throughput
    Agentic long context 80K KV Cache growth, VRAM level
    Extreme long context 200K Whether OOM occurs, long-text stability

    This run issued 836 requests in total, all successful, with no failures or timeouts. When reading the metrics, watch four curves: time to first token (TTFT) as input length varies, time per output token (TPOT), KV Cache usage and remaining VRAM, and throughput jitter caused by PP bubbles.

    5. Common Pitfalls and Tuning Tips

    • Missing weight shards: this shows up as an immediate failure during loading, so always run the per-file check first.
    • Cross-node traffic on the wrong network: latency spikes as soon as request volume grows. Check whether the business NIC is being used by mistake.
    • Long-context OOM: lower max concurrency or max sequence length first, then consider adjusting KV Cache precision.
    • Version drift: the image and the weight revision must be pinned as a pair, and any upgrade requires a full load test again.
    • Weight distribution efficiency: always use node-to-node transfer for multi-node deployment. Repeated public-internet downloads are the biggest waste of time.

    6. Conclusion

    The barrier to running trillion-scale MoE models on domestic accelerators has shifted from “can it work” to “is it standardized.” Turning the parallel strategy, parameter network, weight distribution, image pinning, and tiered load testing into a templated workflow is what makes a complex environment like dual nodes with 32 dies reproducible with one click. The zero-failure result across 836 requests shows that as long as the preparation steps are solid, ultra-long-context and tool-calling workloads are already production-ready on domestic cards.