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

    This article documents an end-to-end deployment of a native multimodal MoE model with 2.8T total parameters, roughly 104B activated parameters, and a 1M-token context on two domestic accelerator servers with 32 dies in total. It covers the hardware and software baseline, why the image digest and weight revision must both be pinned, how the control plane and data plane share a single tunnel, the three preparation steps (node onboarding, parameter network, weight distribution), the reasoning behind TP16 within a node and PP2 across nodes, functional and stress validation results across 836 requests, and a reusable checklist for large-scale inference deployment.

    1. Background and Problem Definition

    Last week we published a verifiable performance range for a single flagship accelerator card, and during a livestream we promised to fill in real-hardware data on domestic accelerators as soon as possible. This week, the inference platform’s template library already includes a domestic-accelerator tier for a trillion-parameter multimodal MoE model, and end-to-end validation on two domestic accelerator servers is complete: pick a template, click deploy, and the two nodes bring up a single 32-die instance using “intra-node tensor parallelism 16 × cross-node pipeline parallelism 2.” Multi-turn dialogue, chain-of-thought reasoning traces, and tool-calling chains all worked, and all 836 requests across three stress-test groups (random 2048/512, Agentic 80K, Agentic 200K) succeeded.

    This article makes no recommendations about any specific product. Instead, it abstracts this practice into a reusable methodology: how to run a native multimodal MoE model with 2.8T total parameters, about 104B activated parameters, and a 1M-token context stably on two domestic accelerator servers, and produce trustworthy data from it.

    The validated model shape has three typical difficulties:

    • Enormous total parameter count: after W4A8 quantization, the weights occupy about 1.47 TB, which a single node’s memory cannot hold.
    • Sparse activation: only about 104B parameters are activated per token, so compute demand and memory demand are severely asymmetric.
    • Extremely long context: a 1M-token context means KV Cache memory consumption is one of the main variables.

    2. Hardware and Software Baseline

    Item Configuration
    Nodes 2 domestic accelerator servers, 16 dies each (64 GiB per die), 32 dies total
    Interconnect High-speed node-to-node interconnect carries compute communication
    Parallelism Intra-node TP16, cross-node PP2, world size 32
    Model Community W4A8 quantized weights, fixed revision, 346 shards, about 1,466,844,769,783 bytes
    Runtime Official inference image released with the model, template pins the image digest
    Platform Inference platform nightly build; stress tests are initiated by the server and reach the instance through the platform gateway

    Two engineering details deserve emphasis:

    1. The image must be pinned by digest, not by tag. Large-model inference images iterate extremely fast; tags are mutable, digests are not. Writing the digest into the template is what guarantees that “the environment validated today” and “the environment reproduced next week” are the same one.
    2. The weights must be pinned to a revision. With 346 shards and 1.47 TB of weights, inconsistent revisions across shards will cause the loading stage to fail outright or produce numerical anomalies that are hard to localize.

    3. Platform Onboarding: Control Plane and Data Plane Share One Tunnel

    The platform’s server and agent are both statically linked single binaries. The agent dials out to the server from the node, and control, monitoring, logs, and inference traffic all reuse the same tunnel. This design yields three direct benefits:

    • No inbound public network access required: under the network policies common in domestic data centers, there is no need to open inbound ports for every node.
    • Unified onboarding: accelerator nodes and general-purpose GPU nodes follow exactly the same onboarding flow. Copy one install command from the console and run it, and the node comes online carrying its device, NIC, and storage information.
    • Consolidated operations surface: logs and monitoring need no separate channel, so during troubleshooting “one tunnel shows the whole chain.”

    Illustrative flow:

    1. Console → generate install command → run on node → agent dials out to server
    2. → report device/NIC/storage → node online → join parameter network

    4. Three Things to Do in the Preparation Stage

    4.1 Node Onboarding

    Generate the install command under “Compute Nodes → Add Node” and run it on both machines. The platform automatically detects 16 dies per node and reports 64 GiB of memory capacity per die.

    4.2 Parameter Network

    Multi-node inference runs over the accelerator network. In “Network,” add the high-speed interconnect of both nodes to the same parameter network; the platform then runs inter-card connectivity checks. At deployment time, nodes are selected automatically according to that network, which avoids scheduling the instance onto machines with a mismatched topology.

    4.3 Weight Distribution (the Most Underestimated Step)

    In “Models,” choose the model source, download it to the first node, and then transfer it directly from the first node to the second using “Copy to…” instead of going through the public network again. The measured difference is significant:

    Method Measured bandwidth Estimated time for 1.47 TB
    Public network download about 50–57 MB/s about 7.5–8.2 hours
    Direct node-to-node transfer about 490 MB/s about 50 minutes

    The core of this nearly 10× gap is not bandwidth itself, but paying the public-network cost only once. In multi-node deployments, weight distribution should be treated as a one-time cost and amortized with in-cluster lateral copying first.

    5. Parallelism Strategy: Why TP16 × PP2

    Memory capacity planning is a hard constraint: 1.47 TB of weights / 32 dies ≈ 46 GiB per die, already close to the usable ceiling of 64 GiB. Once KV Cache, activations, and runtime overhead are added, there is almost no headroom. The parallelism degree therefore cannot be lower than 32, and it must span nodes.

    • Intra-node TP16: interconnect bandwidth within a single machine is the highest, so the most communication-heavy attention and expert computation is split inside the node at the lowest communication cost.
    • Cross-node PP2: pipeline parallelism only passes activations at layer boundaries, so cross-machine communication volume is far smaller than with tensor parallelism, making it the preferred choice for cross-node scaling.
    • Not pure TP32: tensor parallelism across nodes would produce a cross-machine AllReduce at every layer, degrading latency and bandwidth at the same time.

    The principle in one sentence: put the most communication-dense splits inside the domain with the best bandwidth, and let the sparsest splits cross domains.

    6. Deployment and Validation

    After templated deployment, the instance comes up with world size 32. Validation happens on two levels.

    Functional level: multi-turn dialogue, reasoning trace output, and tool calling (structured parameter parsing and result write-back) all worked, indicating that the long-context and structured-output paths were not broken by quantization error.

    Stress level: all 836 requests across three workloads succeeded.

    Scenario Input/Output Requests Result
    Random workload 2048 / 512 — All succeeded
    Agentic long context 80K — All succeeded
    Agentic extra-long context 200K — All succeeded

    The value of the Agentic scenarios is that they saturate three dimensions at once: KV Cache growth from long contexts, request fragmentation from tool calling, and scheduling jitter from multi-turn interaction. Running only short 2K/512 requests will hardly expose memory or scheduling bottlenecks.

    7. Reusable Checklist

    1. Pin both the weight shard revision and the image digest.
    2. Do the memory math first: weight size / number of dies, then confirm the KV Cache headroom.
    3. Run the connectivity check on the parameter network before deploying.
    4. Prefer in-cluster lateral copying for weights; pay the public-network cost only once.
    5. Follow the rule “dense communication inside the node, sparse communication across nodes” for parallel topology.
    6. Stress tests must include long context and tool calling, not just short requests.
    7. When the control plane and data plane share a tunnel, watch closely whether tunnel bandwidth becomes the bottleneck.

    8. Conclusion

    Two nodes and 32 dies are already enough to serve 2.8T-class multimodal MoE inference, and the whole process requires no changes to model code. What really decides success is not peak compute but three “plain” pieces of engineering work: get the memory accounting right, place the topology splits correctly, and pay the weight-distribution cost only once. Standardize these three things into templates, and large-scale model deployment on domestic accelerators goes from “expert work” to “two clicks.”