Deploying Trillion-Parameter MoE Inference on Dual Ascend Nodes: A Practical Guide
This article walks through a production-oriented deployment of a trillion-parameter multimodal MoE model across two Ascend servers (32 dies total) using TP16 × PP2 parallelism and W4A8 quantization. It covers why memory capacity—not compute—is the primary constraint, how to split the parallel topology across nodes, tunnel-based node onboarding, connectivity pre-checks, node-to-node weight transfer instead of repeated public downloads, digest-pinned images, three-layer validation, and a three-tier load test in which all 836 requests passed, including 200K-token contexts.
Deploying Trillion-Parameter MoE Inference on Dual Ascend Nodes: A Practical Guide
1. Why Large-Scale MoE Deployment Is About Stability, Not Just Running
Over the past year, trillion-parameter native multimodal Mixture-of-Experts (MoE) models have become the default choice for long-context agent scenarios. These models share two defining traits: an enormous total parameter count (typically in the trillions), while each forward pass activates only a small fraction of it (roughly tens of billions). This “large capacity, low activation” structure has a direct engineering consequence: memory capacity becomes the first constraint, while compute utilization is comparatively relaxed.
Take a model with 2.8T total parameters, about 104B activated, and a context window of up to 1M tokens. Even with W4A8 quantization (4-bit weights, 8-bit activations), the weights still occupy roughly 1.47 TB, spread across 346 safetensors shards with an exact byte count of 1,466,844,769,783. That number dictates two things:
- A single node cannot hold it, so multi-node, multi-card deployment is mandatory.
- Weight loading, verification, and distribution will dominate the deployment cycle, not inference itself.
A deployable solution therefore has to address three layers at once: resource abstraction and node onboarding, cross-node parallel topology and communication domain partitioning, and a reproducible quantized-weight supply chain with a load-testing method. The three sections below follow those threads.
2. Hardware and Parallel Topology: Splitting 32 Dies into TP16 × PP2
The reference configuration is two domestic accelerator servers, each with 16 dies and 64 GiB of memory per die, for a total of 32 dies and 2 TiB of memory. Inter-node compute communication runs over HCCS (high-bandwidth card-to-card interconnect).
The parallel strategy is intra-node tensor parallelism (TP16) plus cross-node pipeline parallelism (PP2), with world size = 32. This combination is deliberate:
- TP stays inside the node: tensor parallelism performs an AllReduce at every layer, making it the most frequent and latency-sensitive communication. Confining it to the high-bandwidth domain keeps the inter-node network from becoming the bottleneck.
- PP spans nodes: pipeline parallelism moves little data (activations only at stage boundaries) and is insensitive to bandwidth, so it suits crossing the node boundary.
- Why not pure TP32: a 32-way AllReduce across nodes scales communication cost linearly with card count, and the decode phase suffers most because it is memory- and communication-intensive.
An illustrative launch parameter shape (expressing topology semantics only, not a specific platform interface):
# Intra-node TP=16, cross-node PP=2, 32 ranks total--tensor-parallel-size 16 \--pipeline-parallel-size 2 \--quantization w4a8 \--max-model-len 200000 \--gpu-memory-utilization 0.90
Note that max-model-len neither needs to nor should be set to the full 1M. The context window is a model capability ceiling; a real deployment should pick tiers based on the business traffic distribution. Otherwise KV Cache reservation will eat into usable memory and concurrency will drop off a cliff.
3. Control Plane and Data Plane: The Value of Reusing One Tunnel
The platform shape is worth calling out separately: the server and the node agent are each a static single binary, and the agent dials outbound to the server from the node, with control flow, monitoring, logs, and inference traffic all multiplexed over the same tunnel.
This design yields three practical benefits:
- No inbound public access required: domestic accelerator data centers often enforce strict network policies, and outbound dialing avoids the coordination cost of opening inbound firewalls.
- Uniform onboarding: accelerator nodes and general-purpose GPU nodes go through exactly the same enrollment flow. Copy one install command from the console, run it, and the node comes online automatically with its devices, NICs, and storage reported.
- Consolidated failure domain: the tunnel is the observability surface, so logs and metrics need no separate collection path, and troubleshooting happens with complete context.
4. Three Preparation Tasks: Onboarding, Networking, Weight Distribution
4.1 Node Onboarding and Device Discovery
Generate the install command under “Compute Nodes → Add Node” in the console and run it on each of the two machines. The platform should auto-detect 16 dies per node and report memory capacity, interconnect topology, and storage mount points. The acceptance criteria: device count, per-die memory, and node labels must match expectations exactly. If any item differs, investigate driver and firmware first rather than moving on.
4.2 Parameter Network Setup and Connectivity Pre-Check
Multi-node scenarios must use the accelerator network, not the ordinary business network. In the “Networking” capability, add both nodes’ HCCS to the same parameter network; the platform then runs an inter-card connectivity check (bandwidth, latency, bit error rate), and node selection during deployment follows that network.
This is the step most often skipped and the most expensive to skip. The pre-check surfaces three classes of problems before deployment: unaligned topology, degraded links, and cross-node routing that falls back to a low-speed path. Discovering these during load testing usually means rolling back the entire instance.
4.3 Weight Acquisition and Node-to-Node Transfer
Choose a model repository as the weight source (a public source such as ModelScope) and download to the first node only. The second node should not repeat the public download; use the platform’s “copy to…” capability to transfer directly from the first node.
The measured difference is substantial:
| Method | Measured throughput | Estimated time for 1.47 TB |
|---|---|---|
| Public download | ~50–57 MB/s | ~7.5–8.5 hours |
| Node-to-node transfer | ~490 MB/s | ~50 minutes |
Nearly a 10x gap, and direct transfer does not consume public egress bandwidth. Once both sides are written to disk, the platform verifies file by file (shard count, per-file byte size, overall revision consistency) to confirm all 346 shards are complete and untruncated. This step underpins the credibility of every performance number that follows: a single corrupted quantized shard typically shows up as a load failure or garbled output, not an explicit error.
5. Deployment: Pick a Template, Click Deploy, Then Run Three Layers of Validation
The inference template already includes a domestic-accelerator profile for this model. The image is published by the model’s official release and pinned by digest in the template (sha256:e7c67329...96b7). Pinning a digest rather than a tag is the key to reproducibility: tags are mutable, digests are not.
After deployment, run three layers of validation to narrow the problem domain step by step:
- Availability: run a single-turn conversation, a multi-turn context, and a long-document summary; confirm output is coherent and untruncated.
- Capability: explicitly trigger chain-of-thought output and tool calls (function calling); check that argument structures are valid and call chains close. Tool calling is where long-context models fail most often, because it stresses parsing, templating, and KV reuse at the same time.
- Stability: proceed to load testing.
6. Load Test Design: Three Tiers, 836 Requests, All Passing
The load test is initiated from the server side and reaches the instance through the platform gateway, so what gets measured is the real end-to-end path including the gateway, not bare service metrics. Three tiers cover short, medium, and long business shapes:
| Tier | Input/output | Scenario | Result |
|---|---|---|---|
| Random | 2048 / 512 | Standard Q&A and short-text processing | All passed |
| Agentic 80K | ~80K context | Multi-turn tool orchestration | All passed |
| Agentic 200K | ~200K context | Document-level agent tasks | All passed |
836 requests in total, 100% success rate. The significance of this result is not the throughput number but that the long-context tier had no failures. Failures at the 200K level usually come from KV Cache allocation failures, incorrect recovery after preemption, or scheduling jitter at PP boundaries under long sequences. All three tiers green indicates that memory reservation, scheduling, and pipeline bubble handling are self-consistent on this topology.
7. Reusable Lessons
- Network first, then pull weights, then deploy: reversing the order wastes the 1.47 TB download time for nothing.
- Never repeat the public download for weights: node-to-node transfer is the standard action, not an optimization.
- Pin images by digest: for any “worked yesterday, broken today” issue, check whether a tag has drifted first.
- Set context tiers by business need: capability ceiling and deployment configuration are two different things.
- Load test through the gateway: testing only the bare service hides gateway-level timeout and buffering problems.
- Do not skip validation layers: availability → capability → stability; skipping steps makes troubleshooting costs rise exponentially.
8. Conclusion
Running trillion-scale MoE on domestic accelerators is fundamentally a systems engineering problem: memory capacity determines the parallel topology, communication domain partitioning sets the throughput ceiling, the weight supply chain determines the deployment cycle, and layered validation determines delivery certainty. Dual nodes with 32 dies, TP16 × PP2, W4A8 quantization, and 836 requests passing across three tiers show that this path is already production-ready for long-context agent scenarios. For teams about to deploy, turning the sequence and acceptance criteria above into a fixed process is worth more than chasing any single parameter.
