Local Deployment of Large MoE Models on a Four-Node GB10 Cluster: A Practical Benchmark

    This article reports on a practical local deployment of a large Mixture-of-Experts (MoE) model on a four-node Grace Blackwell (GB10-class) cluster. It explains why memory capacity and bandwidth, rather than peak FLOPS, are the primary constraints for sparse MoE inference, and why cross-node interconnect becomes the main bottleneck during tensor parallelism. The article outlines a reference hyperconverged architecture with 512GB of unified LPDDR5X memory, 400G RoCE networking, NVMe storage, and FP8/FP4 mixed precision, then covers three-tier memory layering for 1M-token contexts, TP/EP parallelism strategies with example vLLM startup parameters, a four-scenario stress-testing methodology with key metrics, and a tuning checklist for common pitfalls such as missing PFC/ECN lossless configuration and cold-tier warm-up. It closes with a selection order for private AI infrastructure: memory, interconnect, mixed-precision support, storage tiering, and gateway observability.

    1. Why Local Deployment of Large MoE Models Has Become Harder

    Since 2026, enterprise demand for private large language models has shifted from “can it run” to “can it reliably carry business workloads.” A new generation of models defined by ultra-long context and large-scale Mixture-of-Experts (MoE) concentrates the pressure on three dimensions: weight size, KV Cache growth, and random memory access caused by expert routing.

    The defining trait of MoE is sparse activation: the total parameter count is very large, but each token activates only a few experts. This leads to an easily overlooked conclusion—compute demand and memory/VRAM demand do not grow in sync. The full set of weights must stay resident in addressable memory, while the activation path consumes only part of the compute. As a result, the first selection constraint is usually memory capacity and bandwidth; peak FLOPS is the second.

    The second challenge is interconnect. A single node’s memory is capped no matter how large it is. Once tensor parallelism spans nodes, the communication volume of AllReduce/AllGather scales linearly with concurrency, and the network turns from a supporting role into the main bottleneck.

    2. Reference Architecture: A Four-Node Hyperconverged Inference Cluster

    A proven form factor follows a hyperconverged approach: compute, model serving, an AI gateway, and application orchestration are consolidated into unified infrastructure that exposes only standard inference APIs externally.

    Reference configuration (illustrative):

    • Compute nodes: 4 Grace Blackwell architecture all-in-one nodes
    • CPU: 20 ARM cores per node, 80 cores total
    • Unified memory: 512GB LPDDR5X total, addressable and shared
    • Theoretical compute: up to roughly 4 PFLOPS of sparse NVFP4 compute
    • Storage: 8TB NVMe SSD total
    • Network: ConnectX-7 class NIC per node, up to 200Gbps per port
    • Fabric: 400G-class high-speed switching with RDMA/RoCE support
    • Model precision: native FP8 + FP4 mixed precision
    • Context window: 1M tokens
    • Inference engine: a mainstream open-source high-throughput engine (such as the vLLM family)

    The topology uses a switched star: one high-speed switch connects the four nodes, the hop count between any two nodes is fixed at 2, and latency is predictable. This is more stable than a daisy-chain topology for multi-node tensor parallelism.

    1. [ 400G High-Speed Switch / RoCE ]
    2. / | | \
    3. Node0 Node1 Node2 Node3
    4. | | | |
    5. NVMe NVMe NVMe NVMe (Engram / cold-weight offload tier)

    3. Memory Tiering: The Key to Running 1M Context

    512GB of unified memory cannot support long context indefinitely. In practice, a three-tier hierarchy is typically used:

    1. Hot tier (HBM/LPDDR5X): resident active expert weights for the current batch plus hot KV blocks;
    2. Warm tier (host unified memory): full weight shards plus inactive KV;
    3. Cold tier (NVMe SSD): lookup-table data (such as Engram-style memory tables) and archived historical sessions.

    The benefit of tiering is “trading bandwidth for capacity”; the cost is tail-latency jitter. It is advisable to enable KV Cache quantization (FP8/INT8) and PagedAttention-style paging management to keep the fragmentation rate under 10%.

    4. Parallelism Strategy and Engine Configuration

    A typical four-node split is TP=4 first (the high-bandwidth domain inside a node); if expert parallelism yields more benefit, use an EP=4 + TP=1 combination. Rules of thumb:

    • When a single node’s memory can hold the full weights, prefer TP, which saves the most communication;
    • When weights approach the memory limit, use EP to spread experts out, together with NVMe offload for cold tables;
    • For long-context scenarios, tune max_model_len and gpu_memory_utilization together to avoid OOM.

    Example startup parameters (pseudocode, expressing intent only):

    1. python -m vllm.entrypoints.openai.api_server \
    2. --model /models/moe-1017 \
    3. --tensor-parallel-size 4 \
    4. --enable-expert-parallel \
    5. --kv-cache-dtype fp8 \
    6. --max-model-len 1048576 \
    7. --gpu-memory-utilization 0.92 \
    8. --swap-space 64

    5. Stress-Testing Method and Metrics to Watch

    Do not measure single-request latency only. Four scenarios are recommended:

    • Everyday Q&A: 512 input / 256 output; watch P50/P99 and tokens/s;
    • Document processing: 32K–128K input; watch time to first token (TTFT) and memory watermark;
    • Complex tasks: multi-turn tool calls; watch P99 jitter and error rate;
    • AI coding/agents: long context plus high-frequency small requests; watch the throughput collapse point.

    Core metrics: TTFT, TPOT, throughput (tokens/s), the concurrency inflection point, KV hit rate, and RDMA retransmission rate. During stress tests, collect switch port packet loss and PFC counters at the same time—network problems are often misdiagnosed as model problems.

    6. Common Pitfalls and a Tuning Checklist

    • Selecting by peak compute only, while ignoring 400G interconnect and memory bandwidth;
    • RoCE without a lossless network (PFC/ECN), which halves throughput under long context;
    • No warm-up for cold-tier offload, causing extremely high tail latency on the first batch of requests;
    • Setting the context length too large, so KV reservation squeezes the space for weights;
    • Missing gateway-level rate limiting and priority queues, so agent scenarios get starved by long requests.

    7. Selection Recommendations

    If the goal is to privately serve million-level context and large-scale MoE, the evaluation order should be: memory capacity and bandwidth → inter-node interconnect (RDMA/400G) → mixed-precision support → storage tiering capability → gateway and observability. A four-node GB10-class cluster offers good cost-performance and deployment density at small-to-medium concurrency, making it a suitable starting form for enterprise on-premises AI infrastructure. For hyperscale production, scale out nodes horizontally on this framework and introduce tiered inference routing.