Deploying a Trillion-Parameter MoE Model on Two Chinese AI Accelerator Servers
A practical deployment walkthrough for a multimodal MoE model with approximately 2.8 trillion total parameters and 104 billion active parameters. The article covers a two-node, 32-die accelerator configuration, TP16 × PP2 parallelism, W4A8 weight distribution, network validation, and functional and load testing, including requests with approximately 200K-token contexts.
1. Background and Deployment Goals
As open-source large models grow toward trillion-parameter scale, a single server can no longer meet their memory and compute requirements. Multi-node, multi-accelerator inference is becoming an essential engineering task.
This article documents the deployment of a native multimodal mixture-of-experts (MoE) model on two servers equipped with Chinese-developed AI accelerators. The model has approximately 2.8 trillion total parameters, 104 billion active parameters, and a context window of up to 1 million tokens.
The deployment was validated through conversational tests, reasoning workflows, tool calls, and several load-testing scenarios. The goals were to:
- Load the model: Fit approximately 1.47 TB of quantized weights into the cluster using a suitable parallelism strategy.
- Serve requests: Support conversations, tool calls, and agent-style long-context requests.
- Validate under load: Test stability and throughput behavior across different workloads.
2. Hardware and Parallelism Strategy
2.1 Hardware Configuration
Each server contained 16 compute dies, with 64 GiB of accelerator memory per die. Together, the two servers provided 32 dies and 2 TiB of accelerator memory.
High-speed inter-die links handled communication within each node. Cross-node model execution also relied on the accelerator network.
The topology supported the following configuration:
| Component | Configuration |
|---|---|
| Nodes | 2 servers, each with 16 compute dies |
| Memory | 64 GiB per die; 2 TiB total |
| Interconnect | High-speed intra-node links for compute communication, with an accelerator network connecting the nodes |
| Parallelism | TP16 within each node, PP2 across nodes; world size 32 |
| Model weights | Community-released W4A8 quantized weights, approximately 1.47 TB |
| Weight files | 346 safetensors shards, totaling approximately 1.47 × 10^12 bytes |
2.2 Why TP16 × PP2?
The deployment combined tensor parallelism (TP) within each server with pipeline parallelism (PP) between servers.
- Intra-node tensor parallelism, TP16: Tensor parallelism is sensitive to communication latency. Keeping each TP group within a node allows it to use the high-bandwidth inter-die fabric.
- Cross-node pipeline parallelism, PP2: Inter-node bandwidth is more constrained. Pipeline parallelism transfers activations between stages rather than requiring the frequent collective communication associated with cross-node tensor parallelism.
- No cross-node TP: Extending tensor parallelism across servers would introduce cross-node all-reduce operations during forward passes, potentially making communication a throughput bottleneck.
The model was divided into two pipeline stages, each distributed across 16 dies. W4A8 quantization—4-bit weights and 8-bit activations—reduced the weight footprint to approximately 1.47 TB. Relative to the cluster’s 2 TiB of memory, this left room for KV cache and runtime overhead.
3. Deployment Platform and Node Onboarding
The deployment used a general-purpose inference platform whose control plane and node agent were each distributed as a single static binary.
The node agent initiated an outbound connection to the control plane. Control messages, monitoring data, logs, and inference traffic shared the same encrypted tunnel.
This architecture provided three operational benefits:
- No inbound ports required on compute nodes: This reduced operational and security overhead.
- Consistent onboarding for heterogeneous hardware: Chinese-developed accelerators and other GPU types used the same registration process.
- Single-command installation: An installation command generated in the console registered the node and automatically reported its accelerators, network interfaces, and storage.
3.1 Registering the Nodes
In the deployment console, an installation command was generated under Compute Nodes → Add Node and executed as root on each server.
After installation, the platform detected all 16 compute dies on each node and displayed their memory capacity and health status.
3.2 Configuring the Accelerator Communication Network
The accelerator communication network was a critical part of multi-node inference.
In the console’s Network section, the accelerator network interfaces on both servers were assigned to the same communication network. The platform then checked connectivity between every pair of dies across the two nodes.
During scheduling, the deployment used this network configuration to select compatible nodes, reducing the risk of topology errors caused by manual node selection.
4. Weight Distribution: Nearly 10× Faster Local Transfers
Downloading 1.47 TB of weights was one of the most time-consuming preparation steps. The deployment used a single public-network download followed by direct node-to-node transfer:
- In the Models section, the model source was selected and all weights were downloaded to the first node. Public-network download speeds were approximately 50–57 MB/s.
- Rather than downloading the weights again over the public network, the second node received them through the platform’s Copy to… function. The local-network transfer reached approximately 490 MB/s—close to ten times the public-network download speed.
- After both transfers finished, the platform verified all 346 shards individually before deployment proceeded.
For additional nodes, the same direct-transfer approach could be cascaded to minimize public-network bandwidth consumption.
5. Deployment and Validation
5.1 Starting the Inference Instance
After the built-in model deployment template was selected, the platform automatically:
- Pulled the inference container using the image digest pinned in the template, keeping the software version reproducible.
- Allocated 32 compute dies according to the TP16 × PP2 topology.
- Loaded the quantized weights and started the inference service.
Once the instance was running, conversational tests were performed through the platform gateway.
5.2 Functional Validation
Testing covered three key capabilities:
- Multi-turn conversations: Context retention and streaming output worked as expected.
- Reasoning workflows: Extended reasoning output was returned completely.
- Tool calling: Function-call arguments followed the expected format, and multi-turn agent loops remained stable.
5.3 Load Testing
Three workload groups were generated from the server side and routed through the platform gateway to the inference instance.
| Test group | Context or token setting | Purpose |
|---|---|---|
| Random short-context requests | 2048/512 tokens | Simulate standard conversational workloads |
| Long-context agent requests | Approximately 80K tokens | Simulate multi-turn tool-calling scenarios |
| Very-long-context agent requests | Approximately 200K tokens | Simulate extended agent tasks |
Across the three groups, all 836 requests succeeded, with no failures or timeouts. These results validated the stability of the two-node instance under the tested long-context workloads.
6. Lessons Learned
- Design parallelism around the topology. Keeping TP within each node and using PP across nodes was a practical choice for the available interconnect.
- Quantization was essential to this deployment. W4A8 reduced the trillion-parameter model’s memory footprint enough to fit on two servers.
- Plan weight distribution early. Downloading once over the public network and distributing locally significantly reduced preparation time.
- Do not skip connectivity checks. Multi-node inference depends on reliable accelerator communication. Per-die checks before deployment help prevent difficult-to-diagnose communication failures after launch.
- Pin container images by digest. Fixed image versions support reproducible testing and make troubleshooting easier.
This deployment demonstrated a workable end-to-end process for serving a trillion-parameter MoE model on a two-node cluster of Chinese-developed AI accelerators. With a suitable parallelism strategy and a deployment platform handling registration, connectivity checks, weight distribution, and scheduling, the workflow progressed from node onboarding to successful load testing and established a foundation for larger cluster deployments.
