Deploying Trillion-Parameter MoE Models on a Dual-Node Ascend Cluster: A Practical Guide

    This article walks through deploying a 2.8T-parameter multimodal MoE model across two Ascend 910C servers with 32 dies in total. It covers the hardware and software setup, three essential preparation steps (node onboarding, parameter network configuration, and weight distribution), the rationale for a TP16 x PP2 parallel topology, functional validation and load testing across three workload tiers, and a troubleshooting order for common failures. Readers will learn a repeatable path to bringing ultra-large models online on domestic accelerators.

    1. Background and Problem Definition

    A single card’s memory capacity has long fallen behind the weight size of ultra-large models, which makes multi-node, multi-card deployment inevitable for trillion-parameter models. Take a native multimodal MoE with 2.8T total parameters and roughly 104B activated parameters as an example: its native context length reaches 1M tokens. Even with W4A8 quantization compressing the weights to about 1.47 TB, this still exceeds the usable memory ceiling of any single 16-die machine (64 GiB per die, 1 TiB in total).

    The core engineering problem discussed here is therefore: how to stably launch a service-ready inference instance on a topology of two domestic accelerator servers with 32 dies in total, and prove its usability in long-context and tool-calling scenarios with reproducible load tests.

    It is worth stressing that the difficulty of this kind of deployment lies not in “whether it can start,” but in three easily overlooked areas: cross-node weight distribution efficiency, matching the parallel partitioning strategy to communication domains, and balancing memory against throughput under extremely long contexts. The sections below follow the actual operational order.

    2. Target Environment and Technology Choices

    Item Configuration
    Compute nodes 2 domestic Ascend 910C servers, 16 dies each, 64 GiB per die, 32 dies in total
    Intra-/inter-node interconnect HCCS handles compute communication between nodes
    Parallel strategy TP16 within a node, PP2 across nodes, world size = 32
    Model weights Community-published W4A8 quantized version, about 1.47 TB, 346 safetensors shards
    Inference image The official vLLM Ascend adaptation image released with the model, with a fixed digest in the template
    Control plane A nightly build of a cloud platform; load-test traffic is initiated by the server and forwarded to the instance through the platform gateway

    On quantization: W4A8 refers to a mixed-precision scheme with 4-bit weights and 8-bit activations. Its value is not only saving memory but also reducing weight-read bandwidth pressure by roughly an order of magnitude, a benefit that is especially pronounced for MoE structures that “activate only a few experts at a time.” On the image: in production, always pin the version by digest rather than tag to avoid content drift under the same tag, which would break reproducibility.

    3. Three Preparation Steps Before Deployment

    1. Node onboarding. In the console, go to “Compute Nodes -> Add Node” to generate an installation command, then run it on each of the two machines. Onboarding is identical to that of general GPU nodes: when a node comes online it automatically reports the number of accelerators, network cards, and storage, and the platform identifies 16 dies per machine accordingly. The control plane uses a static single-binary deployment, and the node-side agent actively connects outbound to the server. Control commands, monitoring metrics, logs, and inference traffic all reuse the same tunnel, so no inbound port needs to be opened specifically for inference, which is particularly important in compliance-constrained intranets.

    2. Parameter network setup. Multi-node inference must run over the accelerator network rather than the ordinary business network. On the “Network” page, add the HCCS of both nodes to the same parameter network. The platform first performs an inter-card connectivity check (bandwidth, RTT, topology affinity) and then automatically selects qualifying nodes at deployment time. Skipping this step is the most common cause of failure: if the instance is scheduled onto a node that is not part of the parameter network, it will time out while initializing the communication domain.

    3. Weight distribution. In “Models,” select the model repository source and first download the 1.47 TB of weights to the first node. Do not repeat the public-network download on the second node; instead use the platform’s “copy to…” capability for direct node-to-node transfer. In testing, public-network download ran at about 50-57 MB/s while node-to-node transfer reached about 490 MB/s, nearly a tenfold difference. At that rate, downloading separately over the public network on both nodes would cost more than 8 hours of duplicated time, whereas direct transfer compresses the second leg to around 50 minutes. For weights with 346 shards, verify both the revision and the total shard count to avoid interrupted loading caused by an incomplete download.

    4. Parallel Topology: Why TP16 x PP2

    There is more than one way to partition 32 dies. The choice rests on three considerations:

    • Minimizing the communication domain. Tensor parallelism (TP) performs an all-reduce at every layer and communicates most frequently, so it must be confined to the high-bandwidth domain within a node. TP16 therefore aligns with the per-machine die count.
    • Using pipeline parallelism (PP) across nodes. PP only passes activations at stage boundaries, with little communication, making it suitable for crossing nodes. PP2 maps neatly onto the two machines.
    • A self-consistent world size. 16 x 2 = 32 matches the total die count and avoids the high-latency penalty of cross-node TP.

    A schematic startup parameter structure is shown below (exact field names depend on the inference framework version in use):

    1. python -m vllm.entrypoints.openai.api_server \
    2. --model /models/kimi-k3.1-pro-w4a8 \
    3. --tensor-parallel-size 16 \
    4. --pipeline-parallel-size 2 \
    5. --max-model-len 204800 \
    6. --gpu-memory-utilization 0.90 \
    7. --host 0.0.0.0 --port 8000

    Tuning notes: max-model-len does not need to be maxed out to 1M from the start; set it according to the actual business distribution. Leave a 5%-10% margin in memory utilization for communication buffers and temporary tensors; being too aggressive will cause OOM during the first-token stage under long contexts.

    5. Validation: Functionality and Load Testing

    After deployment, run a three-part functional check first: multi-turn dialogue, reasoning-process (chain-of-thought) output, and tool calling (function calling). Then move on to load testing. Three workload tiers were designed: random 2048 input / 512 output, Agentic 80K, and Agentic 200K. All 836 requests succeeded, with no failures or truncations. Load-test traffic was initiated from the server side and reached the instance through the platform gateway, a path that also verified whether the control plane and data plane were cleanly isolated.

    Two lessons from the load-test design are worth standardizing. First, an Agentic long-context tier is mandatory, because real inputs in tool-calling scenarios are often tens of thousands of tokens of retrieval results and historical traces; short-request tests cannot expose bottlenecks in KV Cache and paging management. Second, record both time to first token (TTFT) and total per-request duration; under long contexts the two diverge significantly, and looking at throughput alone will misjudge the service experience.

    6. Common Issues and Troubleshooting Order

    1. Instance stuck at initialization: first check parameter network membership and HCCS connectivity.
    2. Weight loading failure: verify the revision, shard count, and total byte size.
    3. Long-context OOM: lower max-model-len or memory utilization and watch the KV Cache usage curve.
    4. Throughput below expectations: confirm TP does not cross nodes and whether PP stage partitioning is balanced.

    7. Summary

    The feasible path for deploying a trillion-scale MoE on two nodes with 32 dies can be summarized as: quantized weights + topology alignment with intra-node TP and cross-node PP + node-to-node direct transfer for distribution + tiered long-context load testing. Across the whole pipeline, what really determines success is often not the model itself but “upstream engineering” such as network domain planning and weight distribution efficiency. Turning these three items into templated standard actions can transform launching ultra-large models on domestic accelerators from a one-off effort into a repeatable routine.