Deploying Ultra-Scale MoE Models on Dual-Node Ascend Accelerators: A Practical Guide
This article walks through deploying an ultra-scale Mixture-of-Experts (MoE) model across two nodes with 32 dies in total. It covers the parallelization strategy (TP16 within a node, PP2 across nodes), node onboarding, parameter network setup, high-speed weight distribution, functional validation, and a three-tier stress test. Readers will find the concrete constraints, troubleshooting checklist, and reusable practices for multi-node inference on domestic accelerator cards.
1. Background and Problem Definition
Inference deployment for ultra-scale Mixture-of-Experts (MoE) models is shifting from “can it run on a single card” to “how do we run it stably across multiple nodes, and how fast.” Take a native multimodal MoE with 2.8T total parameters, roughly 104B activated parameters, and a 1M-token context length as an example: its weight footprint has reached the TB scale, which a single node’s memory cannot hold, so multi-node coordination is mandatory. Meanwhile, the activated parameters are far smaller than the total, making communication and scheduling overhead the dominant variables for throughput.
This article targets a typical domestic accelerator topology of “two nodes, 16 dies each, 32 dies in total” and explains how to go from zero to a passing stress test on a general-purpose cloud management platform. To avoid tying the discussion to a specific product, the platform is abstracted as the “cloud management platform / inference platform,” the image as the “official inference image released alongside the model,” and the quantized weights as the “community W4A8 quantized version.”
Three constraints need to be stated up front:
- The weights are about 1.47 TB across several hundred shards, so the distribution strategy directly determines preparation time;
- Multi-node communication runs over the accelerator-dedicated network, not the regular business NIC;
- The parallel strategy must split both the tensor dimension and the pipeline dimension, with world size mapping strictly to the die count.
2. Overall Architecture and Parallel Strategy
The design uses a hybrid split of tensor parallelism plus pipeline parallelism: the 16 dies inside a node form TP16, and PP2 spans the two nodes, giving a world size of 32 that exactly matches the physical die count. The rationale:
- Intra-node bandwidth is far higher than inter-node bandwidth, so placing the most communication-intensive tensor parallelism inside the node significantly reduces cross-node traffic;
- Pipeline parallelism only passes activations at layer boundaries, with low communication volume and low bandwidth sensitivity, making it suitable for cross-node links;
- A one-to-one mapping between world size and die count avoids resource fragmentation and topology mismatch.
The control plane and data plane share a single tunnel: an agent on each node actively dials out to the control end, and control, monitoring, logs, and inference traffic all share that channel. The benefit is that nodes need no inbound ports open, so the deployment shape and firewall policy stay uniform; the cost is that the control plane and data plane compete for bandwidth, so overall tunnel load matters during stress testing.
Illustrative startup parameters (semantic only, not a specific product interface):
tensor-parallel-size = 16 # dies within a nodepipeline-parallel-size = 2 # stages across nodesworld-size = 32 # total diesmax-model-len = 200000 # long-context slotquantization = w4a8 # 4-bit weights / 8-bit activations
3. Preparation: Nodes, Network, and Weights
3.1 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 accelerator count, NICs, and storage. The whole process is a static single-binary mode with no need to preinstall a container runtime or a configuration center. Key verification point: whether the die count the platform detects matches the physical count (16 per node). If not, check driver and firmware versions first.
3.2 Parameter Network Setup
Multi-node inference must use the accelerator interconnect network. In “Network,” place both nodes’ HCCS into the same parameter network; the platform then runs inter-card connectivity checks (bandwidth, latency, topology reachability) and selects nodes automatically based on that network at deployment time. In practice, keep the parameter network separate from the business network so stress-test traffic does not interfere with heartbeats and logs.
3.3 Weight Distribution
Choose the model community repository as the weight source, download to the first node, then use “Copy to…” to transfer directly to the second node. The measured difference is significant: public internet download runs at about 50–57 MB/s, while direct node-to-node transfer reaches about 490 MB/s, nearly a tenfold gap. For 1.47 TB of weights, this compresses preparation time from hours to roughly half an hour. Engineering recommendations:
- Pin the revision to avoid weight drift that makes results non-reproducible;
- Verify shard count and total bytes (e.g., 346 shards, 1,466,844,769,783 bytes);
- Pin the image by digest rather than a floating tag.
4. Deployment and Validation
Pick the template and click deploy; the platform brings up a 32-die instance as TP16 × PP2. After launch, run a three-part functional check first: multi-turn dialogue, reasoning-process output, and the tool-calling chain. These correspond to generation quality, long chain-of-thought stability, and structured output capability, and none can be skipped.
Then run three stress-test tiers covering different load shapes:
| Tier | Input/Output | Scenario | Result |
|---|---|---|---|
| Random | 2048 / 512 | short requests, high concurrency | all succeeded |
| Agentic 80K | long context | multi-turn tool chains | all succeeded |
| Agentic 200K | ultra-long context | long-memory reasoning | all succeeded |
All 836 requests across the three tiers succeeded, indicating the instance is usable in terms of functional correctness, long-context stability, and concurrent scheduling. The stress-test path was: load generator → platform gateway → instance, so the results include gateway forwarding overhead and are closer to a real business path.
5. Common Issues and Troubleshooting Checklist
- Abnormal die count: check driver, firmware, and image version compatibility;
- Cross-node communication failure: confirm parameter network membership and whether the HCCS connectivity check passed;
- Weight loading failure: verify revision, shard count, and total bytes;
- Long-context OOM: lower max-model-len first or adjust the PP stage count rather than blindly adding cards;
- Throughput below expectations: determine whether the bottleneck is intra-node bandwidth, cross-node bandwidth, or gateway overhead, and isolate it segment by segment.
6. Conclusion
A dual-node, 32-die setup can already serve ultra-scale MoE inference with TB-scale weights. Three points are key: aligning the parallel split with the physical topology, distributing weights via direct node-to-node transfer, and covering both extremes in stress testing—short requests and ultra-long contexts. This workflow and validation method transfer to similar domestic accelerators and multi-node deployments of different sizes, giving teams a reusable implementation pattern.
