Local Inference of Large MoE Models on a 4-Node GB10-Class Cluster: Architecture, Deployment, and Performance Practices

    As LLM parameter counts keep growing, a single node can no longer host models with hundreds of billions of parameters for private deployment, making multi-node distributed inference clusters the mainstream approach for on-premises deployment. Using a typical cluster design of four GB10-class compute nodes connected through a high-speed switch, this article walks through the full process of deploying a large-scale MoE model locally, covering cluster architecture, model deployment, stress testing, and real-world scenario observations, and concludes with transferable guidance on hardware selection and tuning.

    Local Inference of Large MoE Models on a 4-Node GB10-Class Cluster: Architecture, Deployment, and Performance Practices

    As LLM parameter counts continue to climb, the compute capacity of a single node can no longer meet the private deployment requirements of models with hundreds of billions of parameters. Multi-node distributed inference clusters are becoming the mainstream technical route for on-premises deployment. This article uses a typical cluster design—four GB10-class compute nodes connected via high-speed switching—as an example to reconstruct the full deployment process of a large-scale MoE model across four dimensions: deployment architecture, model deployment, performance stress testing, and real-world scenario evaluation. It also distills transferable lessons on hardware selection and tuning.

    1. Why Multi-Node Cluster Inference Is Necessary

    1.1 Resource Bottlenecks of Large MoE Models

    Mainstream Mixture-of-Experts (MoE) models activate only a subset of experts per token during inference, but all expert weights must reside in memory. For a model with hundreds of billions of parameters stored in FP8+FP4 mixed precision, the weights alone require hundreds of gigabytes. Once KV cache, activations, and runtime overhead are added, single-node memory quickly becomes insufficient.

    1.2 The Core Idea of Cluster Deployment

    The direct way to break through single-node memory limits is to shard model weights across multiple compute nodes and use tensor parallelism so that all nodes collaboratively complete each forward pass. However, multi-node parallelism only pays off when inter-node interconnect bandwidth is high enough and latency low enough—otherwise communication overhead erases the gains from parallelism. A mature cluster solution must therefore address four layers simultaneously: compute, memory, interconnect, and management.

    2. Cluster Architecture Design

    2.1 Reference Hardware Configuration

    A typical 4-node distributed inference cluster is configured as follows:

    • Compute nodes: 4 Grace Blackwell-class superchips, each integrating a 20-core ARM CPU and a Blackwell-architecture GPU
    • Unified memory: 128GB LPDDR5X per node, 512GB total, with CPU and GPU sharing the address space
    • Theoretical compute: up to roughly 4 PFLOPS in aggregate (NVFP4 sparse)
    • Storage: 8TB NVMe SSD in total
    • Networking: 200Gbps-class high-speed NIC per node
    • Topology: one 400G-class switch in a star topology, supporting RoCE/RDMA

    2.2 Tiered Utilization of Large Unified Memory

    Grace Blackwell-class chips share unified memory between CPU and GPU, eliminating the frequent host-to-device copies required under traditional PCIe architectures. To handle the memory pressure of MoE models, a tiered storage strategy is commonly adopted in practice:

    1. Distributed placement of expert weights: Distribute expert weights across the 4 nodes based on load balancing; during inference, fetch weights remotely according to routing results or compute collaboratively via parallel communication.
    2. Offload low-frequency data to SSD: Move infrequently accessed data—such as routing tables and cache indexes—to NVMe SSD, reserving precious memory for weight residency and KV cache.
    3. Prefetch and warmup: Exploit the locality of expert routing to prefetch hot experts into memory, reducing time-to-first-token (TTFT).

    2.3 Switched Networking Outperforms Direct Connections

    Compared with point-to-point direct connections between nodes, a switched star topology offers a cleaner topology, simpler cabling, and better scalability. Each node needs only a single uplink, and traffic is forwarded by the switch, so nodes carry no transit burden. Combined with RDMA—which bypasses the kernel protocol stack—inter-node AllReduce and All-to-All latency can be kept at the microsecond level. This is critical for tensor parallelism, which requires high-frequency communication inside every Transformer layer; network jitter translates directly into reduced inference throughput.

    It is recommended to enable Priority Flow Control (PFC) and Explicit Congestion Notification (ECN) to guarantee lossless RDMA transmission, and to plan switch port traffic carefully to avoid hotspot congestion when all 4 nodes communicate concurrently.

    3. Model Deployment and Parallelism Configuration

    3.1 Inference Engine Selection

    Mainstream inference engines such as vLLM natively support multi-node tensor parallelism and pipeline parallelism. A typical launch configuration for a 4-node deployment looks like this:

    1. vllm serve ./deepseek-moe-model \
    2. --tensor-parallel-size 4 \
    3. --pipeline-parallel-size 1 \
    4. --max-model-len 131072 \
    5. --quantization fp8 \
    6. --gpu-memory-utilization 0.9

    Key parameter notes:

    • tensor-parallel-size 4: weights are sharded across 4 nodes along attention-head and FFN dimensions;
    • max-model-len: set the context length based on available memory headroom—long contexts significantly increase KV cache usage;
    • gpu-memory-utilization: leave a small margin to avoid OOM; typically tuned between 0.85 and 0.92.

    3.2 Distributed Weight Placement Strategy

    For MoE models with a very large number of experts, it is advisable to analyze expert load before deployment: place frequently activated experts—based on historical requests—on nodes with higher memory bandwidth, or distribute them evenly via round-robin. After deployment, use the engine’s expert activation statistics interface to verify routing balance. If certain experts remain persistently hot, consider replicating them across multiple nodes to spread the load.

    3.3 Unified Operations via a Management Platform

    Manual operations on a multi-node cluster are costly, so a unified AI gateway and management platform is recommended to handle:

    • Model lifecycle management: version uploads, canary releases, rollbacks;
    • Service orchestration: multi-replica deployment, health checks, automatic removal of failed instances;
    • Traffic governance: per-business-line quota throttling, request routing, API key authentication;
    • Observability: collection and alerting for token throughput, TTFT, GPU utilization, and related metrics.

    4. Stress Testing and Real-World Evaluation

    4.1 Stress Testing Methodology

    A progressive stress-testing approach with four benchmark groups is recommended:

    1. Short Q&A baseline: fixed input of ~512 tokens and output of 256 tokens, with concurrency ramping from 1 to 64, to observe the throughput inflection point;
    2. Long-document processing: inputs of 32K–128K tokens to evaluate TTFT stability under long contexts;
    3. Batch offline tasks: fixed total request count, measuring requests per second (RPS) and aggregate token throughput;
    4. Agent multi-turn calls: simulate tool-call chains to evaluate end-to-end latency across multi-turn inference.

    Key metrics to monitor during testing: inter-node network utilization, RDMA retransmission rate, per-node memory levels, and skew in expert routing distribution.

    4.2 Observed Results

    When deploying a MoE model with hundreds of billions of parameters on this class of 4-node cluster, the following patterns are typically observed:

    • Concurrent throughput: at low concurrency, single-request generation speed approaches the single-node ceiling; total throughput keeps climbing as concurrency rises to 16–32; beyond 32 concurrent requests, network communication becomes the new bottleneck and throughput growth flattens;
    • Time to first token: TTFT rises noticeably in long-context scenarios, mainly due to inter-node AllReduce during the prefill phase, which can be mitigated with Chunked Prefill;
    • Stability: when RDMA links are stable, P99 latency remains well controlled over long stress runs; once network jitter occurs, latency spikes become pronounced—lossless network configuration is therefore the lifeline of cluster stability.

    4.3 Recommendations for Typical Business Scenarios

    • Everyday Q&A / customer support: prioritize throughput—moderately lowering the context length cap in exchange for higher concurrency;
    • Document analysis and RAG: ensure prefill compute and KV cache space; cap per-request input at a defined threshold and chunk-and-summarize overlong documents first;
    • AI coding and agents: sensitive to TTFT—dedicate some replicas or enable prefix caching to reuse the KV cache of system prompts.

    5. Conclusion and Selection Guidance

    Practice with the 4-node GB10-class cluster shows that, by combining large unified memory, tiered storage, and high-speed RDMA switched networking, enterprises can fully deploy MoE models with hundreds of billions of parameters in their own data centers and achieve usable inference experiences across everyday Q&A, document processing, and agent-based coding scenarios. When selecting a solution, evaluate four dimensions carefully: whether per-node unified memory can cover weight requirements, whether interconnect bandwidth can sustain tensor-parallel communication, whether the management platform provides complete model-serving governance, and whether lossless networking is properly configured. For organizations that are data-sensitive, budget-constrained, yet require large-parameter models, this kind of compact distributed inference cluster is a highly cost-effective path beyond cloud computing.