Deploying Trillion-Parameter MoE Models on Dual-Node Ascend 910C: A Practical Guide
This article walks through a reproducible path for deploying a trillion-parameter multimodal MoE model across two Ascend 910C nodes with 32 dies in total. It covers memory capacity planning, choosing tensor and pipeline parallelism, node onboarding, parameter network setup, star-topology weight distribution, deployment verification, and a three-tier load test that includes ultra-long context up to 200K tokens. Readers will find the capacity math, launch parameter structure, consistency checks, and a reusable checklist for large-scale multi-node inference.
1. Background: Why Ultra-Large-Scale MoE Deployment Is a Systems Engineering Problem
A single GPU or a single node can no longer host a native multimodal MoE model at the trillion-parameter scale. Consider a model with 2.8T total parameters, roughly 104B activated parameters, and a 1M-token context length. Even with W4A8 quantization, the weights still occupy around 1.47 TB, far beyond the memory ceiling of any single node. The core challenge therefore shifts from “can it run at all” to “how do we organize multiple nodes and cards into one logically unified large accelerator.”
Engineering-wise, four things must be solved at the same time: memory capacity and partitioning strategy, intra-node and inter-node communication overhead, KV cache growth under long context, and throughput stability under heavy concurrency. Using a dual-node Ascend 910C environment on a cloud platform as the reference, this article lays out a complete, reproducible practice path.
2. Capacity Planning: Decide the Partitioning First
There are 32 dies in total, each with 64 GiB of memory, for 2 TiB of aggregate memory. After subtracting 1.47 TB of weights, the remaining space must hold the KV cache, communication buffers, and runtime overhead. A common practice is to reserve 15%–25% of memory as a safety margin, which avoids fragmentation and OOM when long-context requests arrive.
The parallel strategy combines TP16 within a node, PP2 across nodes, and a world size of 32, rather than global TP32. The reason is straightforward: tensor parallelism involves frequent AllReduce communication and is highly sensitive to bandwidth. Confining it to the high-speed interconnect domain inside a node significantly reduces cross-node round trips. Across nodes, only one pipeline-level point-to-point transfer is needed, so both communication volume and latency stay more controllable.
An illustrative way to organize the launch parameters (structure only, not a specific tool interface):
# Logical expression of intra-node tensor parallelism + cross-node pipeline parallelismtensor_parallel_size = 16pipeline_parallel_size = 2world_size = 16 * 2 # 32max_model_len = 200000 # set according to the business load-test tiergpu_memory_utilization = 0.85quantization = "w4a8"
3. Environment Setup: Nodes, Network, and Weights
Node onboarding. In the console, go to “Compute Nodes → Add Node” to generate an installation command. Run it on the target machine, and the node automatically reports the number of accelerators, network cards, and storage information. The control plane and data plane reuse the same tunnel established by the node’s outbound connection, so there is no need to open inbound ports specifically for inference traffic. This is especially convenient in isolated network segments.
Parameter network. Multi-node scenarios must use the accelerator-dedicated network. After adding the inter-card interconnect devices of each node to the same parameter network, the platform first performs connectivity and topology checks. During deployment, it automatically filters nodes that meet the requirements on that network, avoiding scheduling instances onto machines that cross domains or run on degraded links.
Weight distribution. This is the most easily underestimated time cost. Pulling 1.47 TB of weights from the public network on each machine, at 50–57 MB/s, takes more than 7 hours per machine. Switching to direct node-to-node transfer (around 490 MB/s) cuts it to about 50 minutes, nearly a tenfold speedup. The recommended approach is a star-shaped distribution model — “download once, copy to many” — with verification:
# Consistency check after distribution (illustrative)find /models/kimi-k3.1-pro-w4a8 -name "*.safetensors" | wc -l # expected 346du -sb /models/kimi-k3.1-pro-w4a8 # expected 1466844769783sha256sum /models/kimi-k3.1-pro-w4a8/model.safetensors.index.json
Always pin the weight revision and the image digest. Only when the number of model shards, the total byte count, and the index file hash all match can you rule out hard-to-diagnose issues such as a mid-load failure caused by incomplete weights.
4. Deployment and Verification: From Template to Instance
The inference template has a built-in tier for this model on domestic accelerator cards. Select the template and click deploy; the platform brings up a 32-die instance with TP16 × PP2. Once online, verify three capabilities in order, none of which can be skipped:
- Basic conversation: single-turn Q&A returns normally, confirming the tokenizer matches the template;
- Visible reasoning process: the chain of thought / reasoning segment streams without truncation, confirming the long-sequence decoding path works;
- Tool calling: structured output is parsed correctly, confirming the function call path for agent scenarios is intact.
5. Load Test Design: Three Tiers Covering Real Workloads
Load-test traffic originates from the load-test client and is forwarded to the instance through the platform gateway, avoiding measurement bias from direct connections. The three tiers are:
| Tier | Input/Output | Requests | Focus |
|---|---|---|---|
| Short request | 2048 / 512 | Random | Baseline throughput and first-token latency |
| Agentic 80K | Long context | — | Mid-range KV cache and concurrent scheduling |
| Agentic 200K | Ultra-long context | — | Memory margin and long-sequence stability |
All 836 requests succeeded, with no failures or timeouts. The key takeaway is not “how high the peak is,” but that the ultra-long-context tier saw no memory overflow, no request-queue avalanche, and no output truncation. These three are the most common failure modes when deploying ultra-long-context inference.
6. Reusable Checklist
- Calculate memory before choosing parallelism: capacity determines partitioning, and partitioning determines the communication domain. The order cannot be reversed.
- Keep TP inside the node and PP across nodes: a general best practice for multi-node large model deployment.
- Use star-topology direct transfer for weights: the public network handles only one download; everything else goes over the internal network.
- Pin the revision and image digest: reproducibility is the prerequisite for troubleshooting.
- Load tests must include ultra-long context: all-green short requests do not mean production readiness.
- Control plane and data plane share one tunnel: simplifies network policy and reduces security group configuration complexity.
Following this process, a dual-node 32-die environment can go from zero to a usable instance within hours, while keeping a clear expansion path for horizontal scaling later (adding nodes, adjusting the PP level).
