Deploying Trillion-Parameter MoE Models on Dual Ascend Nodes: A Practical Guide
This article walks through a real-world deployment of a trillion-parameter multimodal MoE model across two domestic Ascend servers, using 16-way tensor parallelism per node and 2-way pipeline parallelism across nodes for a 32-die instance. It covers the engineering constraints of W4A8 quantized weights, environment topology, node onboarding, parameter network setup, weight download and verification, the trade-offs behind TP16 × PP2, and a three-tier stress test design in which all 836 requests succeeded. Readers will find a reusable checklist for bringing ultra-large MoE models into multi-node domestic compute environments.
1. Background and Problem Statement
In last week’s hands-on work, we collected single-card inference data on one high-end accelerator. During the live session, the question developers asked most was whether domestic compute can host a trillion-parameter native multimodal model. This week, a cloud platform’s inference template added an Ascend profile for this class of model, and the setup was validated on real hardware across two domestic accelerator servers.
The overall path is lightweight: pick a template, click deploy, and the two nodes bring up a 32-die instance with tensor parallelism 16 per node and pipeline parallelism 2 across nodes. Validation covered three capabilities: conversation, reasoning-process display, and tool calling. The stress test used three scenarios: random 2048/512, Agentic 80K, and Agentic 200K. All 836 requests succeeded.
The point of this article is not to recommend a specific platform, but to abstract a general engineering method for landing ultra-large MoE models in multi-node domestic environments.
2. Engineering Constraints of the Model and Quantization Scheme
The target model is a native multimodal MoE with roughly 2.8T total parameters and about 104B activated parameters, supporting a context length of 1M tokens. It has three notable engineering characteristics:
- Enormous weight footprint. The community-published W4A8 quantized weights are about 1.47 TB, split into 346 shard files, with an exact byte count of 1,466,844,769,783. Storage bandwidth, download verification, and load order all become key variables in startup time.
- Sparse activation. Despite the huge total parameter count, a single token activates only about 104B parameters, so compute demand and memory capacity demand do not grow in lockstep. Memory capacity and inter-card communication are the primary bottlenecks.
- Extremely long context. A 1M-token context raises the bar for KV cache management, paging strategy, and long-sequence stress test design.
Choosing W4A8 (4-bit weights, 8-bit activations) is a compromise between capacity and precision: with a 32 × 64 GiB memory pool, it leaves enough KV space for long contexts.
3. Test Environment Topology
| Item | Configuration |
|---|---|
| Nodes | 2 domestic accelerator servers, 16 dies each, 64 GiB per die, 32 dies total |
| Interconnect | High-speed node-to-node interconnect carries compute communication |
| Parallelism | TP16 within nodes, PP2 across nodes, world size = 32 |
| Weights | W4A8 quantized shards, 346 files, about 1.47 TB, fixed revision |
| Runtime | Official inference container image released with the model, template pinned by digest |
| Platform | A cloud platform nightly build; stress tests are initiated by the server and reach the instance through the gateway |
Two easily overlooked details matter here. First, the image must be pinned by digest rather than tag, otherwise drift under the same tag can break reproducibility. Second, the weights must be pinned to a fixed revision, since different quantization versions introduce hidden differences in precision and memory usage.
4. Platform Onboarding: The Value of a Static Single Binary
Both the platform’s server and agent are static single binaries. The agent dials out to the server from the node, and control, monitoring, logs, and inference traffic all reuse the same tunnel. This design yields three benefits:
- No need to resolve complex dependencies on domestic nodes, which lowers environment adaptation cost;
- Outbound-only connectivity removes the dependency on inbound ports, simplifying network policy;
- Control plane and data plane share one tunnel, so the troubleshooting path is single and fault isolation is faster.
Ascend nodes onboard exactly like general accelerator nodes: copy one install command from the console and run it, and the node comes online carrying its accelerator, NIC, and storage information. The platform automatically detects 16 dies per node, with no manual device topology registration.
5. Preparation in Three Steps
- Onboard the nodes. Generate the install command under Compute Nodes → Add Node, run it on both machines, and confirm all 32 dies are visible.
- Configure the parameter network. Multi-node domestic accelerators use a dedicated accelerator network. In Network, add the inter-card interconnect of both nodes to the same parameter network; the platform runs a connectivity check and selects nodes by that network at deployment time, avoiding scheduling the instance onto machines with inadequate communication.
- Download and verify the weights. Choose the model source under Models and download to the first node; once both downloads finish, the platform verifies file by file to prevent missing or truncated shards from causing a mid-load failure.
Illustrative verification logic:
# Verify shard count and size file by file; abort if anything is missingfind ./weights -name "*.safetensors" | wc -l # expected 346du -sb ./weights # expected 1466844769783
6. Deployment: The TP16 × PP2 Trade-off
Choosing TP16 within nodes and PP2 across nodes instead of global TP32 comes down to communication hierarchy: intra-node interconnect bandwidth is far higher than inter-node bandwidth. Placing the high-frequency AllReduce inside the node and the lower-frequency inter-layer activation transfer across nodes significantly reduces the share of cross-machine communication.
Pipeline parallelism also introduces an engineering problem that must be handled: bubbles. Under PP2, a small micro-batch count raises the bubble ratio, so stress tests need to cover different input lengths and observe throughput and first-token latency together.
7. Stress Test Design and Result Interpretation
The three scenarios have distinct purposes:
- Random 2048/512: short input and short output, measuring baseline throughput and scheduling overhead;
- Agentic 80K: medium-long context, validating KV reuse under multi-turn tool calling;
- Agentic 200K: long context, pushing toward the limits of memory and paging management.
All 836 requests succeeded, indicating the instance hit no OOM, timeout, or shard-loading anomaly under mixed long-context and tool-calling workloads. For evaluation, record four metrics together: success rate, first-token latency distribution, per-card memory watermark, and cross-machine communication share. Success rate alone can easily mask long-tail problems.
8. A Reusable Deployment Checklist
- Pin the image digest and weight revision to guarantee reproducibility;
- Run an inter-card connectivity check before deployment, and manage the network as a first-class resource;
- Verify weights file by file after download to avoid long-tail failures;
- Prefer “TP within nodes, PP across nodes” for the parallel strategy;
- Cover short, medium, and long contexts in stress tests, including the tool-calling path;
- Monitor success rate, latency percentiles, memory watermark, and communication share together.
This method has direct reference value for migrating similar ultra-large MoE models into multi-node domestic environments. The core conclusion does not depend on any specific product, but on the combination of three things: topology-aware parallel partitioning, strict reproducibility checks, and tiered stress testing.
