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

    This article presents a practical, reproducible workflow for deploying a trillion-parameter multimodal MoE model across two domestic accelerator servers using Ascend NPUs. It covers the hardware-to-parallelism mapping (TP16 within each node plus PP2 across nodes, forming a 32-die instance), software stack version pinning, node onboarding, parameter network setup, and efficient distribution of 1.47 TB of W4A8 weights. It also details the deployment process, a three-part stress test of 836 requests that all passed, and common pitfalls with best practices for topology checks, weight integrity, version control, and long-context stability.

    1. Background: Why Large-Scale MoE Deployment on Domestic Accelerators Deserves Its Own Discussion

    A single card or a single server can no longer host a native multimodal MoE model at the trillion-parameter scale. Take a model with 2.8T total parameters, roughly 104B activated parameters, and a 1M-token context length as an example. Even with W4A8 quantization, the weights still occupy around 1.47 TB, far exceeding the memory ceiling of a single machine. Deploying this class of models is therefore fundamentally a multi-node collaborative systems engineering effort, not a simple model load.

    Recently, a cloud-native compute platform built a domestic accelerator tier for this class of model into its inference templates and completed real-hardware validation on two domestic accelerator servers. After selecting the template and clicking deploy, the two nodes brought up a 32-die instance in a “TP16 per node, PP2 across nodes” configuration. Dialogue, reasoning-process display, and tool calls all worked normally. Across three stress-test groups—random 2048/512, Agentic 80K, and Agentic 200K—all 836 requests succeeded. Building on this, the article abstracts a general methodology and provides a reusable deployment and stress-testing workflow.

    2. Overall Architecture and Parallelism Strategy

    2.1 Hardware and Parallelism Mapping

    The typical configuration is two domestic accelerator servers, each with 16 dies and 64 GiB per die, for a total of 32 dies. The parallelism strategy uses intra-node tensor parallelism (TP16) plus cross-node pipeline parallelism (PP2), with a world size of 32. The core logic of this mapping is:

    • Dies within a node complete high-frequency TP communication such as AllReduce/ReduceScatter over a high-bandwidth accelerator interconnect (HCCS);
    • Cross-node links carry only the small volume of PP activation transfers, so communication is light and less sensitive to bandwidth;
    • The 32 dies aggregate to roughly 2 TiB of memory, leaving headroom for the 1.47 TB of weights plus KV Cache and runtime overhead.

    2.2 Software Stack and Version Pinning

    The inference side uses the official inference image released with the model, and the template pins the image digest. The model side uses community W4A8 quantized weights with a fixed revision. In practice, you must enforce “three pins”: image digest, model revision, and template version. Any drift in one of them makes multi-node results non-reproducible.

    1. # Illustration: the three elements of version pinning (not executable commands)
    2. image = <official inference image> @ sha256:<digest>
    3. model = <quantized weight repository> @ revision:<commit>
    4. runtime = TP16 per node / PP2 across nodes / world_size=32

    3. Preparation: Nodes, Network, and Weight Distribution

    3.1 Node Onboarding

    In the console, go to “Compute Nodes → Add Node” to generate the installation command, then run it on both machines. The platform automatically detects 16 dies per node and reports NPU, NIC, and storage information. The control plane and data plane reuse the same tunnel: the agent initiates an outbound connection to the server, and control, monitoring, logging, and inference traffic share the link, reducing network configuration complexity in multi-node environments.

    3.2 Setting Up the Parameter Network

    Multi-node domestic accelerator setups must use the accelerator network. In “Network,” add the HCCS of both nodes to the same parameter network. The platform runs an inter-card connectivity check and automatically selects nodes based on this network at deployment time. It is recommended to make the connectivity check a mandatory pre-deployment gate to avoid repeated restarts caused by topology mismatches after launch.

    3.3 Weight Distribution: From Public Download to Direct Node-to-Node Transfer

    Distributing 1.47 TB of weights is a long-tail time cost. The recommended approach is “one public download plus direct node-to-node transfer”:

    • The first node downloads from the model community source at a public-network rate of about 50–57 MB/s;
    • The second node uses “Copy to…” to transfer directly from the first node at about 490 MB/s, nearly a 10x improvement.

    Engineering recommendation: verify the shard count and total byte count (for example, 346 shards and 1,466,844,769,783 bytes), and perform a read-only check after distribution to prevent half-loaded files from entering the loading stage.

    4. Deployment: Bringing Up a 32-Die Instance with One Template

    Select the built-in tier template and click deploy. The platform automatically orchestrates the two nodes over the parameter network and brings up a TP16×PP2 instance. Key checkpoints:

    1. Whether the instance topology is 32 dies and the world size is correct;
    2. Whether all weights hit local storage, avoiding repeated cross-node reads;
    3. After the health check passes, whether all three paths—dialogue, reasoning process, and tool calls—are available.

    5. Stress Test Design and Results

    The stress test is initiated from the server, passes through the platform gateway to the instance, and covers three workload types:

    • Random 2048/512: short input and short output, validating baseline throughput and latency;
    • Agentic 80K: long context plus tool calls, validating KV Cache and scheduling;
    • Agentic 200K: ultra-long context, validating memory watermark and stability.

    All 836 requests across the three groups succeeded, showing that under this parallelism mapping and quantized weights, the long-context and tool-call paths are stable. It is recommended to add percentile statistics for P50/P95/P99 latency, first-token latency, and tokens/s afterward to form a comparable baseline.

    6. Common Issues and Best Practices

    • Topology mismatch: enforce a connectivity check before deployment;
    • Half-loaded weights: verify shard count and byte count after distribution;
    • Version drift: apply the three pins (image/model/template);
    • Long-context OOM: reserve KV Cache headroom, and reduce concurrency or the context limit if necessary;
    • Observability: collect control, monitoring, logging, and inference metrics together, and reuse the same tunnel to lower troubleshooting costs.

    7. Conclusion

    The key to deploying trillion-parameter MoE on dual domestic accelerator servers is not “whether it can load,” but whether the four things—topology, weights, versions, and stress testing—are engineered properly. Following the workflow in this article, you can reliably bring up a 32-die instance on domestic accelerators and complete long-context and tool-call validation, providing a reproducible baseline for larger scale and higher concurrency going forward.