Deploying Ultra-Scale MoE Models on a Dual-Node Ascend Cluster: A Practical Guide
This article walks through bringing an ultra-scale MoE inference service online on a dual-node cluster of domestic accelerators. It covers model and quantization choices, environment and topology planning, node onboarding, parameter network setup, weight distribution, the TP16 x PP2 parallel strategy, load testing methodology, and troubleshooting order, offering a reusable engineering path for large multi-node deployments.
1. Background: Why Ultra-Scale MoE Deployment Is an Engineering-Chain Problem
Over the past year, trillion-parameter native multimodal Mixture-of-Experts (MoE) models have become a focal point in the technical community. These models are highly asymmetric in total versus activated parameters: total parameters determine memory and storage footprint, while activated parameters determine the compute per forward pass. Take a model with 2.8T total parameters, roughly 104B activated parameters, and a 1M-token context window. The engineering implication is clear: no single machine can hold it regardless of card count, so multi-node, multi-card deployment is mandatory. Success in multi-node deployment often depends not on the model itself but on whether the full chain is in place: node onboarding, intra-card and inter-node interconnect, weight distribution, parallel partitioning, and load testing.
This article uses “bringing an ultra-scale MoE inference service online on a dual-node domestic accelerator cluster” as its main thread and presents a reusable practical path. Platform-side capabilities are described in generic categories, such as a containerized inference platform, image registry, object storage, model repository, logging service, and monitoring and alerting.
2. Target Model and the Quantization Trade-off
The first step is deciding “what to load.” The target model uses community-published W4A8 quantized weights, about 1.47 TB in size, made up of 346 shard files. On the inference side, use the official inference framework image released alongside the model, and pin the image digest to avoid version drift.
Two easily overlooked engineering details:
- Quantization is not lossless. W4A8 means 4-bit weights and 8-bit activations. Memory usage drops substantially, but output stability needs extra validation in long-context and complex tool-calling scenarios; single-turn chat quality alone is not enough.
- The image must be pinned by digest. Large-model inference images iterate frequently. Deploying by tag leads to “it ran yesterday, it errors today.” Pinning the digest is a prerequisite for reproducibility.
3. Environment Planning: Treat Cards as First-Class Citizens
Reference environment configuration:
| Item | Configuration |
|---|---|
| Nodes | 2 domestic accelerator servers, 16 dies each (64 GiB per die), 32 dies total |
| Interconnect | Intra-node high-speed interconnect plus inter-node high-speed network for compute communication |
| Parallelism | Tensor parallel 16 per node, pipeline parallel 2 across nodes, world size 32 |
| Weights | W4A8 quantized weights, about 1.47 TB, 346 shards |
| Runtime | Official inference framework image, pinned digest |
For cluster management, a “static single-binary” server + agent architecture is recommended: the agent runs persistently on compute nodes and actively dials out to the control plane, with control flow, monitoring, logs, and inference traffic sharing the same tunnel. The value of this design is that domestic accelerator nodes onboard exactly the same way as general-purpose accelerator nodes: copy one install command from the console and run it, and the node comes online carrying its accelerator card, network card, and storage information, with no need to maintain two separate operations systems for different hardware.
4. Three Things to Do in the Preparation Stage
4.1 Node Onboarding and Topology Recognition
In the console, 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 and reports card model, memory capacity, network cards, and mounted storage. At this stage, verify: die count, memory per die, and whether nodes have multiple network cards (needed later for traffic splitting).
4.2 Parameter Network: The Critical Link for Multi-Node Inference
Multi-node deployment of domestic accelerators must use a dedicated accelerator network. In the “Networking” capability, add the inter-node high-speed interconnect of both nodes to the same parameter network. The platform first performs intra-card connectivity checks, then automatically selects nodes based on that network at deployment time.
The significance: tensor parallelism is extremely sensitive to bandwidth, and pipeline parallelism is sensitive to link stability. If the parameter network is not properly managed, the scheduler may place two instances on nodes that use ordinary Ethernet, causing a cliff-like performance drop. This shows up as “intermittent slowness” rather than a hard error, making troubleshooting very costly.
4.3 Weight Distribution: An Underrated Time Sink
The same 1.47 TB of weights downloads from the model repository over the public internet at about 50-57 MB/s, taking nearly 8 hours in theory. A direct node-to-node transfer runs at about 490 MB/s, cutting the time to under 1 hour, nearly a 10x improvement.
Recommended flow: in “Models,” select the model repository source and download to the first node first; for the second node, do not use the public internet, but use the “Copy to…” capability to transfer directly from the first node. Two practical tips:
- After downloading, verify shard count and total bytes to prevent partial files from entering the runtime;
- If the cluster grows further, use “chained distribution” (node 2 pulls from node 1, node 3 pulls from node 2) to avoid saturating a single node’s bandwidth.
5. Parallel Strategy: Why TP16 x PP2 Makes Sense
On 32 dies, there are three common partitioning options: pure tensor parallel 32, tensor parallel 16 + pipeline parallel 2, and tensor parallel 8 + pipeline parallel 4.
The core logic for choosing TP16 x PP2: keep the communication-intensive dimension within the node. Tensor parallelism performs reduction communication at every layer, so keeping it on the intra-node high-speed interconnect keeps the cost manageable; pipeline parallelism only passes activations at stage boundaries, with small communication volume, making it suitable for cross-node. Forcing TP32 would saturate the inter-node link with communication; TP8 x PP4 increases pipeline bubbles and actually lowers utilization at small batch sizes.
A schematic launch parameter structure (only expressing the partitioning relationship):
# Tensor parallel 16 within a node, pipeline parallel 2 across 2 nodes--tensor-parallel-size 16 \--pipeline-parallel-size 2 \--model /models/kimi-k3.1-pro-w4a8 \--max-model-len 1048576 \--gpu-memory-utilization 0.90
After the instance is up, verify functionality first: multi-turn chat, chain-of-thought output, and tool calling must all work before moving to load testing. Functional validation cannot be skipped: quantized models have a non-trivial chance of subtle deviations in tool-calling formats.
6. Load Testing Design: 836 Requests Across Three Tiers, All Successful
Load testing originates from the client, passes through the platform gateway, and reaches the instance, covering three tiers:
- Random 2048/512: short input and short output, testing baseline throughput and first-token latency;
- Agentic 80K: long-context agent scenario, testing KV cache usage and concurrency capacity;
- Agentic 200K: ultra-long context, testing memory watermark and stability under long sequences.
Result: all 836 requests across the three tiers succeeded, with no failures and no timeout degradation. The emphasis here is on load testing methodology rather than a single number:
- Tiers are mandatory. Testing only short requests overestimates throughput; testing only long requests underestimates concurrency;
- Watch the KV cache. In long-context scenarios, the memory bottleneck usually appears in the KV cache before weights;
- Record P99, not just the mean. Agent pipelines are extremely sensitive to tail latency; a good mean with P99 jitter can cascade into an orchestration collapse upstream.
7. Common Issues and Troubleshooting Order
- Instance won’t start: first check whether dies are detected and whether the parameter network connectivity check passes;
- Starts but extremely slow: confirm it is using the dedicated accelerator network, and check whether pipeline stages are distributed across nodes sensibly;
- Long-context failure: lower the max context or raise the memory utilization ceiling, and watch the KV cache watermark;
- Abnormal output format: verify that the image digest and weight revision match.
8. Summary
Bringing ultra-scale MoE online on a domestic accelerator cluster is fundamentally a systems engineering effort: standardize node onboarding, properly manage the parameter network, distribute weights over the internal network via direct transfer, follow the principle of “keeping communication-intensive dimensions within the node” for parallel partitioning, then validate long-context and tool-calling stability with tiered load testing. Solidifying this chain into a template, so that selecting a template and clicking deploy brings up a 32-die instance, is the key step in moving this kind of work from “expert operation” to an “everyday capability.”
