Deploying a Multimodal MoE Model on Dual-Server Domestic NPUs: A Practical Guide
This article walks through the complete process of deploying a large-scale native multimodal Mixture-of-Experts (MoE) model—2.8T total parameters, ~104B activated per token, 1M token context—across two servers powered by domestic NPU chips. It covers hardware configuration, W4A8 quantization, hybrid TP/PP parallelism, node onboarding, efficient weight distribution, and stress testing under multiple workload scenarios, offering a practical reference for running trillion-parameter models on non-mainstream accelerators.
Deploying a Multimodal MoE Model on Dual-Server Domestic NPUs: A Practical Guide
As large language models continue to evolve, native multimodal MoE architectures with massive total parameters but sparse activation have become a mainstream industry trend. These models deliver outstanding reasoning capabilities, but they also introduce enormous memory requirements and extreme communication bandwidth demands. How to efficiently serve such models on non-mainstream accelerators—such as domestic NPUs—has become a key challenge for enterprise AI adoption. This article uses an open-source multimodal MoE model (2.8T total parameters, approximately 104B activated parameters, 1M token context) as an example to share end-to-end deployment and stress testing experience on a dual-server domestic NPU setup.
1. Hardware Configuration and Deployment Architecture Design
When deploying models with ultra-large parameter counts, sensible hardware/software coordination and parallelism design are the foundation of success. This deployment used two servers equipped with domestic NPU chips working in tandem.
1. Hardware configuration and interconnect
Each server has 16 NPU dies, with 64 GiB of memory per die. Together, the two servers provide 32 dies and 2 TiB of total memory. A high-speed cache-coherent interconnect (HCCS) between nodes handles compute communication, meeting the high-bandwidth All-to-All communication requirements of MoE architectures.
2. Quantization and image strategy
Because the original FP16 weights are too large to load within the available memory while reserving sufficient KV Cache space, this deployment used a community W4A8 quantized version. This scheme compresses weights to 4 bits and activations to 8 bits, keeping the weight footprint of the 2.8T-parameter model at roughly 1.47 TB while preserving accuracy. A customized container image from the official open-source inference framework ensured operator-level compatibility and optimization.
3. Hybrid parallelism design
To fully leverage all 32 dies, the deployment combines tensor parallelism (TP) and pipeline parallelism (PP): TP16 within each node to maximize inter-card bandwidth utilization, and PP2 across nodes, for a total World Size of 32. This design handles the memory pressure from MoE expert distribution while using pipelining to hide cross-node communication latency.
2. Pre-Deployment Engineering: Node Onboarding and Efficient Distribution
Heterogeneous computing platforms play an important role in simplifying complex infrastructure management. This deployment relied on a standard architecture that separates the control plane from the data plane, built around a static single-binary server and agent. The agent runs on each compute node and initiates outbound connections to the server, reusing a single tunnel for control signaling, monitoring logs, and inference traffic.
1. Onboarding compute nodes
Generate an installation command from the platform console’s “Compute Nodes” module and run it on both NPU servers. Once started, the agent automatically scans and reports device information; the platform identifies the 16 NPU dies per machine along with their network interfaces and storage status. This makes the onboarding process for domestic NPU nodes identical to that of traditional GPU nodes, significantly lowering operational overhead.
2. Building the parameter network
Multi-node NPU deployment requires an accelerator network for inter-node communication. In the platform’s “Network” configuration, add both nodes’ HCCS interfaces to the same parameter network group. The platform automatically performs inter-card connectivity checks during configuration to ensure smooth cross-node communication. During subsequent deployment scheduling, the platform uses this parameter network to automatically select and bind suitable nodes.
3. Weight acquisition and efficient distribution
For a 1.47 TB weight payload, downloading over the public internet on every node would be extremely inefficient. This deployment used a “pull once, replicate” strategy:
- Public download: Select the specified revision’s 346 safetensors shards from a public model repository and download them to the first node, at roughly 50–57 MB/s.
- Direct node-to-node transfer: Instead of consuming public bandwidth, the second node uses the platform’s “Copy to…” feature to transfer files over the internal network from the first node, reaching about 490 MB/s—nearly 10x faster.
- Integrity verification: After each node finishes receiving files, the platform automatically verifies every safetensors shard with SHA256 checksums, ensuring large files were not corrupted in transit.
3. Deployment Execution and Stress Testing
1. Instance launch and functional verification
Once everything was ready, the built-in model deployment template was selected on the platform. The system pushed the configuration automatically, and both nodes launched a 32-die distributed inference instance using a TP16 × PP2 architecture. After startup, basic functional verification was performed: standard chat requests, multi-turn inference, and external tool calls through the platform gateway. The model produced logically consistent outputs, tool call protocols parsed correctly, and system state remained stable.
2. Multi-scenario stress testing
To validate stability in production-like environments, three stress tests of increasing complexity were run from the server side, routed through the platform gateway to the inference instance:
- Random long/short text test: Simulates typical chat workloads with 2048-token input / 512-token output request combinations.
- Agentic 80K test: Simulates moderately complex agent workflows carrying large context backgrounds.
- Agentic 200K test: Simulates extreme scenarios such as long document analysis or complex codebase understanding, probing the limits of long-context handling and memory management.
Across all three tests, 836 requests were sent in total. Monitoring showed reasonable memory usage under full load, no KV Cache overflow, and a 100% request success rate—demonstrating strong system stability and engineering robustness.
4. Summary and Outlook
This dual-server domestic NPU deployment of a native multimodal MoE model demonstrates that, with a sensible W4A8 quantization strategy, hybrid TP/PP parallelism, and efficient weight distribution, domestic heterogeneous compute is fully capable of serving ultra-large-scale model inference.
In modern AI infrastructure, container-based compute instances, high-performance object storage, logging services, and monitoring/alerting systems all play indispensable roles in the model deployment pipeline. With a standardized heterogeneous compute management platform, developers can focus more on model algorithms and business logic, accelerating AI innovation and adoption. Going forward, as interconnect hardware advances and framework-level optimizations deepen, the cost of distributed inference for large models will continue to fall, laying a stronger foundation for enterprise AI across industries.
