Deploying Trillion-Parameter MoE Models on Dual-Node Specialized Accelerator Servers: A Practical Guide

    Deploying trillion-parameter Mixture of Experts (MoE) models goes beyond simply downloading weights and starting a service. This article details a complete deployment path for a 2.8T parameter native multimodal MoE model on a dual-node specialized accelerator cluster. It covers memory planning, parameter network isolation, inter-node weight distribution, and the TP16×PP2 parallel strategy, along with stress testing results across standard and long-context scenarios to ensure production readiness.

    1. Background and Problem Definition

    When model sizes reach the trillion-parameter level, deployment is no longer a simple matter of “downloading weights and starting a service.” For a native multimodal MoE model with 2.8T total parameters and approximately 104B activated parameters, the weight size is still around 1.47TB even after W4A8 quantization. Without meticulous parallel strategy design, a single machine’s memory cannot accommodate it. Unreasonable network planning can cause multi-node collective communication to deadlock repeatedly. Inconsistent image and weight versions can lead to unreproducible results and inference behavior drift.

    Using a cluster of two specialized accelerator servers as an example, this article comprehensively documents the entire process—from node integration and parameter network configuration, to weight distribution, inference image solidification, launching instances with TP16×PP2 parallelism, and executing three sets of stress tests. The focus is on recording a reusable deployment path and key engineering decisions rather than introducing a specific product.

    2. Test Environment and Parallel Topology

    The hardware and software configurations verified in this test are as follows:

    Item Configuration
    Nodes 2 specialized accelerator servers, 16 compute Dies per node, 32 in total
    Accelerator Memory 64 GiB per Die, approximately 2 TiB total
    Interconnect High-speed interconnect links used for both intra-node and inter-node compute communication
    Parallel Strategy TP16 per node, PP2 across nodes, total world size of 32
    Model Weights W4A8 quantized weights, approximately 1.47TB, split into multiple shard files
    Inference Image Inference engine image tailored for specialized accelerators, with deployment templates locking a fixed version
    Stress Test Entry Initiated by an external stress testing client, forwarded through the platform gateway to service instances

    We chose TP16×PP2 over cross-node TP32 primarily to reduce cross-node communication pressure. Tensor Parallelism (TP) requires splitting attention and feed-forward computations within each Transformer layer, involving high-frequency and high-volume communication, making it more suitable for high-bandwidth intra-node interconnects. Pipeline Parallelism (PP) splits layers into pipeline stages, placing different layer groups on different nodes. Cross-node communication only transfers activations and gradients, making the communication pattern more controllable. At this model scale, this combination fully utilizes the parallel capability of 16 Dies within a single node while distributing weights and KV Cache across two machines via two pipeline stages.

    3. Node Integration and Resource Management

    The first step in actual deployment is integrating the two specialized accelerator servers into the compute platform. The platform’s control plane communicates with the node agent program via a stable tunnel. The agent is a static single binary; deployment requires executing a single installation command on the server, after which the node automatically reports the number of accelerators, network interfaces, and storage information. Control, monitoring, logs, and inference traffic all reuse this same tunnel, eliminating the need to open numerous inbound ports on the node. This makes operations more secure and easier to manage uniformly.

    After executing the installation command, the platform automatically identifies the 16 compute Dies on each server. These 32 Dies then enter the resource pool, awaiting scheduling based on network topology and parallel strategy.

    4. Parameter Network Planning and Multi-Node Communication

    Multi-node inference relies heavily on the inter-accelerator network. If the parameter network is not planned in advance, nodes may fail to establish efficient collective communication channels, leading to initialization timeouts, low communication bandwidth, or even inference crashes after deployment.

    In this setup, all high-speed accelerator links from both nodes were allocated to a single parameter network. The platform first performs a card-to-card connectivity check to ensure that any two Dies can communicate correctly. During deployment, the scheduler then automatically selects two nodes belonging to the same network domain based on the parameter network. This ensures at the resource level that the communication topology required for TP/PP is complete, rather than exposing network issues only after instances start.

    It is highly recommended to isolate the parameter network from the standard business network. Control traffic, log traffic, and inference requests can route through the management plane, while large-scale tensor exchanges should use the dedicated parameter network to avoid bandwidth contention.

    5. Weight Download and Inter-Node Distribution

    The model weights, approximately 1.47TB, are compressed into multiple shard files. The first node downloads them from the model relay repository. Under current network conditions, the public network download speed is about 50–57 MB/s. The second node does not use the public network; instead, it copies the files directly from the first node via the high-speed inter-node link, achieving a speed of about 490 MB/s—reducing the time by nearly an order of magnitude.

    While seemingly simple, this operation is critical for large-scale model deployment. Downloading 1.47TB of weights entirely over the public network at a stable 50 MB/s would take about 8 hours. Inter-node direct transfer compresses this time to under 1 hour. More importantly, the shards received by the second node are completely identical to those of the first, preventing weight inconsistencies caused by different mirror sources, download tools, or shard verification methods.

    6. Inference Image and Reproducibility

    To ensure reproducible deployment results, the model weights, inference engine version, and startup parameters must be solidified as a whole. The inference engine image used here was provided by the model publisher as an adapted version. The deployment template locks the image digest rather than simply referencing a mutable tag.

    In actual production, the image digest and the weights’ hash values should be recorded together. This ensures that even if instances are relaunched months later, the same modified inference stack and the same quantized weights are used, keeping stress test results and production behavior consistent. This is particularly important for model services requiring long-term operations.

    7. Deployment and Startup Observation

    After selecting the target model tier in the template and clicking deploy, the platform automatically selects two nodes based on the parameter network and launches 32 inference processes using the TP16×PP2 topology. During startup, the service sequentially completes model shard loading, tensor parallel group initialization, pipeline parallel group establishment, and KV Cache allocation. During this phase, the platform logs can be used to observe the loading and communication status of each rank. If a Die goes offline or a communication link is abnormal, it will be exposed immediately.

    Once the instance starts successfully, conversational verification is performed directly: standard Q&A, multi-turn inference, and tool calling all return normally. Tool calling involves structured output and additional decoding processes; its successful execution indicates that the inference engine fully supports the model’s structure.

    8. Stress Testing Scenarios and Results

    This verification included three sets of stress tests:

    1. Standard Random-Length Requests: Input lengths covering the 512 to 2048 token range, simulating daily conversation and document summarization workloads.
    2. Agentic 80K: Simulating agentic workflows with an input context length of approximately 80K tokens, including multi-turn tool calls and long history records.
    3. Agentic 200K: Further stress-testing long-context scenarios with inputs of approximately 200K tokens to evaluate decoding stability under ultra-long histories.

    All three stress tests comprised a total of 836 requests, all of which succeeded. There were no request timeouts, service crashes, out-of-memory (OOM) errors, or tool call parsing errors. The long-context scenarios are particularly noteworthy because KV Cache consumption grows non-linearly with context length. Successfully completing 200K-level requests confirms that the memory planning and VRAM management of the dual-node TP16×PP2 setup are sound.

    9. Summary and Recommendations

    Several universal best practices can be distilled from this deployment:

    First, calculate memory before discussing parallelism. W4A8 quantization compresses weights to 1.47TB, but KV Cache, activations, temporary buffers, and the inference engine’s own consumption cannot be ignored. Before deployment, estimate the total memory requirements clearly and reserve at least 10%–20% margin; otherwise, OOM may occur during long-context stress testing.

    Second, multi-node parameter networks must be established first. Whether accelerator communication links are connected, isolated, and meet bandwidth requirements directly determines the success of multi-node inference. It is recommended to perform a connectivity check immediately after node integration, rather than discovering issues during deployment.

    Third, use templates to solidify versions. Model weight hashes, inference image digests, parallel strategies, and sampling parameters should be packaged into a reusable template. This not only ensures consistent deployment results but also facilitates future horizontal scaling or disaster recovery.

    Fourth, stress testing must cover both short and long scenarios. Short texts validate the service link and basic inference capabilities, while long texts expose memory allocation, KV Cache management, and decoding stability issues. Only when both short and long scenarios pass can a large-scale model be considered ready for production.

    For teams needing to deploy trillion-parameter MoE models, this combination of “dual-node TP16×PP2, W4A8 quantization, parameter network isolation, and inter-node direct weight transfer” provides a verified and reproducible engineering path.