Deploying Trillion-Parameter MoE Models on Dual Ascend Nodes: A Practical Guide

    This article walks through deploying a trillion-scale MoE model across two domestic Ascend servers with 32 dies in total. It covers the hardware and software baseline, node onboarding and topology discovery, parameter network setup, distributing 1.47 TB of quantized weights, the TP16 x PP2 parallelism strategy, load testing design, and a troubleshooting order for common failures. Readers will find reusable engineering checks for bringing up large-scale inference services on heterogeneous compute.

    1. Background and Problem Definition

    Inference deployment for ultra-large MoE models is shifting from “runs on a single machine” to “stable service across multiple machines.” Take a native multimodal MoE with 2.8T total parameters, roughly 104B activated parameters, and a 1M token context window. Even with W4A8 quantization reducing the weights to about 1.47 TB, a single device’s memory and bandwidth are far from sufficient, so a multi-node, multi-card approach is required. This article uses an environment of two domestic Ascend servers, each with 16 dies (64 GiB per die), for 32 dies in total, to explain how to complete the full workflow on a cloud platform: choose a template, click deploy, and validate under load. It also shares reusable engineering judgments.

    The core difficulty here is not whether the model can load, but three things: first, whether the parallel topology across 32 dies is correctly identified and orchestrated; second, how efficiently the 1.47 TB of weights is distributed across the two nodes; third, whether the service remains stable and observable under long-context and tool-calling scenarios.

    2. Hardware and Software Baseline

    Item Configuration
    Compute nodes 2 domestic Ascend servers, 16 dies each, 64 GiB per die, 32 dies total
    Inter-card / inter-node interconnect High-speed interconnect within a node; HCCS carries compute communication between nodes
    Parallelism strategy TP16 within a node, PP2 across nodes, world size = 32
    Model weights W4A8 quantized, about 1.47 TB, 346 shards
    Inference runtime Official container image released with the model, with a fixed digest in the template
    Scheduling platform Containerized platform that supports NPU node management and inference templates

    Two easily overlooked details matter here. First, the image must be pinned to a digest rather than a floating tag; otherwise, different batches may pull inconsistent runtime versions, making operator behavior hard to reproduce. Second, the revision of the quantized weights must be fixed. MoE expert routing is sensitive to weight versions, and version drift shows up directly as output quality fluctuation.

    3. Platform Onboarding: Using Heterogeneous Compute Like Homogeneous Compute

    On the platform side, there is a control plane and a node-side agent. Both are statically compiled single binaries. The node-side agent initiates the connection to the control plane, and control traffic, monitoring, logs, and inference traffic all reuse the same tunnel. The value of this design is that onboarding domestic NPU nodes feels exactly the same as onboarding mainstream GPU nodes, so operations do not need to maintain two separate mental models for heterogeneous hardware.

    The onboarding steps can be summarized as:

    1. Generate the install command under “Compute Nodes - Add Node” in the console;
    2. Run the command on the target machine, and the node comes online carrying its accelerator cards, NICs, and storage information;
    3. The platform automatically discovers the 16 dies on each server and reports the topology.

    Illustrative onboarding validation logic (pseudocode, showing validation order only):

    1. on_node_join(node):
    2. dies = discover_accelerators(node) # expect 16
    3. assert dies.count == 16
    4. report(node.dies, node.nics, node.storage)
    5. topology = build_local_topology(dies) # record inter-die links
    6. control_plane.mark_ready(node, topology)

    Topology identification is critical because the TP16 communication domain must fall within the high-speed interconnect range of a single physical machine, while cross-node communication only handles the PP2 pipeline split. If the platform incorrectly spreads the TP domain across nodes, latency increases by an order of magnitude.

    4. Parameter Network: Turning Two Machines into One Communication Domain

    Multi-node inference on domestic accelerator cards relies on a dedicated parameter network. In practice, add the HCCS of both nodes to the same parameter network in the network configuration. The platform then runs inter-card connectivity checks and automatically filters eligible nodes based on that network during deployment.

    It is recommended to make the connectivity check a hard gate before deployment. The checks should include at least: whether all links are up, whether bandwidth meets expectations, and whether any TP communication is mistakenly attached across nodes. Illustratively:

    1. checks = [
    2. link_state(all_up),
    3. bandwidth(per_link, min_expected),
    4. domain_isolation(tp_domain_within_node),
    5. pp_domain_spans_nodes(expected=2)
    6. ]
    7. if not all(checks): fail_fast("parameter network not ready")

    Getting this step solid is what makes “click deploy to bring up a 32-die instance” deterministic later.

    5. Weight Distribution: Moving 1.47 TB Efficiently Determines Time to Launch

    Weight acquisition is the most underestimated step. Downloading 1.47 TB over the public internet measured about 50-57 MB/s in testing, which pushes the theoretical time into the range of several hours; direct node-to-node transfer reached about 490 MB/s, nearly a 10x difference. So the recommended strategy is “one public download plus node-to-node copy”: download from the model source on the first node, then use the platform’s “copy to…” capability to transfer directly from the first node to the second, after which the platform verifies file integrity one by one on both sides.

    Three additional optimizations can be layered on:

    • Parallel shard downloads: split the 346 shards into chunks by concurrency to avoid single-connection bottlenecks;
    • Pipeline verification with downloading: verify each shard as soon as it completes, without waiting for the full set;
    • Warm staging: place the weights on local high-speed storage to reduce first-load jitter at runtime.

    6. Deployment Topology: The Trade-offs of TP16 x PP2

    The final instance is brought up with TP16 within a node, PP2 across nodes, and world size 32. The logic behind this combination: TP is the most bandwidth-sensitive and must be confined within the high-speed domain of a single machine; PP only passes activations between layers, with small communication volume, making it suitable for cross-node use. For a 2.8T total-parameter MoE, PP can also split expert layers along the pipeline, reducing the weight residency pressure on each die.

    After deployment, three things need confirmation: the instance health check passes, dialogue and inference output are normal, and the tool-calling path works. These correspond to “the service is alive,” “generation is correct,” and “it can interact with external systems” - none can be missing.

    7. Load Testing Design: Three Workloads Covering Real Scenarios

    Validation used three workloads totaling 836 requests, all successful:

    • Random workload: 2048/512 input/output, validating baseline throughput and latency;
    • Agent long context A: about 80K context, validating memory and scheduling under long sequences;
    • Agent long context B: about 200K context, validating stability near the maximum length.

    The load test traffic travels from the initiator through the platform gateway to the instance, the same path as real business traffic, so the conclusions have production reference value. Recommended metrics to collect at minimum: time to first token, per-token latency, throughput, failure rate, and die-level memory and temperature.

    8. Common Issues and Troubleshooting Order

    1. Instance fails to start: first check whether the parameter network connectivity check passed, then whether the image digest can be pulled;
    2. Slow loading: confirm whether it went through public download instead of node-to-node transfer, and check storage bandwidth;
    3. Long-context errors: verify the context length configuration and KV cache budget, and watch whether the memory limit is reached;
    4. Abnormal output quality: verify that the weight revision and quantization format match.

    9. Conclusion

    Dual nodes with 32 dies carrying a trillion-scale MoE is now backed by a complete real-machine validation loop: automated onboarding, gated parameter networks, high-speed weight distribution, rational deployment topology, and multi-dimensional load testing. Once this method is captured as templates and checklists, bringing large-model inference online on domestic compute can shift from repeated trial and error to a repeatable, standard procedure.