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

    This article walks through a real-world deployment of a trillion-parameter multimodal MoE model across two domestic accelerator servers running Ascend chips. It covers environment planning, node onboarding and topology identification, parameter network setup, high-speed weight distribution, the rationale behind a TP16 x PP2 parallel strategy, service startup and functional validation, load test design and results, and a troubleshooting checklist for common failure modes.

    1. Background and Problem Statement

    Last week we published reference numbers for a single node running a high-end accelerator card, and viewers during the livestream kept asking how domestic accelerator cards perform. The inference template now includes an Ascend profile for trillion-parameter multimodal models, and we completed real-hardware validation on two domestic servers: pick the template, click deploy, and the two nodes bring up a single 32-die instance with TP16 x PP2. Multi-turn chat, chain-of-thought output, and tool calls all worked as expected. Across three load test groups — random 2048/512, Agentic 80K, and Agentic 200K — all 836 requests succeeded.

    The technical profile of the model under test is the prerequisite for understanding every decision that follows: a native multimodal MoE with roughly 2.8T total parameters and about 104B activated parameters, and a context length of 1M tokens. On the Ascend side we used the community-published W4A8 quantized weights, about 1.47 TB in size. The runtime image was released by the accelerator adaptation community alongside the model, and the template pins the image digest to avoid reproducibility failures caused by “same name, different image.”

    One engineering fact that is easy to overlook deserves emphasis: the hard part of deploying a very large MoE is not whether it starts at all, but the coupling between memory accounting, communication topology, and long-context stability.

    2. Test Environment Planning

    Item Configuration
    Nodes 2 domestic accelerator servers, 16 dies each (64 GiB per die), 32 dies total
    Interconnect Node-to-node high-speed interconnect carries compute communication
    Parallelism TP16 within each node, PP2 across nodes, world size 32
    Model W4A8 weights of about 1.47 TB, 346 shards
    Image Official inference image released with the model, pinned by digest
    Platform Containerized compute platform, nightly build; load tests are initiated from the control end and reach the instance through the platform gateway

    The platform’s onboarding model is worth a note. Both the control end and the node agent are static single binaries. The agent dials out to the control end from the node, and control traffic, monitoring, logs, and inference traffic all reuse the same tunnel. As a result, domestic accelerator nodes onboard exactly the same way as mainstream accelerator nodes: copy one install command from the console, run it on the machine, and the node comes online reporting its accelerators, network cards, and storage. This design avoids maintaining separate management logic for different hardware.

    3. Preparation: Nodes, Network, and Weights

    3.1 Node Onboarding and Topology Identification

    Generate the install command under “Compute Nodes -> Add Node”, run it on both machines, and the platform automatically identifies 16 dies per machine, 32 compute units in total. The identification result needs a manual review: die count, memory per die, and device health status. If a machine reports only 14 dies, that usually points to a driver or firmware problem and should be resolved before deployment; otherwise it will surface during initialization as an obscure communication error.

    3.2 Building the Parameter Network

    Multi-node scenarios on domestic accelerators use the accelerator network rather than the regular business network. In “Network”, add the card-to-card high-speed interconnect of both nodes to the same parameter network. The platform then runs an inter-card connectivity check and automatically selects nodes based on that network at deployment time. The value of this step is moving a frequent failure — picking the wrong NIC — earlier in the process: if a low-speed management NIC ends up in the parameter network, latency for cross-node PP communication is amplified by an order of magnitude.

    3.3 Weight Distribution: Replace the Public-Network Bottleneck with Direct Node-to-Node Transfer

    For the same 1.47 TB of weights, a public-network download measured about 50–57 MB/s, while direct node-to-node transfer reached about 490 MB/s — nearly a tenfold difference. The recommended strategy is therefore “download once over the public network, then copy between nodes”: in “Models”, choose the model source and download it to the first node, then use “Copy to…” on the second node to pull it directly from the first.

    Three practical details to add. First, after the download completes, verify the shard count and total byte count; 346 shards and 1,466,844,769,783 bytes are the baseline for judging completeness. Second, both nodes must use exactly the same revision — a mismatch between weights and code versions is a typical crash source in long-context scenarios. Third, if storage is shared, the copy step can be skipped, but confirm that the mount paths are identical on both nodes.

    4. Parallel Strategy: Why TP16 x PP2

    How the 32 dies are organized determines the communication characteristics. Choosing TP16 inside a node and PP2 across nodes essentially confines tensor-parallel traffic — the heaviest and most frequent — to the high-speed interconnect domain within a node, leaving cross-node links to carry only the small activation transfers of pipeline parallelism.

    A rough memory calculation: 1.47 TB of weights spread across 32 dies is about 46 GiB per die, leaving roughly 18 GiB of the 64 GiB for KV Cache, activations, and runtime overhead. A 1M context is a capability ceiling, not a default configuration; actual deployments should set the limit according to the business workload so that an oversized KV Cache reservation does not squeeze out concurrency.

    The startup parameters are organized roughly as follows (exact field names depend on the inference framework version in use):

    1. # Tensor parallelism within a node, pipeline parallelism across nodes
    2. --tensor-parallel-size 16 \
    3. --pipeline-parallel-size 2 \
    4. --quantization w4a8 \
    5. --max-model-len 200000 \
    6. --gpu-memory-utilization 0.88 \
    7. --trust-remote-code

    The recommended tuning order is: fix the parallelism and quantization settings and get short requests working first, then raise max-model-len step by step, and finally load-test concurrency. Doing it the other way around — pushing long context first and tuning concurrency afterward — almost inevitably leads to repeated restarts.

    5. Service Startup and Functional Validation

    After deploying from the template, the instance comes up as a single 32-die instance. Functional validation cannot stop at “it replies with a sentence” and should cover at least three capabilities: context retention across multi-turn conversations, complete termination of long chain-of-thought output, and structured returns from tool calls. Tool calls matter especially, because they test the correctness of template parsing and streaming chunks under long output.

    On observability, the control end and inference traffic share one tunnel, so logs, metrics, and request traces are all viewable in the same place, and no separate collection pipeline is needed to diagnose problems. Three metrics are worth watching closely: time to first token, per-request output rate, and the share of time spent waiting on cross-node communication.

    6. Load Test Design and Results

    Scenario Input/Output Requests Result
    Random short requests 2048 / 512 — All succeeded
    Agentic long context 80K — All succeeded
    Agentic long context 200K — All succeeded
    Total — 836 100% success rate

    Load tests were initiated from the control end and entered the instance through the platform gateway, a path that also validates how well the control plane and data plane are isolated. The three scenarios were designed to test different things: short requests establish the scheduling and throughput baseline, 80K checks stability in the mid-range context, and 200K exercises memory behavior and truncation near the limit. All 836 requests succeeded, indicating that long context produced no silent failures under this parallel configuration.

    7. Common Pitfalls and Troubleshooting Checklist

    • Not all dies identified: check the driver and firmware first, rather than changing the parallelism.
    • Initialization stuck while establishing communication links: verify the parameter network is the right one and that cross-node traffic is not going over a low-speed link.
    • Weight loading fails or shards are missing: compare the revision, shard count, and total byte count.
    • Throughput drops sharply with long context: usually a mismatch between the KV Cache reservation and the concurrency limit; lower max-model-len or concurrency.
    • Image behavior drift: always pin the image by digest and never use a floating tag.

    8. Summary

    The critical path for running a trillion-parameter MoE on two nodes with 32 dies comes down to four steps: first, get the nodes and the parameter network onboarded cleanly; then solve TB-scale weight distribution with direct node-to-node transfer; then control communication overhead with tensor parallelism inside a node plus pipeline parallelism across nodes; and finally confirm stability with short, medium, and long load tests. This methodology is independent of hardware vendor and can be reused for any multi-node very large inference scenario. The same topology planning and validation order also applies to compute management practice on platforms such as Baidu AI Cloud.