Deploying Trillion-Parameter MoE Model Inference on Two Ascend Servers: A Practical Guide
This article walks through a real-world deployment of a 2.8T-parameter multimodal MoE model with 1M-token context on two domestic Ascend servers. It covers hardware baseline planning at the die level, platform-based node onboarding, distributing 1.47 TB of quantized weights over an internal network, choosing TP16 x PP2 parallelism, and layered validation and load testing. The takeaways offer a reusable path from resource inventory and topology design to data distribution, parallel partitioning, and staged verification for large-scale MoE inference on domestic compute.
1. Why Large-Model Inference Is an Engineering Problem, Not a Modeling Problem
When total parameters reach the trillions and context length grows to a million tokens, the bottleneck in inference serving usually shifts away from the algorithm and into the engineering pipeline: whether there is enough GPU memory, whether inter-card and inter-node bandwidth can keep up, how to distribute weights spanning more than a hundred terabytes across multiple machines efficiently, and whether the service still stays failure-free under long-context stress tests. This article uses a setup of “two domestic accelerator servers plus a containerized inference platform” to review the full rollout of a native multimodal MoE model with 2.8T total parameters, roughly 104B activated parameters, and a 1M-token context.
The defining characteristic of this class of models is sparse activation: although the total parameter count is enormous, only about a hundred billion parameters actually participate in computation for each token. As a result, GPU memory is consumed mainly by resident weights, while compute pressure concentrates on the selected expert branches. This means the deployment strategy has to optimize two things at the same time: how weights are loaded and partitioned, and the communication topology.
2. Hardware and Software Baseline: Inventory Resources First
A reproducible baseline looks like this (illustrative):
Node count : 2 domestic Ascend training/inference serversDies per node : 16 (64 GiB memory per die)Total dies : 32Memory per die : 64 GiBIntra-/inter-node interconnect : HCCS carries compute communicationParallel strategy : intra-node TP16 x cross-node PP2, world size = 32Weights : W4A8 quantized, about 1.47 TB, 346 shardsInference image : official vLLM-based Ascend adaptation image released with the model (pinned by digest)
Three easily overlooked details matter here:
- The die is the scheduling unit. On chiplet-based hardware such as Ascend, a single physical node is exposed as multiple dies. Resource orchestration must use the die as its granularity; otherwise you get “the node is idle but the instance won’t start.”
- Quantized weight size determines load time. Once 1.47 TB of weights is spread across 32 dies, each die holds roughly 46 GB of resident weights. Add KV Cache and activations, and 64 GiB of memory is “just enough,” so context length and concurrency must be controlled tightly.
- The image must be pinned by digest. The model and the inference framework are tightly coupled in version, and a floating tag makes operator incompatibility very likely. Production environments should pin an immutable reference.
3. Platform Onboarding: Making Heterogeneous Compute as Simple as Applying Labels
Traditional multi-node deployment means hand-writing a hostfile, configuring RDMA, and aligning NPU driver versions, which is highly error-prone. A more engineering-friendly approach is to build both the server and the agent as static single binaries: the agent is deployed on each node and initiates an outbound connection to the control plane, with control traffic, monitoring, logs, and inference traffic all reusing the same tunnel. A node carries its own NPU count, NIC, and storage information as soon as it comes online.
The onboarding steps can be summarized as:
- Generate an install command from “Compute Nodes -> Add Node” in the console;
- Run it on each of the two machines, and the platform automatically detects 16 dies per node;
- In “Networking,” place both nodes’ HCCS into the same parameter network, and the platform runs inter-card connectivity checks;
- During deployment, select nodes automatically based on that network, avoiding scheduling instances onto machines without high-speed interconnect.
The value of this model is that domestic cards and general-purpose accelerators are onboarded in exactly the same way, significantly reducing the operational mental load.
4. Distributing 1.47 TB of Weights: The Most Underrated Bottleneck
Weight distribution was the most time-consuming part of this exercise, and the most worth optimizing. Pulling over the public internet measured about 50-57 MB/s, so 1.47 TB takes hours; direct node-to-node transfer reached about 490 MB/s, nearly a 10x improvement.
The recommended strategy is “one public pull plus one internal fan-out”:
- In model management, choose the model community repository as the source and download to the first node;
- Use the “Copy to…” capability to transfer directly from the first node to the second, bypassing the public internet;
- After both sides finish, the platform verifies file by file (it is recommended to compare both shard count and total bytes, for example 346 shards and 1,466,844,769,783 bytes).
Three additional practical recommendations:
- Verify before launching. Missing or truncated shards only surface during loading, wasting whole-machine time.
- Pin the revision. Use a commit ID to lock the weight version and keep repeated experiments reproducible.
- Reserve shared storage. If you later scale out beyond four nodes, shared object storage or a parallel file system is more sustainable than pairwise direct transfer.
5. Parallel Partitioning: The Trade-off Behind TP16 x PP2
The world size 32 split is not an arbitrary combination. The 16 dies inside a node are interconnected by high-bandwidth HCCS, which suits the communication-sensitive tensor parallelism (TP); cross-node bandwidth is comparatively limited, so the layers are split into two stages for pipeline parallelism (PP2), letting only smaller activation tensors cross between nodes.
The decision rule can be simplified to one principle: put dimensions with high communication frequency and small data volume inside the node; put dimensions with low communication frequency and large span between nodes. Pushing TP to 32 across nodes makes AllReduce a throughput killer; stretching PP too long raises first-token latency through pipeline bubbles.
6. Validation and Load Testing: Proving It Is More Than “It Runs”
Pre-launch validation should cover both capability and stress:
- Capability: multi-turn dialogue, chain-of-thought/reasoning output, and tool calling (structured argument generation and result injection) all work correctly;
- Stress: three tiers of random 2048 input / 512 output, Agentic 80K, and Agentic 200K, with all 836 requests succeeding and no failures or timeouts.
Long-context scenarios require extra attention to KV Cache memory growth and paging efficiency. During load testing, it is advisable to observe memory watermark, queueing latency, and first-token latency at the same time, avoiding a “100% success rate but unusable latency” outcome.
7. A Reusable Deployment Checklist
- Inventory resources at die granularity and confirm a single die’s memory can hold the weight shard plus KV Cache;
- Prefer intra-node TP and cross-node PP; get it running first, then tune;
- Fan out weights over the internal network before verification, and pin the revision and image digest;
- Cover both extremes in load testing: short requests and very long Agentic requests;
- Consolidate the control plane, logs, monitoring, and inference traffic into a unified channel to lower troubleshooting costs.
What makes this methodology broadly applicable is that it does not depend on a particular hardware vendor or a particular platform. It provides a standard path of “resource inventory -> topology design -> data distribution -> parallel partitioning -> layered validation” that any team can follow when deploying very large MoE models on domestic compute.
