Deploying Trillion-Parameter MoE Models on Two Ascend Nodes: A Practical Guide
This article walks through deploying a native multimodal MoE model with 2.8T total parameters and roughly 104B activated parameters across two domestic accelerator servers with 32 dies and about 2 TB of aggregate memory. It explains why memory capacity and fragmented communication patterns make trillion-scale MoE deployment harder than it looks, why W4A8 quantization was chosen, and how intra-node TP16 combined with inter-node PP2 keeps traffic on the fast interconnect. You will find the environment checklist, node onboarding and parameter network setup, weight distribution timings, instance startup parameters, load test design and results, and a troubleshooting checklist.
1. Why Trillion-Scale MoE Deployment Is Harder Than It Looks
Native multimodal MoE models have reached total parameter counts in the trillion range, yet only a small fraction of those parameters are activated per token. This “large parameter count, small activation” structure has two direct consequences.
First, memory capacity becomes the primary constraint. Even with a quantization scheme such as W4A8 (4-bit weights, 8-bit activations), a full copy of the weights still exceeds 1.4 TB. No single machine can hold it, regardless of how many cards it has, so the weights must be sharded across nodes.
Second, communication patterns are highly fragmented. Expert parallelism in MoE generates heavy All-to-All traffic, tensor parallelism depends on frequent All-Reduce, and pipeline parallelism relies on point-to-point transfers. The three have different sensitivity to bandwidth and latency, so if the network topology is poorly designed, even abundant compute will be dragged down by communication.
Deploying this class of model on two nodes is therefore a constraint-solving exercise that links capacity, parallelism strategy, and network topology together.
2. Target Model and Quantization Choices
The model used in this practice is a native multimodal MoE with 2.8T total parameters, about 104B activated parameters, and a 1M token context length.
W4A8 quantized weights were chosen over the original precision for one core reason: the capacity gain is the most direct. Weight size shrinks to roughly 1.47 TB, which makes a footprint of “two machines, 32 dies” feasible. Note that quantization is not lossless; low-bit schemes are sensitive to activation distributions, so accuracy regression should be run on your own business corpus before going live, especially for long-context and tool-calling scenarios.
On the inference side, the official inference framework image released by the community alongside the model is used, with the image digest pinned rather than a floating tag. This is a baseline production requirement: a floating tag may point to a different underlying build one day, causing the same orchestration file to launch different behavior at different times.
3. Environment Planning: Turning Resources into Schedulable Resources
A reusable minimal environment checklist:
| Item | Configuration |
|---|---|
| Nodes | 2 domestic accelerator servers, 16 dies each, 64 GiB per die, 32 dies / ~2 TB aggregate memory |
| Inter-card / inter-node fabric | High-speed intra-node interconnect + HCCS carrying compute communication between nodes |
| Parallelism | TP16 within a node, PP2 across nodes, world size = 32 |
| Weights | W4A8 quantized, ~1.47 TB, 346 shards |
| Runtime | Official inference framework image, version pinned by digest |
| Control plane | Containerized cluster + unified platform-side orchestration and load test dispatch |
The parallelism strategy deserves the most explanation. TP16 splits a single layer’s tensors across 16 dies, keeping All-Reduce traffic inside the single-machine high-speed interconnect domain. PP2 splits the model into two layer segments, so cross-node traffic is limited to point-to-point activation passing at the boundary, one to two orders of magnitude smaller than doing tensor parallelism across machines. This is why “TP inside the node, PP across nodes” has become the default paradigm for cross-node large model deployment.
4. Implementation Steps
4.1 Node Onboarding and Resource Discovery
In the console, go to “Compute Nodes → Add Node” to generate an install command, then run it on each of the two machines. When a node comes online it should automatically report accelerator card count, memory capacity, NIC, and storage information. Checkpoint: the platform should detect 16 dies per node; if it detects fewer, the driver or device mount is usually not ready.
On the platform side, both the server and the agent are statically linked single binaries, and the agent dials out to the server. Control flow, monitoring, logs, and inference traffic all reuse the same tunnel. The biggest benefit of this reverse-connection design is that you do not need to open a set of inbound ports in a domestic accelerator environment, keeping security group rules minimal.
4.2 Building the Parameter Network
Multi-node inference runs over the accelerator network, not the ordinary business network. In the network configuration, add the HCCS of both nodes to the same parameter network. The platform then runs an inter-card connectivity check and automatically filters eligible nodes at deployment time. Skipping this step is the most common failure cause: the scheduler may place the two instances on nodes without high-speed interconnect, and performance will fall off a cliff.
4.3 Weight Distribution: Cutting the 1.47 TB Transfer Time
First download the weights to the first node from the model community source on the “Models” page; measured public internet download speed is about 50–57 MB/s. Do not repeat the public download on the second node; use the platform’s “Copy to…” for a direct node-to-node transfer, measured at about 490 MB/s, nearly a tenfold difference.
At 1.47 TB, a repeated public download takes over 7 hours, while a direct node-to-node transfer takes about 50 minutes. Engineering recommendations:
- After the weights land on disk, verify the shard count and total byte size so a partial file never enters the loading stage;
- Use homogeneous local disks on both nodes so one node does not fall back to network storage and become a loading bottleneck;
- The loading stage peaks both memory usage and IO, so schedule it off-peak rather than in parallel with other large jobs.
4.4 Launching the Instance
Select the built-in domestic accelerator template, click deploy, and the platform brings up a 32-die instance with TP16 × PP2. After startup, verify in order: health check passes, model loading completes, conversation works, the reasoning process (chain of thought) is visible, and the tool-calling path is functional.
Illustrative startup parameter structure (expressing parallelism topology semantics only):
# Intra-node tensor parallelism 16, cross-node pipeline parallelism 2--tensor-parallel-size 16 \--pipeline-parallel-size 2 \--quantization w4a8 \--max-model-len 1048576 \--served-model-name kimi-k3.1-pro
5. Load Test Design and Results
Load tests were initiated by the platform server and reached the instance through the gateway: three groups, 836 requests in total, all successful.
| Scenario | Input/Output | Focus | Result |
|---|---|---|---|
| Random short dialogue | 2048 / 512 | Baseline throughput and first-token latency | 836/836 succeeded |
| Agentic long context | ~80K | Long-sequence memory and KV management | All succeeded |
| Agentic ultra-long context | ~200K | Extreme context stability | All succeeded |
Interpreting the results matters more than the numbers themselves. All three groups passing shows two things: the PP2 layer split does not conflict with the position encoding and KV cache allocation of a 1M context, and no requests failed due to memory fragmentation under long context. For similar load tests, record three curves in addition: first-token latency, per-token latency, and throughput, and watch whether the 200K tier triggers memory watermark alerts; the performance inflection point for long-context scenarios usually appears here.
6. Troubleshooting Checklist
- Instance fails to start: first check whether the parameter network is bound and whether the dies are fully recognized by the platform;
- Loading timeout: check weight shard integrity and whether the storage medium is a local disk;
- Long-context failure: lower max concurrency or max sequence length and watch KV cache usage;
- Performance far below expectations: confirm traffic is not crossing nodes over the ordinary network, and confirm the TP group lands within the same machine.
7. Summary
Getting a trillion-scale MoE running on two nodes with 32 dies depends not on peak compute at any single point but on three things done right: low-bit quantized weights with enough capacity, a parallelism topology of intra-node TP plus inter-node PP, and the distribution efficiency of high-speed direct node-to-node transfer. Codify these three into templates and checklists, and the barrier to running ultra-large-scale models on domestic accelerators drops significantly.
