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

    This article examines a practical setup for deploying large models locally on a four-node Grace Blackwell cluster. It explains why multi-node inference has become essential for enterprise use, details the reference hardware architecture, and covers tiered storage, switched star networking, inference engine parallelism settings, and load-testing metrics. Readers will gain a clear framework for balancing memory capacity, bandwidth, and parallel strategies when planning local multi-node LLM deployment.

    1. Why Local Multi-Node Deployment Has Become a Requirement

    Once large models move into enterprise scenarios, keeping data within its own domain, controlling inference latency, and making per-token cost predictable have gradually replaced the practice of relying solely on external API calls. However, a single-machine setup quickly hits a ceiling: a model built on a large-scale MoE (Mixture of Experts) architecture can have weights spanning hundreds of gigabytes, and when the KV Cache growth from long contexts is added on top, the GPU memory and system memory of a single node are often insufficient. As a result, multi-node collaborative inference has shifted from an option to a necessity.

    The challenge of multi-node deployment is not limited to capacity. It also involves partitioning and placing model weights, inter-node communication bandwidth, runtime environment consistency, the inference engine’s support for parallel strategies, and the orchestration and observability of distributed services. A weak link in any of these areas prevents theoretical compute from translating into actual throughput.

    2. Reference Architecture: The Logic Behind a Four-Node Cluster

    This article uses a local four-node Grace Blackwell architecture cluster as a reference, and its configuration approach is broadly applicable:

    • Compute nodes: 4 Grace Blackwell nodes with Blackwell architecture GPUs
    • CPU: 20-core ARM architecture processors per node, 80 cores in total
    • Unified memory: 512GB of LPDDR5X in total, serving as the main carrier for model weights and KV Cache
    • Theoretical compute: up to roughly 4 PFLOPS of NVFP4 sparse compute in total
    • Storage: 8TB of NVMe SSD in total, used for offloading cold-tier weights and lookup data
    • Networking: each node equipped with a high-speed NIC in the 200Gbps class, with nodes interconnected through a 400G-class switch into an RDMA (RoCE) network

    The core characteristic of this configuration is “large-capacity unified memory plus high-bandwidth switched networking.” The former solves whether the model fits; the latter solves whether it runs efficiently.

    3. Tiered Storage: Making the Most of Limited Memory

    The inference characteristic of MoE models is “large total weight volume, sparse activation per pass.” Keeping all weights resident in memory crowds out KV Cache space, while reading everything from SSD in real time is slowed by I/O. A more reliable practice is to tier the storage:

    1. Hot tier: keep attention-related weights accessed frequently and the expert weights activated by the current batch in unified memory;
    2. Warm tier: place less frequently hit expert weights in memory but allow them to be swapped out;
    3. Cold tier: offload lookup and embedding data to NVMe SSD, prefetched on demand.

    Combined with sequential prefetching and asynchronous copies, cold-tier access latency can be hidden beneath computation. Illustrative pseudocode:

    1. # Pseudocode: tiered weight scheduling
    2. def forward(layer_input, router_logits):
    3. topk_ids = topk(router_logits, k=2) # sparse activation
    4. for expert_id in unique(topk_ids):
    5. if resident(expert_id): # hot/warm tier
    6. w = load_from_memory(expert_id)
    7. else: # cold tier, async prefetch
    8. w = prefetch_from_ssd(expert_id)
    9. layer_input += moe_compute(layer_input, w)
    10. return layer_input

    4. The Value of Switched Star Networking

    Direct node-to-node connections (full mesh) are viable when there are few nodes, but the cabling is complex and scalability is poor. Using a single high-speed switch to form a star topology offers three advantages: a clear topology, simple cabling, and a controllable fault domain. More importantly, each node only needs to communicate with the switch and does not have to relay data for other nodes, avoiding bandwidth being consumed by forwarding traffic.

    Tensor parallelism is extremely sensitive to communication, and each layer’s forward pass may require AllReduce or AllGather. If the network does not support RDMA, the overhead of the TCP stack significantly raises per-token latency. When building a RoCE network, pay attention to whether the switch supports lossless network configuration (PFC/ECN), whether the MTU is consistent, and whether the GPU and NIC are in the same NUMA domain.

    5. Inference Engine and Parallel Strategy Configuration

    Using a mainstream open-source inference framework as an example, multi-node deployment usually requires explicitly declaring the tensor parallel size and pipeline parallel size:

    1. # Illustration: multi-node tensor parallel startup (parameters must be adjusted to the actual environment)
    2. python -m vllm.entrypoints.openai.api_server \
    3. --model /models/moe-chat \
    4. --tensor-parallel-size 16 \
    5. --pipeline-parallel-size 4 \
    6. --max-model-len 1048576 \
    7. --kv-cache-dtype fp8 \
    8. --enable-chunked-prefill

    Selection principle: prioritize tensor parallelism within a node to exploit the high-bandwidth domain, and use pipeline parallelism across nodes to reduce communication frequency; when the context is extremely long, enabling chunked prefill and KV Cache quantization can significantly relieve memory pressure.

    6. Load-Testing Method and Observability Metrics

    It is recommended to validate across four scenario categories: everyday Q&A (short input, short output), document processing (long input), complex tasks (multi-turn tool calls), and intelligent coding and agents (high concurrency, long chains). For each category, fix the input and output length distribution and record the following metrics:

    • Time to first token (TTFT) and time per output token (TPOT)
    • Output throughput (tokens/s) and P99 latency under concurrency
    • Inter-node communication bandwidth usage, SSD read throughput, and memory hit and swap-out ratios
    • KV Cache growth curve under long contexts

    The recommended tuning order is: first confirm the lossless network configuration and NUMA binding, then adjust the parallel partitioning, and finally handle KV Cache precision and prefetch strategy. Missing any of these steps makes load-test data prone to distortion.

    7. Conclusion

    Deploying large models locally on a four-node cluster is essentially about balancing capacity, bandwidth, and parallel strategy. Unified memory determines whether the model fits, the high-speed switched network determines whether multiple nodes can collaborate, and tiered storage plus KV Cache optimization determine whether long-context scenarios can be served stably. Validating and quantifying each of these three layers separately is what yields predictable performance boundaries during the selection stage.