Running a Trillion-Parameter MoE Model on Domestic AI Accelerators: A 32-Chip Dual-Node Inference Deployment and Performance Validation

    This article documents a full deployment and stress-testing workflow for serving a 2.8T-parameter multimodal MoE model (approximately 104B active parameters) on two domestic AI accelerator servers with 32 compute dies and 2TB of total memory. It covers cluster topology design (TP=16, PP=2), node onboarding, parameter networking, weight distribution of a 1.47TB W4A8 quantized checkpoint, inference service deployment, and three stress test scenarios including 200K-token long-context workloads. All 836 test requests succeeded, demonstrating that domestic accelerator clusters can deliver stable, production-grade inference for trillion-parameter MoE models.

    Background: From Single-Node Validation to a Domestic Compute Cluster

    In an earlier phase of technical validation, we verified inference for a trillion-parameter model on a single high-performance GPU server, confirming compatibility between the inference engine and the model weights. However, as workloads evolve toward multimodal inputs, long contexts, and complex agent tasks, the memory capacity and compute throughput limits of a single machine have become increasingly apparent. At the same time, domestic AI accelerator chips have matured rapidly in both software ecosystem and cluster interconnect capabilities, making them a viable option for building an autonomous, controllable compute foundation.

    The core question explored in this article is: given an inference serving platform that already provides mature model templates and automated deployment, can this capability be migrated seamlessly to a domestic AI accelerator cluster while maintaining comparable service stability and throughput? To find out, we selected two servers equipped with flagship domestic AI accelerator chips (16 compute dies per server, 32 in total) and used a multimodal MoE model with 2.8 trillion total parameters and roughly 104B active parameters as the test target, completing an end-to-end validation covering environment preparation, cluster networking, weight distribution, and stress testing.

    Hardware Environment and Cluster Topology

    This practice was built on two domestic AI accelerator servers, each containing 16 compute dies with 64GB of memory per die, for a cluster total of 32 dies and 2TB of memory. For the parallelism strategy, we combined intra-node tensor parallelism (TP=16) with inter-node pipeline parallelism (PP=2), forming a distributed inference topology with a world size of 32.

    The key reasoning behind this design: the expert-parallel nature of MoE models demands high-bandwidth inter-chip communication, and the high-speed intra-node interconnect can handle the communication pressure of tensor parallelism. Pipeline parallelism across nodes, in turn, mitigates the inter-node bandwidth bottleneck by keeping data transfer frequency within an acceptable range. Testing showed that this topology keeps inference latency low while significantly reducing reliance on extreme cross-node network bandwidth, making it the most cost-effective choice for trillion-parameter model inference in a dual-node setup.

    Platform Onboarding and Infrastructure Preparation

    Node Onboarding: One Command to Register the Accelerators

    Unlike the traditionally complex driver adaptation and environment configuration of domestic compute clusters, the GPU compute management platform used in this practice offers a very simple onboarding mechanism. From the “Compute Nodes → Add Node” page in the console, an installation command is generated. After running this command on each of the two servers, the platform automatically completed the following:

    • Hardware discovery: Automatically detected the 16 accelerator dies on each server and collected metadata such as memory capacity, compute firmware version, and network interfaces;
    • Tunnel establishment: The agent process on each node proactively initiated an encrypted outbound tunnel to the platform’s server side. Control commands, monitoring metrics, log streams, and inference data all travel through this channel, eliminating the need to open complex firewall ports;
    • Status reporting: Once online, each node’s compute status, storage mounts, and network topology were synchronized to the console in real time, giving operators a clear view of cluster health.

    Parameter Network: Building High-Speed Cross-Node Interconnect

    Multi-node communication for domestic AI accelerators typically relies on a dedicated accelerator network. In the platform’s “Network” module, we added the dedicated high-speed interconnect channels of both nodes to the same “parameter network” resource pool. The platform automatically ran connectivity checks across all chips (e.g., point-to-point bandwidth and latency tests between any two dies), confirming that the parameter network was ready at both the physical link and driver levels. When a deployment task is later submitted, the scheduler assigns nodes based on the parameter network’s membership list, ensuring that the communication topology required by the parallel job matches the actual physical connections.

    Weight Distribution: From Public Download to Node-to-Node Transfer

    The quantized model weights used here follow the W4A8 format (4-bit weights, 8-bit activations), totaling approximately 1.47TB across 346 shard files. To maximize bandwidth utilization, we adopted a “download once, replicate everywhere” strategy:

    1. First-node download: The full weight package was downloaded from a major model repository to the first server’s local disk at roughly 50–57MB/s;
    2. Node-to-node transfer: Using the platform’s built-in “Copy to…” feature, we triggered an internal high-speed transfer from the first node to the second. Thanks to the high-speed interconnect between nodes, the measured transfer rate reached about 490MB/s—nearly 10x faster than the public download—compressing hours of waiting to under 50 minutes;
    3. Integrity verification: After distribution, the platform computed and compared checksums for every shard file, guaranteeing that the weights on both nodes were identical and preventing inference anomalies caused by file corruption.

    Inference Service Deployment and Configuration

    Image and Template: Deterministic, Out-of-the-Box Reproducibility

    The platform’s built-in inference template pins a dedicated inference container image for this model. The image is released by the inference engine’s official team alongside the model and comes preloaded with operator libraries and graph compilation caches optimized for the model architecture. The template pins the image digest, meaning every instance deployed from this template gets an identical runtime environment, eliminating uncertainty from dependency drift.

    Deployment and Key Parameters

    After selecting the uploaded model weights, the configured parameter network, and the preset inference template in the platform UI, clicking Deploy automatically launched 32 inference processes across the two nodes following the TP16×PP2 strategy. No manual editing of distributed configuration or environment variables was required; the platform handled the key configuration automatically:

    1. # Example: distributed inference parameters auto-generated by the platform (partial)
    2. --tensor-parallel-size 16
    3. --pipeline-parallel-size 2
    4. --max-model-len 200000
    5. --quantization w4a8
    6. --trust-remote-code

    Here, max-model-len was set to 200K tokens to support the subsequent long-context stress tests.

    Service Verification and Functional Checks

    Once the instance was scheduled, we ran a round of basic functional verification through the platform gateway:

    • Multi-turn conversation: Multiple consecutive mixed Chinese-English dialogue turns to check coherence of text generation;
    • Tool calling: Complex instructions involving a code executor and a search plugin to verify the model’s ability to parse and respond to structured tool inputs;
    • Streaming output: Confirmed that streaming responses arrived without interruption or out-of-order chunks.

    All checks passed, confirming that the inference instance on the domestic accelerator cluster is functionally on par with mainstream GPU instances.

    Stress Testing: Stability Validation Across Three Scenarios

    To evaluate the cluster under realistic workloads, we designed three progressively demanding stress scenarios. Requests were sent from the client side and forwarded through the platform API gateway to the inference instance.

    Stress Test Scenarios

    Scenario Input/Output Context Length Load Characteristics Request Count
    Random short text 2048/512 tokens High concurrency, short-lived connections, latency-sensitive 836 requests total (across all three groups)
    Agent, medium context 80K tokens Long prompts, multi-turn tool call results included Distributed across scenarios
    Agent, extra-long context 200K tokens Extreme context pressure, high KV cache usage Distributed across scenarios

    Results and Analysis

    Across all three scenarios—836 requests in total—the cluster demonstrated exceptional stability:

    • Request success rate: All 836 requests returned successfully, a 100% success rate, with no timeouts, connection resets, or inference errors;
    • Memory usage: In the 200K extra-long context scenario, per-die memory usage approached the 60GiB limit, but no out-of-memory events or process kills occurred, indicating that the memory management strategy remains reliable even at the boundary;
    • Throughput: In the short-text scenario, concurrent throughput scaled smoothly without spikes. In the long-context scenarios, throughput dropped due to heavier prefill computation but remained within a reasonable range.

    Notably, all traffic in this stress test was proxied through the platform gateway rather than hitting internal ports directly. This additionally validated the gateway layer’s stability in maintaining long-lived connections and handling high-concurrency streaming responses—empirical evidence for production-grade link security controls.

    Conclusions and Reflections

    This dual-node deployment on domestic AI accelerators validated several key conclusions:

    1. Toolchain maturity: Modern inference platforms have wrapped the complex operations of onboarding, scheduling, and parallelism orchestration for domestic compute clusters into visual, automated workflows, significantly lowering the barrier to domestic deployment.
    2. Hardware-software co-design: W4A8 quantized weights enabled a 2.8T-parameter model to run fully loaded on a 2TB memory cluster without sacrificing functionality, demonstrating strong support from domestic accelerator hardware for mainstream quantized inference ecosystems.
    3. Long-context feasibility: At a 200K-token context length, the MoE model with pipeline parallelism maintained stable service, providing a solid compute foundation for agent and complex document analysis workloads.

    There is still room for optimization. For example, whether the inter-node HCCS communication retains bandwidth headroom under high concurrency, and whether introducing finer-grained expert parallelism (EP) could further reduce time-to-first-token, are both worth deeper exploration in future work. We will continue feeding this kind of real-world domestic compute adaptation data back to the platform engineering team, helping inference infrastructure advance steadily along the heterogeneous compute path.