Deploying Trillion-Parameter MoE Models on Two Nodes: A Practical Engineering Guide
This article walks through deploying a 2.8T-parameter multimodal MoE model (about 104B activated parameters, 1M token context) across two domestic accelerator servers with 32 dies in total. It covers resource profiling, a hybrid tensor and pipeline parallel strategy, node onboarding, parameter network setup, weight distribution between nodes, instance launch, and load testing. Readers will find reusable engineering practices and tuning advice for large-scale multi-node inference.
1. Background: Why Ultra-Large-Scale MoE Deployment Is Hard on the Engineering Side
Over the past year, trillion-parameter Mixture-of-Experts (MoE) models have become a mainstream choice for general inference and agentic workloads. These models often have a total parameter count in the trillions, yet each token activates only a small subset of experts. As a result, two conditions must hold at the same time: the weights must fit in memory, and the compute must be sufficient to run them. Many teams complete small-scale validation on a single machine, only to hit communication bottlenecks, slow weight distribution, and mismatched parallel strategies in multi-node environments.
This article targets a concrete goal: deploying a multimodal MoE model with 2.8T total parameters, roughly 104B activated parameters, and support for a 1M token context on two domestic accelerator nodes. The process is presented as reusable engineering capabilities rather than being tied to any specific vendor product: compute node onboarding, parameter network, model repository, inference image, and concurrent load testing.
2. Overall Design
2.1 Resource Profile
- Compute: 2 accelerator servers, each with 16 dies, 64 GiB per die, for 32 dies in total and roughly 2 TiB of aggregate memory.
- Interconnect: high-speed die-to-die links inside each node; a high-bandwidth compute network between nodes carries tensor and pipeline parallel communication.
- Weights: about 1.47 TB after W4A8 quantization, split into 346 shard files.
- Runtime: the inference image released with the model by the official source, with the image digest pinned in the template to avoid “it ran last night but not this morning” situations.
2.2 Parallel Strategy
The design uses a hybrid scheme: tensor parallelism within a node plus pipeline parallelism across nodes, with TP16 per node, PP2 across nodes, and a world size of 32. The rationale is that tensor parallelism involves heavy communication and should stay inside the high-bandwidth domain of a node, while pipeline parallelism has lighter communication but is sensitive to bubbles, making it more cost-effective across nodes.
Illustrative launch parameters (structure only, not a specific product interface):
# Tensor parallel across 16 dies on one node, pipeline parallel across two nodes--tensor-parallel-size 16 \--pipeline-parallel-size 2 \--quantization w4a8 \--max-model-len 1048576 \--gpu-memory-utilization 0.90
3. Implementation Steps
3.1 Node Onboarding and Topology Identification
Generate an installation command from the “Compute Nodes” page in the console and run it on each machine. The platform should automatically detect the number of accelerators, memory capacity, network cards, and storage mounts, and report health status. After onboarding, verify that each node has 16 dies, 64 GiB per die, and the correct node labels.
3.2 Building the Parameter Network
Multi-node inference requires a clearly defined network domain first. In the “Network” capability, add the compute networks of both nodes to the same parameter network. The platform runs inter-die connectivity checks covering bandwidth, RTT, and packet loss. During deployment, nodes are selected automatically based on this network, avoiding machines that are not part of the parameter network and would degrade communication.
3.3 Weight Acquisition and Direct Node-to-Node Transfer
In the “Model” repository, select a public source and download the weights to the first node. The second node does not need to repeat the public download; use the platform’s “copy to node” capability for direct node-to-node transfer. In practice, public downloads run at about 50–57 MB/s, while node-to-node transfer reaches about 490 MB/s, cutting distribution time for 1.47 TB of weights from hours to minutes. This step is the most easily overlooked hidden cost in large model deployment.
3.4 Launching the Instance
Choose a built-in accelerator tier template and click deploy. The platform brings up a 32-die instance with TP16 × PP2 and automatically handles weight shard mapping, memory pre-allocation, and readiness probes. Once ready, run a minimal end-to-end check first: a single-turn conversation, a chain-of-thought output, and one tool call.
4. Load Test Design and Results
Three workloads were designed to cover short requests at high concurrency, long-context agentic tasks, and extreme long context:
| Scenario | Input/Output | Requests | Result |
|---|---|---|---|
| Random short requests | 2048 / 512 | 300 | All succeeded |
| Agentic long context | 80K | 300 | All succeeded |
| Agentic extreme context | 200K | 236 | All succeeded |
All 836 requests succeeded. The load test was initiated from a load generator and forwarded through the platform gateway to the instance, so the results validate both the inference path and the platform forwarding path.
5. Key Lessons and Tuning Advice
- Pin image and weight versions: record the revision and image digest to ensure reproducibility.
- Check the network before the operators: in multi-node scenarios, communication topology errors are more common than operator errors.
- Leave headroom in memory utilization: with long context and high concurrency, the KV Cache grows quickly, and 0.90 is a relatively stable starting point.
- Shard count affects the loading strategy: 346 shards are best loaded in parallel to avoid single-threaded IO becoming the bottleneck.
- Include tool calls in load tests: output length distributions in agentic scenarios differ significantly from plain conversation.
6. Conclusion
Running a 2.8T-class MoE model on two nodes with 32 dies shows that domestic accelerators are now engineering-ready for multi-node inference. The real barrier is not whether the model can run, but whether the full chain—node onboarding, parameter network, weight distribution, parallel partitioning, and load test validation—has been standardized. Turning this chain into templates and checklists is the key to large-scale model deployment.
