Deploying Ultra-Large MoE Models on Two Domestic AI Accelerator Servers
A field report on running a 2.8T-parameter multimodal MoE model with W4A8 weights on two 16-die accelerator nodes using TP16 × PP2, covering topology, weight distribution, one-click launch, and load tests.
Deploying Ultra-Large MoE Models on Two Domestic AI Accelerator Servers
1. Background and problem
Serving mixed-of-experts (MoE) models at extreme parameter scale is one of the hardest parts of heterogeneous inference. Take a multimodal MoE with 2.8T total parameters, about 104B active parameters, and 1M-token context. Even with W4A8 quantization, the weights are still about 1.47 TB. A single node cannot hold that in HBM or move it over intra-node fabric, so multi-node parallelism is required.
This article records a live deployment on two domestic AI accelerator servers (16 compute dies per server, 64 GiB HBM per die, 32 dies in total). A hybrid strategy of TP16 × PP2 brought up a 32-die inference instance. Chat, reasoning, tool use, and several stress tests all completed. Work ran on a general GPU/NPU resource platform; from template selection to a ready instance was essentially one-click.
2. Architecture and parallelism
2.1 Hardware and interconnect
| Item | Configuration |
|---|---|
| Nodes | Two accelerator servers, 16 dies each (64 GiB per die), 32 dies total |
| Intra-node | High-speed die-to-die fabric for on-node compute traffic |
| Inter-node | Parameter network for cross-machine traffic |
| Parallelism | TP16 per node, PP2 across nodes, world size 32 |
| Model | Community W4A8 weights, 346 safetensors shards, ~1.47 TB |
| Engine | Accelerator-adapted build of a mainstream open-source inference stack, shipped with the quantized weights |
2.2 Why TP16 × PP2
- Tensor parallel TP16 inside a node: Tensor parallel is latency-sensitive. Intra-node fabric bandwidth is far higher than the inter-node network, so TP stays within 16 dies on one machine.
- Pipeline parallel PP2 across nodes: Pipeline parallel only ships activations at stage boundaries, in smaller, batched volumes, which fits a bandwidth-limited cross-node link.
- Memory budget: 1.47 TB of weights spread over 32 dies is about 46 GB per die. Remaining HBM is for KV cache and activation buffers. With paged KV for 1M context, headroom was healthy.
3. Platform deployment flow
The resource platform uses a server–agent design: control plane and node agent are each a static single binary. Agents dial out to the server and open a tunnel. Control, metrics, logs, and inference traffic share one encrypted channel. Accelerator nodes join the same way as generic GPU nodes, which supports unified heterogeneous fleets.
3.1 Node onboarding
From the console (compute nodes → add node), generate the install command and run it on both servers. The platform detects 16 dies per machine and collects NIC and storage data. No hand-edited config files.
3.2 Parameter network
Multi-node inference depends on die-to-die connectivity. In the network module, put both nodes’ high-speed fabrics in the same parameter network. The platform then runs interconnect checks and later schedules only nodes that satisfy the topology, instead of relying on manual placement.
3.3 Weight distribution
Moving 1.47 TB of weights is one of the slowest steps. In practice:
- In the model module, choose the repository and download weights to the first node (public-network rate about 50–57 MB/s).
- The second node does not pull from the internet. Use “copy to…” to transfer from the first node at about 490 MB/s—roughly 10× the public-network rate.
One public download plus east–west copy keeps total distribution within hours. Later deploys reuse the local cache.
3.4 One-click instance
The platform ships an inference template for this model. Select it and deploy; both nodes start a 32-die instance as TP16 × PP2. The template pins image digest and weight revision so the environment is reproducible and avoids silent image drift in production.
# Illustrative core launch flags expanded from the template (excerpt)--tensor-parallel-size 16 \--pipeline-parallel-size 2 \--quantization w4a8 \--max-model-len 1000000 \--trust-remote-code
4. Functional checks and stress tests
After the instance was ready, smoke tests covered multi-turn chat, long-context inference, and tool calling (agentic use). Three load tests then ran from the server through the platform gateway to the instance:
| Test group | Input / output length | Notes |
|---|---|---|
| Random short text | 2048 / 512 | Typical chat load |
| Agentic long-horizon A | ~80K | Multi-turn tool-call chains |
| Agentic ultra-long B | ~200K | Stability at long context |
All 836 requests succeeded: no failures, no truncations. Tool-call chains stayed intact at 200K tokens. That indicates:
- Cross-node pipeline parallel did not overflow HBM under long context;
- Quantized weights kept functional correctness for multimodal and tool-use tasks;
- The platform gateway was not the bottleneck under this load.
5. Takeaways
- Match parallelism to topology: Keep TP inside the node; put PP on the cross-node path.
- Check connectivity first: Interconnect validation on the parameter network cuts debug time.
- Distribute weights laterally: One public download plus node-to-node copy is the practical path for large checkpoints.
- Pin the environment: Image digest and weight revision in the template make deploys reproducible.
- Test realistic load: Random lengths are not enough; agentic long-horizon cases expose long-context stability issues.
With templated deploy, bringing ultra-large MoE models up on multi-node domestic accelerators is much less operationally heavy. From node join to passing stress tests, the main work is weight distribution and network setup. Teams that want this class of model in production (object storage, containers, monitoring and alerting as a full delivery path) can reuse this engineering path.
