Deploying Ultra-Scale MoE Models on Dual-Node Ascend Servers: A Practical Guide

    This article walks through deploying an ultra-scale Mixture-of-Experts (MoE) model on a dual-node Ascend environment. It covers why engineering complexity, rather than the model itself, is the main deployment bottleneck, along with test environment planning, node onboarding, parameter network setup, weight distribution, and layered validation. Readers will find practical checkpoints for memory budgeting, topology-aware parallelism, image pinning, and long-context stress testing that can be reused in heterogeneous compute environments.

    Deploying Ultra-Scale MoE Models on Dual-Node Ascend Servers: A Practical Guide

    1. Background: Why Ultra-Scale MoE Deployment Is an Engineering Problem, Not a Modeling Problem

    Over the past year, trillion-parameter Mixture-of-Experts (MoE) models have been moving from research into production. These models share two defining traits: an extremely large total parameter count, while only a small subset is activated in any single forward pass; and context windows that routinely reach hundreds of thousands or even over a million tokens. Together, these traits shift the inference bottleneck away from single-card compute and toward memory capacity, inter-card bandwidth, and cache management under long contexts.

    Validating on a single high-end accelerator only proves that “the model can run.” Proving that “the model is usable” requires validation on domestic accelerators under a real multi-node, multi-card topology. Using a dual-node Ascend environment from a cloud platform as an example, this article gives the full process from environment preparation to stress-test results. Note that all performance figures here come from observations during this real-machine validation and serve only as order-of-magnitude references; results will differ noticeably across cluster topologies, network conditions, and request distributions.

    The baseline on the model side: a native multimodal MoE with roughly 2.8T total parameters and about 104B activated parameters, with a 1M-token context length. On the Ascend platform, the deployment uses community-published W4A8 quantized weights of about 1.47TB, paired with the official inference image released alongside the model. Two engineering implications are worth emphasizing:

    • Weight quantization is a prerequisite for feasibility. The 1.47TB of weights cannot fit into any single machine’s memory and must be aggregated across multiple dies.
    • Quantization changes the precision and operator combination, so an inference runtime matched to the weights is mandatory. Mixing versions easily leads to precision anomalies or unsupported operators.

    2. Test Environment Planning

    Item Configuration
    Nodes 2 Ascend servers, 16 dies each (64GiB per die), 32 dies total
    Interconnect High-speed node-to-node interconnect for compute communication; intra-node card interconnect
    Parallelism TP16 within a node, PP2 across nodes, world size 32
    Weights W4A8 quantized weights, 346 shards, about 1.47TB
    Runtime Official inference image matched to the weights (fixed digest in the template)
    Platform Cloud platform nightly build; stress tests initiated by the server and routed through the platform gateway to the instance

    Three planning points stand out:

    1. Do the memory math first. 32 × 64GiB = 2048GiB. After subtracting 1.47TB for weights, the remaining space must simultaneously hold the KV cache, activations, and runtime overhead. Under long contexts, the KV cache is the main variable, so sufficient headroom must be reserved.
    2. Match the parallel split to the topology. The 16 dies within a node offer the highest bandwidth, so TP is set to 16; cross-node bandwidth is comparatively limited, so PP2 splits the layers across the two machines, minimizing cross-node communication.
    3. Pin the image by digest. Deploying by tag carries a drift risk; fixing the digest guarantees the runtime is identical on both nodes and avoids hard-to-diagnose “works on one node, fails on multiple nodes” issues.

    3. Implementation Steps

    3.1 Node Onboarding

    In the console, go to “Compute Nodes → Add Node” to generate the installation command, then run it on each of the two machines. The platform automatically detects 16 dies per node and reports accelerator card, NIC, and storage information. Onboarding is no different from a general GPU node, which means the operations stack can be reused: the same monitoring, logging, and alerting policies do not need to be built separately for domestic cards.

    3.2 Building the Parameter Network

    Ascend multi-node inference runs over the accelerator network. In “Network,” add the card interconnects of both nodes to the same parameter network. The platform first performs a connectivity check, then automatically selects nodes based on that network during deployment. This step cannot be skipped: if the parameter network is misconfigured, the instance may be scheduled onto nodes with a mismatched network, manifesting as a long hang during initialization.

    3.3 Weight Distribution

    Under “Models,” select the model source and first download the weights to the first node. Do not repeat the public-network download on the second node; instead, use “Copy to…” to transfer directly from the first node. In testing, public-network download ran at about 50–57MB/s, while direct node-to-node transfer reached about 490MB/s—nearly a tenfold difference. For weights on the order of 1.47TB, this difference directly determines whether the preparation stage takes tens of minutes or several hours.

    An illustrative workflow:

    1. # 1) Pull weights on the first node (done via the platform UI, no manual commands)
    2. # 2) Transfer directly to the second node over the node-to-node link
    3. # 3) Verify shard count and total byte size match before deploying

    Always verify the shard count and total byte size. With 346 shards and about 1.47TB, any missing shard will cause an error during loading, and the error message is usually not very informative.

    4. Deployment and Validation

    Select the built-in Ascend profile template and click deploy; the two nodes bring up a single 32-die instance with TP16 × PP2. Validation proceeds in three layers, narrowing the problem scope step by step:

    1. Functional layer: multi-turn conversations work normally, chain-of-thought/reasoning output is returned properly, and the tool-calling path is clear. Tool calling is the step most likely to expose template issues because it involves structured output parsing.
    2. Stability layer: three stress tests—random 2048 input / 512 output, Agentic 80K, and Agentic 200K—completed with all 836 requests succeeding and no failed requests.
    3. Performance layer: track first-token latency, total per-request latency, throughput, and how the memory watermark changes as context grows.

    The logic behind the three stress tests is worth borrowing: short requests validate baseline throughput and scheduling efficiency; 80K validates cache reuse and batching strategy at moderate length; 200K approaches the long-context limit and checks whether cache capacity and the parallel split leave enough headroom. Full success indicates the configuration did not trigger capacity or timeout issues even at the limit.

    5. Lessons Learned

    • Topology first, parallelism second: the parallel strategy should be derived from the network topology, rather than fixing TP/PP first and then checking whether it runs.
    • Distribute weights over the internal network: with TB-scale weights, the distribution method affects total time more than peak bandwidth.
    • Fix the environment and image throughout: digest pinning, shard verification, and connectivity checks together form the basis of reproducibility.
    • Stress tests must cover long contexts: validating only with short requests cannot expose the real bottlenecks in the KV cache and parallel split.
    • Standardized onboarding brings operational benefits: using the same onboarding and monitoring stack for domestic and general cards can significantly lower migration costs.

    Following this process, deploying an ultra-scale MoE on dual-node domestic accelerators reduces to five steps—onboard, network, distribute, deploy, and layered validation—each with clear checkpoints, making the same methodology reusable in heterogeneous compute environments such as Baidu AI Cloud.