Deploying Trillion-Parameter MoE Models on Two Ascend Nodes: A Practical Guide to 32-Die Inference Serving

    This article walks through serving a trillion-parameter multimodal MoE model across two Ascend 910C-class servers (32 dies total). It explains why 1.4TB+ quantized weights force multi-node deployment, why TP16 x PP2 is preferred over TP32, and how to prepare the environment in three steps: node onboarding and topology checks, parameter network orchestration, and weight distribution via node-to-node transfer. It also covers deployment, functional verification, a load test of 836 requests including 200K-token contexts, and a reusable checklist for stable long-context agent workloads.

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

    Why “Two Nodes, 32 Dies” Is the Threshold for Ultra-Large-Scale MoE

    Over the past year, flagship models have converged on a native multimodal MoE design: enormous total parameters but very few activated parameters. Total parameters sit in the trillion range (about 2.8T), a single forward pass activates only around 1e11 parameters (about 104B), and native context length reaches 1M tokens. This structure has two direct consequences.

    First, the weight footprint far exceeds the memory of a single machine. Even with W4A8 quantization (4-bit weights, 8-bit activations), the on-disk weights exceed 1.4TB. No 8-card or 16-die server can hold them, so the model must be sharded across nodes.

    Second, the small activated parameter count keeps compute pressure manageable. The real bottleneck shifts to communication and memory bandwidth. So the central question for multi-node deployment is not “how many cards can we stack” but “how do we keep inter-card and inter-node communication from becoming the weakest link.”

    This article uses a domestic accelerator platform (Ascend 910C-class, 64 GiB per die, 16 dies per node) as an example to describe the full path to production inference serving on two servers with 32 dies, along with a reproducible load-testing method.

    Parallelism Strategy: Why TP16 x PP2 Instead of TP32

    With a world size of 32 dies, several layouts are theoretically possible: TP32, TP16 x PP2, TP8 x PP4, and so on. TP16 x PP2 is chosen for three reasons:

    1. Physical boundaries of the communication domain. Tensor parallelism (TP) performs AllReduce/AllGather at every layer, making it the most communication-intensive dimension. It must stay within the high-bandwidth intra-node interconnect. The 16 dies inside a node communicate over high-speed links such as HCCS, while inter-node bandwidth is typically an order of magnitude lower. Setting TP to 32 would put the most frequent synchronization traffic on the inter-node links.
    2. Load balancing in pipeline parallelism. PP2 only passes activations at stage boundaries, so its communication volume is small and it suits cross-node use. With sensible layer partitioning and micro-batch scheduling, the time share of the two pipeline stages can be kept within an acceptable range.
    3. Trade-off between memory and KV Cache. TP determines the per-card weight shard size, and PP determines how many layers reside on each card. TP16 gives each card 1/16 of the intra-layer weights, and PP2 keeps only half the layers on each card. Together they free up space for a long-context KV Cache.

    A rule of thumb: when a model must span nodes, prefer “TP inside the node, PP across nodes.” Only when too many PP stages create obvious pipeline bubbles should you consider a smaller TP with more PP stages and more micro-batches.

    Environment Setup in Three Steps

    3.1 Node Onboarding and Topology Identification

    The platform uses a single-binary server + agent architecture. The agent dials out to the server, and the control plane, monitoring, logs, and inference traffic share the same tunnel, so no inbound ports need to be opened specifically for domestic cards. Onboarding is a single action: generate an install command in the console, run it on each machine, and the node comes online with its accelerator count, NICs, and storage information. The platform automatically identifies 16 dies per node.

    Key point: after onboarding, verify that the die count and physical topology detected by the platform match the output of native tools such as npu-smi info. This avoids “missing cards” caused by driver version differences.

    3.2 Parameter Network Orchestration

    Multi-node inference must explicitly declare which cards belong to the same communication domain. In the platform’s network module, add the inter-card interconnect networks of both nodes to the same parameter network. The platform then runs a connectivity check (bandwidth, RTT, link degradation) and selects nodes automatically according to that network at deployment time.

    The value here is turning “machine selection” from manual experience into a platform constraint: node combinations that do not meet the same-network condition never enter the candidate set, which prevents incorrect orchestration across switches or across NUMA boundaries at the source.

    3.3 Weight Distribution: Prefer Node-to-Node Transfer

    The 1.47TB of weights are downloaded over the public internet on one node only; the second node receives them directly from the first through the platform’s “copy to…” capability. In testing, public internet download ran at about 50-57 MB/s, while node-to-node transfer reached about 490 MB/s, nearly a tenfold difference. At those rates, the public internet approach takes over 7 hours, while direct transfer takes about 50 minutes.

    Engineering recommendations:

    • Pin the model revision (commit hash) and total shard count before downloading, and verify shard count and total bytes at deployment time to prevent weight inconsistency from incremental updates;
    • Pin the image by digest rather than a floating tag;
    • Store weights on local NVMe first, so network storage does not become a bottleneck during high-concurrency loading.

    Deployment and Verification

    Once the template for this tier is built in, the operation reduces to “select template -> click deploy,” and the platform brings up a 32-die instance with TP16 x PP2. During startup, watch three log sections: weight loading progress, TP/PP communication domain initialization, and KV Cache pre-allocation size. If the third is significantly smaller than expected, it usually means uneven PP partitioning or memory fragmentation, and parameters such as gpu_memory_utilization need adjustment.

    Functional verification covers three capabilities: multi-turn dialogue, reasoning process (chain-of-thought) output, and tool calling (structured parameter parsing and injection). Only when all three pass can you conclude that the template, quantized weights, and inference engine version match each other.

    Load Test Design and Results

    The load test was initiated from the platform server, routed through the gateway to the instance, and covered three typical workloads:

    Scenario Input/Output Requests Result
    Random short requests 2048 / 512 Hundreds All succeeded
    Agentic long context ~80K Dozens All succeeded
    Agentic ultra-long context ~200K Dozens All succeeded

    All 836 requests across the three groups succeeded, with no timeouts, no OOM, and no node dropouts.

    Key observations for long-context scenarios:

    • Time to first token (TTFT) grows roughly linearly with input length. TTFT at 200K is 2-3x that at 80K, which is normal behavior dominated by Prefill computation.
    • Throughput (tokens/s) peaks at the 80K tier and drops at 200K as KV Cache usage rises and the available batch size shrinks.
    • Stability depends on whether the KV Cache triggers preemption and recomputation. Monitor preemption counts and queue wait time.

    Reusable Checklist

    1. For cross-node deployment, define the communication domain first, then the parallelism degree. Keeping TP within a node is the default rule.
    2. Reuse weights with “one public internet download + node-to-node transfer,” and pin all four items: revision, shard count, total bytes, and image digest.
    3. Load tests must include ultra-long context and tool calling. All-green short requests do not mean the service is ready.
    4. Observability metrics should include at least TTFT, throughput, preemption count, queue length, and inter-card link bandwidth usage.
    5. Domestic accelerators and general-purpose accelerators now onboard to the platform in nearly the same way. The differences lie mainly in three places: drivers, quantized weights, and inference engine images, which need to be pinned as a matched set.

    Following this process, two nodes with 32 dies can stably carry production-grade inference for a trillion-scale MoE model, with deployment compressed to minutes. This makes it a suitable compute foundation for long-context agent applications.