Dual-Server Deployment of a 2.8T MoE Model on Domestic AI Accelerators with TP×PP Hybrid Parallelism
This article presents a hands-on deployment of a native multimodal MoE model with roughly 2.8T total parameters, about 104B activated parameters, and up to 1M-token context, running on two servers equipped with domestic AI accelerator cards. Since a single 16-die server with 64 GiB per die cannot hold the approximately 1.47 TB W4A8 quantized weights, the deployment combines TP16 within each server with PP2 across servers, for a global world size of 32. The article covers hardware and model prerequisites, image and weight revision pinning, node onboarding and discovery, parameter-network connectivity checks, weight distribution through one public download plus node-to-node replication, instance startup, and three-layer validation. It reports three stress-test groups totaling 836 successful requests and summarizes five practical best practices for reproducible large-model deployment on domestic compute.
1. Background and Goals
As MoE (Mixture of Experts) architectures become more common, deploying models with trillions of total parameters has shifted from a “can it run?” question to an engineering problem of “how to run it stably and efficiently.” This article uses a native multimodal MoE model with about 2.8T total parameters and about 104B activated parameters per inference as the deployment target. Its context length can reach 1M tokens, placing high demands on memory capacity, die-to-die interconnect bandwidth, and the inference framework’s parallel scheduling capability.
Even a single server equipped with 16 accelerator cards—64 GiB of memory per card, 1 TB in total—cannot fully hold the approximately 1.47 TB of W4A8 quantized weights. A dual-server approach is therefore required: TP16 (tensor parallelism) within each server, PP2 (pipeline parallelism) across the two servers, and a global world size of 32, jointly launching one inference instance that spans 32 compute dies.
The reason for choosing hybrid parallelism rather than pure TP is that TP requires high-frequency AllReduce communication among all participating cards and is extremely sensitive to interconnect bandwidth when crossing nodes. PP, by contrast, transfers activations only at pipeline boundaries, reducing communication volume by an order of magnitude and making it better suited to scenarios with relatively limited inter-node bandwidth. This is one of the most classic engineering trade-offs in multi-server deployment of large models.
2. Environment and Dependency Preparation
Three core assets need to be clarified before deployment:
1. Hardware topology
- Two identical servers, each with 16 compute dies and 64 GiB per die.
- Intra-server communication uses the accelerator high-speed interconnect bus; inter-server communication uses a dedicated accelerator network for compute traffic.
- Stress-test traffic is initiated from an independent control endpoint and forwarded through the platform gateway to the inference instance.
2. Model weights
- A community-released W4A8 quantized version, with 346 safetensors shards totaling about 1,466,844,769,783 bytes (about 1.47 TB).
- The weight revision hash must be verified to ensure both nodes use exactly the same weight version. Any shard mismatch will cause corrupted outputs at the two ends of the pipeline, and such errors are extremely difficult to troubleshoot.
3. Inference runtime
- Use the official inference image released with the model, and pin the image to a specific digest in the deployment configuration (for example,
sha256:e7c67329...96b7) to avoid environment drift caused by an image tag being overwritten. This is a basic discipline for reproducible deployment.
3. Deployment Workflow
3.1 Node Onboarding and Auto-Discovery
The two servers are added to the cluster by generating an installation command in the console and executing it on each node. The Agent runs as a static single binary and actively initiates an outbound connection to the server. Control instructions, monitoring metrics, logs, and inference traffic share the same tunnel, and no inbound ports need to be opened on the node side. This “reverse connection” model is especially useful in machine-room environments with strict firewalls. After onboarding, the platform automatically identifies the 16 compute dies on each node.
3.2 Parameter Network Configuration
A key step in multi-server deployment is adding the accelerator interconnect ports of both nodes to the same parameter network. After configuration, run a die-to-die connectivity check to confirm:
- Port status at both ends of the inter-server link is normal.
- End-to-end bandwidth meets expectations.
- There are no routing loops or cross-subnet detours.
During deployment, the platform uses this parameter network to automatically filter eligible node pairs and avoid placing non-communicating nodes in the same inference group.
3.3 Weight Distribution Strategy
Distributing 1.47 TB of weights is the most time-consuming part of deployment, so the transfer path must be planned:
- First-node acquisition: Download from a model hosting source (such as a ModelScope-like channel) to the first node. The observed public download rate was about 50–57 MB/s, and a full download took more than 7 hours.
- Node-to-node direct transfer: The second node does not repeat the public download. Instead, it uses the “node copy” feature to synchronize directly from the first node. The observed direct-transfer rate was about 490 MB/s—nearly 10 times faster—and the process completed in about 50 minutes.
This leads to a general lesson: in multi-server clusters, weight distribution should always follow “one public download, multiple intranet transfers.” It is also recommended to compare the hash of each shard after distribution and before entering the deployment stage.
3.4 Instance Startup
Select the preset deployment template, enter the weight path, and deploy with one click. The framework initializes the process group with the TP16 × PP2 parallel configuration: 16-way intra-server tensor parallelism uses the high-speed interconnect bus for high-bandwidth AllReduce, while 2-way inter-server pipeline parallelism passes inter-layer activations through the accelerator network. About 1.47 TB of weights is loaded, after which the instance becomes ready.
4. Functional and Performance Validation
Three layers of validation were performed after the instance became ready:
1. Basic functionality: Multi-turn dialogue, chain-of-thought output, and Function Calling all worked normally, indicating that the quantized weights behave correctly on Ascend operators and that the pipeline split did not break model semantics.
2. Three stress-test groups:
- Short-context group: random input of 2048 tokens and output of 512 tokens.
- Agentic 80K group: high-concurrency long-context requests simulating long tool-chain scenarios.
- Agentic 200K group: requests approaching the ultra-long-context limit.
All 836 requests across the three groups returned successfully, with no OOM and no timeout failures. This shows that, in scenarios where KV Cache grows sharply with context length, the memory headroom and scheduling strategy of the 32 dies are sufficient.
3. Stability observation: During long-context stress testing, inter-server link utilization and die temperature were monitored closely. PP boundary transfer bandwidth did not become a bottleneck, indicating that the “intra-server TP, inter-server PP” parallel split matches this hardware topology.
5. Lessons and Best Practices
The deployment can be distilled into a reusable methodology:
- Match the parallel strategy to the topology: Use intra-server TP to saturate high-bandwidth interconnect and inter-server PP to avoid bandwidth limitations. This is the default starting point for multi-server deployment of trillion-parameter models.
- Pin the three version elements: Weight revision, image digest, and parallel configuration must all be explicitly fixed. Any drift will break reproducibility.
- Distribute weights over the intranet: Download once from the public network, then transfer directly over the intranet to the remaining nodes. This can save hours of waiting.
- Run connectivity checks before deployment: Die-to-die connectivity validation on the parameter network should be a mandatory gate, not a troubleshooting step after deployment failure.
- Design stress tests in layers: Short context validates throughput, long context validates memory and scheduling, and Agentic scenarios validate tool-chain stability. Only coverage across all three layers counts as “validation complete.”
The entire process—from bare-metal onboarding to all 836 stress-test requests passing—can be completed within one working day. For teams that need to deploy very large models on domestic compute, templating and automating these five steps is the most effective way to shorten PoC cycles and reduce trial-and-error costs.
