Deploying and Inferencing a 2.8T-Parameter MoE Model on Two Heterogeneous NPU Servers: Architecture, Networking, and Benchmarking
This article walks through the engineering practice of deploying an ultra-large 2.8T-parameter MoE model (with ~104B active parameters and up to 1M-token context) across two servers equipped with heterogeneous NPUs. It covers hardware topology and parallel strategy design (TP16 × PP2), cluster node onboarding and parameter network planning, efficient distribution of 1.47TB of model weights via intra-cluster P2P transfer, and stress testing with 836 concurrent requests—including 80K and 200K long-context agentic workloads—all of which succeeded, validating the feasibility of dual-node heterogeneous inference for trillion-scale MoE models.
Introduction and Background
As large language models scale toward the trillion-parameter era, the Mixture-of-Experts (MoE) architecture has become an industry mainstream thanks to its advantage of “large total parameters, small activated parameters per token.” However, even with W4A8 quantization (4-bit weights, 8-bit activations), a MoE model with 2.8T total parameters still produces weight files of about 1.47TB. A model of this size places extreme demands on memory capacity, and poses serious challenges to cluster network topology, distributed scheduling, weight distribution, and multi-node multi-device parallel inference strategies.
Recently, we completed a technical validation on a heterogeneous compute scheduling platform: on two servers equipped with domestic heterogeneous NPUs, we successfully brought up and deployed a natively multimodal MoE model with 2.8T total parameters and roughly 104B activated parameters. The model supports a context length of up to 1M tokens, validating the feasibility and stability of a dual-node architecture for ultra-large model inference. This article reviews the full process: architecture design, network planning, weight distribution, and stress testing.
Test Environment and Parallel Architecture Design
Before any large-scale distributed deployment, sound hardware topology planning and parallel strategy design form the foundation of an efficient system.
1. Hardware Resources and Topology
The test environment used two heterogeneous NPU servers. Each server contains 16 independent compute dies, each with 64 GiB of memory—32 dies in total across both machines (roughly 2 TiB of aggregate memory). Given that the W4A8-quantized weights alone occupy about 1.47TB, plus the KV cache, activations, and context buffers required during inference, a single server with 16 dies (1 TiB) cannot host the model independently. Cross-node deployment is mandatory.
2. Multi-Node, Multi-Device Parallel Strategy
To fully utilize compute capacity while hiding cross-node communication latency, we combined tensor parallelism (TP) with pipeline parallelism (PP):
- Intra-node TP16: Tensor parallelism demands extremely high communication bandwidth and very low latency. Within a single server, the 16 dies communicate over the intra-node high-speed interconnect. Under this topology, 16-way tensor parallelism efficiently partitions matrix operations and spreads the per-layer compute load across all dies.
- Cross-node PP2: Pipeline parallelism splits the model by Transformer layers. Since cross-node networks typically offer lower bandwidth and higher latency than intra-node buses, we treated the two servers as two pipeline stages. Cross-node communication then occurs only at stage boundaries, greatly reducing the network’s impact on compute performance.
- Final world size: With TP16 × PP2, we built a 32-die distributed inference instance.
Cluster Node Onboarding and Network Planning
The heterogeneous compute scheduling platform adopts a minimalist Agent-Server architecture for node management, keeping the onboarding workflow for NPU nodes consistent with that of mainstream GPU nodes.
1. Automatic Node Discovery and Onboarding
Both the platform’s core control component (Server) and the node agent component (Agent) are static single binaries. The Agent is deployed on compute nodes and actively dials out to the Server to register. After generating an install command in the console and executing it on the target machine, the node automatically collects information about its NPU model, NIC status, and storage, then comes online. This outbound-connection mechanism avoids complex network address mapping and firewall port exposure.
2. Parameter Network Configuration
The key to multi-node inference is connecting the accelerator network. In the platform’s network configuration module, we added the underlying high-speed interconnect networks of both nodes—which carry compute traffic—into the same logical “parameter network.” The platform automatically runs device-to-device connectivity checks to ensure every pair of dies that need to communicate can establish a low-latency channel. During deployment scheduling, the platform strictly selects nodes that meet affinity requirements based on this topology, avoiding performance loss from cross-switch or cross-rack scheduling.
Managing and Distributing Ultra-Large Weights Efficiently
For a 1.47TB model, the traditional approach of “each node downloads independently from the public internet” is not only extremely slow but also wastes massive public bandwidth. This practice demonstrated the platform’s optimized weight management mechanism.
1. Weight Sharding and Format
The model is stored in the industry-standard safetensors format, split into 346 shard files. This format supports zero-copy memory mapping, which significantly speeds up model loading.
2. Combining Public Download with Intra-Cluster Direct Transfer
In the model management module, we first downloaded the weights from an open-source model repository to the first node. Due to public bandwidth limits, download speeds typically ranged from 50–57 MB/s, meaning 1.47TB takes several hours.
To solve weight synchronization for the second node, the platform provides a “node-to-node direct transfer” feature. Once the first node finished downloading, the second node copied the data directly from the first over the internal network instead of going through the public internet again. In our measurements, inter-node transfer reached about 490 MB/s—nearly 10× the public download speed. This “pull once, transfer internally” P2P distribution model dramatically shortens the waiting time for cluster expansion and multi-node deployment.
Parallel Inference Deployment and Stress Testing
With the network connected and weights distributed, we moved on to inference deployment and performance stress testing.
1. Instance Bring-Up and Basic Validation
Using the platform’s built-in inference templates, we selected the corresponding model quantization tier and clicked deploy. The platform automatically brought the two nodes up as a 32-die cooperative instance following the TP16 × PP2 strategy. During basic functional validation, multi-turn conversations, long-text inference, and agentic tool calling all behaved normally, with no out-of-memory errors or cross-node communication deadlocks.
2. Multi-Scenario Stress Test Design
To comprehensively evaluate the dual-node architecture’s stability under extreme conditions, we designed three high-intensity stress tests, sending a total of 836 concurrent requests—all of which responded successfully:
- Standard random-load test: Simulating everyday API calls with randomly generated context inputs of length 2048/512. This group primarily validated the system’s scheduling capability and throughput under high concurrency with short texts.
- Agentic 80K long-context test: For complex agent workflows, we sent 80K-token-level long instructions containing multi-step tool-calling logic. The focus was on KV cache memory control and the processing latency of cross-node pipeline parallelism under long inputs.
- Agentic 200K ultra-long-context test: Pushing input length to 200K tokens, approaching the limits of long-context capability. This test not only examined the model’s multimodal processing ability, but also served as a deep stress test of the dual-node 32-die architecture’s coordinated memory scheduling and cross-machine communication bandwidth.
The 100% success rate across 836 requests fully demonstrates that heterogeneous NPUs, combined with a sound parallel strategy and an efficient scheduling platform, are fully capable of supporting the production deployment of ultra-large MoE models.
Conclusion
This deployment of an ultra-large MoE model on a dual-node heterogeneous compute environment connected the entire pipeline: node onboarding, network topology optimization, large-weight distribution, and multi-node multi-device parallel inference. Through the TP16 + PP2 hybrid parallel architecture, combined with engineering optimizations such as node-to-node P2P transfer, we achieved efficient inference of a 2.8T-parameter model on domestic heterogeneous NPUs. This practice gives enterprises more options in the face of diversified compute supply, and accumulates valuable engineering experience for distributed inference deployment of even larger models in the future.
