Deploying an Ultra-Large MoE Model on 32 Domestic AI Accelerator Dies Across Two Servers

    This article presents a reproducible two-server deployment and load-testing workflow for a 2.8T-parameter, 104B-active-parameter multimodal MoE model with a 1M-token context window. It covers accelerator network planning, large-scale weight distribution and verification, tensor and pipeline parallelism, service validation, and gateway-based stress testing. In the final validation, all 836 requests across three workload profiles succeeded on 32 accelerator dies.

    Deploying an Ultra-Large MoE Model on 32 Domestic AI Accelerator Dies Across Two Servers

    1. Background and Objectives

    Large-scale Mixture-of-Experts (MoE) models are moving from single-server, multi-accelerator deployments to multi-server, multi-accelerator architectures. A model with 2.8T total parameters, approximately 104B activated parameters, native multimodal capabilities, and a 1M-token context window introduces several engineering challenges:

    • Keeping the model weights resident across the cluster
    • Managing accelerator-to-accelerator communication
    • Providing sufficient KV-cache capacity for long contexts
    • Maintaining stability across the entire serving path

    This article describes a real-machine deployment and load-testing exercise using two servers equipped with 32 domestic AI accelerator dies in total. It focuses on three practical questions:

    1. How should the accelerator network be planned across two servers?
    2. How can ultra-large model weights be distributed and verified efficiently?
    3. How should tensor parallelism and pipeline parallelism be combined to start the service reliably?

    The objective was not to produce an isolated performance benchmark. Instead, the goal was to validate a reusable engineering workflow covering node onboarding, parameter-network configuration, weight downloading and direct node-to-node transfer, service startup, conversation and tool-calling verification, and three rounds of gateway-based load testing.

    A total of 836 requests were completed successfully across the three load tests, demonstrating the feasibility of serving this class of MoE model on two servers with 32 accelerator dies.

    2. Abstracted Model and Hardware Configuration

    The deployed model is a native multimodal MoE model with 2.8T total parameters, approximately 104B activated parameters, and a maximum context length of 1M tokens. To reduce memory consumption, the deployment uses community-released W4A8 quantized weights.

    The weights occupy approximately 1.47 TB and are divided into 346 shards. The total size is 1,466,844,769,783 bytes. The runtime uses the official inference image adapted for the model, with the image digest pinned to prevent environment drift.

    The hardware consists of two domestic AI accelerator servers. Each server has 16 dies, and each die provides 64 GiB of memory, for a total of 32 dies. Based on the decimal weight size of approximately 1.47 TB, the cluster provides roughly 2 TiB of aggregate accelerator memory. However, memory must also be reserved for the KV cache, activations, communication buffers, and runtime overhead.

    A 1M-token context limit does not mean that the service should enable the full context size for every request by default. In production, the effective limit should be selected according to concurrency, input length, and available memory.

    Item Configuration
    Nodes Two domestic AI accelerator servers; 16 dies per server and 64 GiB per die, for 32 dies in total
    Interconnect High-speed accelerator interconnect between nodes for computational communication
    Parallelism Tensor parallelism of 16 per node, pipeline parallelism of 2 across nodes, world size of 32
    Model 2.8T total parameters, approximately 104B activated parameters, native multimodal MoE, 1M-token context, W4A8 quantization, approximately 1.47 TB, 346 weight shards
    Runtime Official model-adapted inference image with a pinned image digest
    Load-testing path Requests sent from the service side through the platform gateway to the inference instance

    3. Node Onboarding and Parameter-Network Planning

    The platform uses a server-agent architecture. The server and agent are separate static binaries. The agent runs on each node and establishes an outbound connection to the server. Control traffic, monitoring, logs, and inference traffic share the same tunnel.

    This model is applicable to both domestic accelerator nodes and general-purpose GPU nodes. The operator generates an installation command in the console and runs it on each machine. After installation, the platform detects the accelerator devices, network interfaces, and storage information, and the nodes become available.

    Using outbound connections reduces the need to expose inbound ports, but it also requires monitoring traffic classification and backpressure when multiple types of traffic share the tunnel.

    The onboarding process is as follows:

    1. Generate the installation command from the Compute Nodes page.
    2. Run the command on both servers.
    3. Allow the platform to detect the 16 accelerator dies on each server.
    4. Add the accelerator interconnects of both nodes to the same parameter network.
    5. Run accelerator-to-accelerator connectivity checks.
    6. Configure deployments to select nodes through this parameter network.

    The parameter network should be separated from the business management network. This prevents high-volume inference and weight-transfer traffic from interfering with control-plane operations.

    4. Weight Distribution and Verification

    Transferring 1.47 TB of weights independently to each node over the public network is inefficient. In this deployment, the weights were first downloaded from the public model repository to the first node. The platform’s Copy to… capability was then used to transfer the files directly from the first node to the second.

    The measured public-network download speed was approximately 50–57 MB/s, while direct node-to-node transfer reached approximately 490 MB/s—nearly a tenfold improvement. At this data volume, public-network distribution takes several hours, whereas direct transfer can reduce the process to roughly the one-hour range, significantly shortening the deployment window.

    After the transfer completed, both nodes performed file-by-file verification to confirm shard integrity and version consistency.

    A production deployment should also:

    • Pin the model revision or weight hashes
    • Record the shard count and total byte size
    • Compare the manifest on both nodes
    • Detect partial downloads before service startup

    The weights can also be cached in general-purpose object storage before being pulled by the nodes. Regardless of the storage method, shard-level verification and manifest comparison should be included in the deployment pipeline.

    5. Parallelism Strategy and Deployment Configuration

    The deployment uses tensor parallelism of 16 within each node and pipeline parallelism of 2 across the two nodes, resulting in a world size of 32.

    The 16 dies within each node jointly partition tensor operations and use the high-bandwidth intra-node interconnect for dense communication. Across nodes, pipeline parallelism divides the model layers into two stages, reducing the need for full tensor communication between servers.

    For MoE models, routing communication and expert parallelism also require attention. During deployment, runtime logs should be used to monitor communication wait time and pipeline bubbles.

    An illustrative configuration is shown below:

    1. deployment:
    2. nodes: 2
    3. accelerators_per_node: 16
    4. total_dies: 32
    5. tensor_parallel: 16
    6. pipeline_parallel: 2
    7. world_size: 32
    8. model:
    9. total_parameters: 2.8T
    10. activated_parameters: 104B
    11. quantization: w4a8
    12. max_context_tokens: 1048576
    13. weight_size_tb: 1.47
    14. shards: 346
    15. network:
    16. parameter_network: accelerator_interconnect
    17. runtime:
    18. image_digest_locked: true

    The deployment must also define the maximum context length, maximum concurrency, batching policy, timeout, and retry behavior.

    For long-context workloads, KV-cache usage grows much faster than it does for short requests. It is therefore advisable to define separate concurrency limits for 80K-token, 200K-token, and longer requests, while monitoring memory utilization and queueing latency.

    6. Service Validation and Load-Test Design

    After the service started, the basic serving path was validated first. Conversations, reasoning workflows, and tool calling all worked as expected.

    Three load-test profiles were then designed:

    1. Random 2,048-token input and 512-token output
      Covers standard conversations and medium-length generation.

    2. Agentic 80K-token context
      Covers tool calling and multi-turn reasoning with a long context.

    3. Agentic 200K-token context
      Applies higher pressure to the KV cache.

    Across the three profiles, all 836 requests succeeded.

    The load tests were initiated from the server side and passed through the platform gateway to the inference instance rather than being generated only on the local nodes. This approach covers authentication, routing, gateway forwarding, tunnel reuse, and the inference service itself.

    Recommended metrics include:

    • Success rate
    • Time to first token
    • Inter-token latency
    • End-to-end latency
    • Throughput
    • Error codes

    The key result of this validation was a success rate of 836 out of 836 requests, indicating that the two-server, 32-die configuration could stably handle all three workload types under the selected parallelism strategy.

    1. cases = [
    2. {"name": "random_2048_512", "input_tokens": 2048, "output_tokens": 512},
    3. {"name": "agentic_80k", "input_tokens": 80_000},
    4. {"name": "agentic_200k", "input_tokens": 200_000},
    5. ]
    6. total_requests = 836
    7. # Send requests from the server through the platform gateway to the instance.
    8. # Record success rate, time to first token, inter-token latency,
    9. # end-to-end latency, and error codes.

    7. Engineering Lessons and Best Practices

    Plan the parameter network before deployment

    The accelerator interconnect should be separated from the management network. Complete accelerator-to-accelerator connectivity checks before deployment, and configure scheduling to select nodes through the parameter network.

    Pin the runtime and model versions

    Pin the image digest and weight revision to avoid environment drift and inconsistent deployments.

    Use direct node-to-node weight transfer

    A practical distribution workflow is:

    Download once over the public network → transfer directly between nodes → verify every file

    This approach significantly reduces the deployment window.

    Monitor shared tunnel traffic

    When control-plane and inference traffic share a tunnel, monitor their interaction. Apply traffic shaping or priority controls if required to prevent inference traffic from affecting control operations.

    Design dedicated long-context tests

    Short-request benchmarks cannot fully represent long-context behavior. Long-context workloads should be tested separately, with concurrency limits based on context length and observed memory utilization.

    Test through the gateway

    Starting load tests from the gateway path exposes issues that local-node testing may miss, including authentication, routing, forwarding, tunnel reuse, and service-instance behavior.

    Preserve rollback and retry paths

    Deployment workflows should retain rollback options and use idempotent failure-retry procedures. Error codes and node logs should be preserved to support troubleshooting.

    8. Conclusion

    This deployment demonstrated that a two-server cluster with 32 domestic AI accelerator dies can start and serve a 2.8T-parameter, approximately 104B-activated-parameter W4A8 multimodal MoE model using tensor parallelism of 16 per node and pipeline parallelism of 2 across nodes.

    Conversation, reasoning, and tool-calling workflows all functioned correctly. Across three load-test profiles, all 836 requests succeeded.

    For similar ultra-large-model deployments, the key challenge is not parallelism configuration alone. Reliable operation also depends on coordinated engineering across parameter-network planning, weight distribution and verification, long-context concurrency control, and full-path gateway-based load testing.