Deploying MoE LLMs on Multi-Node Blackwell Clusters: Key Considerations

    As large language model parameters grow and Mixture of Experts (MoE) architectures become prevalent, private deployments face significant memory and compute pressures. Single-node devices often cannot accommodate both model weights and inference context caches, making multi-node distributed inference a standard approach. Using a 4-node Blackwell architecture cluster deploying a 100-billion-parameter MoE model as an example, this article explores critical pre-deployment issues, including memory metric unification, parallelism strategies, SSD offloading boundaries, and network prerequisites.

    As large language model (LLM) parameter scales grow, particularly with the widespread adoption of the Mixture of Experts (MoE) architecture, enterprises face significant pressure regarding memory capacity and compute power during private deployments. Single-node devices typically struggle to simultaneously accommodate model weights and inference context caches, making multi-node distributed inference a common path for localized deployment. This article uses a 4-node Blackwell architecture cluster deploying a 100-billion-parameter MoE model as an example to clarify several key questions that must be addressed before deployment.

    1. Unify Memory Metrics

    Before multi-node planning, teams must separate system memory from GPU VRAM statistics. In Grace-Blackwell nodes, the Grace CPU uses LPDDR5X system memory, while the Blackwell GPU utilizes HBM VRAM. Although connected via high-speed interconnects like NVLink-C2C, their capacities and bandwidths differ significantly. Model weights and the KV Cache primarily reside in GPU VRAM, so counting CPU memory as “VRAM” will overestimate available capacity.

    Planning should track three metrics separately: per-node GPU VRAM capacity, per-node CPU memory capacity, and total cluster GPU VRAM. The total cluster VRAM equals the per-node VRAM multiplied by the node count, but it is not a uniformly addressable memory pool. Cross-node VRAM cannot be directly accessed like single-machine memory; model weights must be partitioned across nodes using parallel strategies.

    Specific specifications should be based on official hardware data sheets and actual testing. Core counts, memory capacities, and compute figures in the original plan must be verified item by item. Compute figures also need clear metrics: for instance, 4 PFLOPS typically refers to NVFP4 sparse compute, while dense compute is lower. Actual throughput is also affected by memory bandwidth, communication, and scheduling.

    2. Differentiate Tensor Parallelism and Expert Parallelism

    Each layer of an MoE model contains numerous expert networks, with only a few experts activated per token during inference. While the total parameter count is large, the single-step computation is primarily determined by the activated parameters. The deployment challenge is that all expert weights may be called during inference, so the complete weights must still fit into the cluster’s VRAM.

    There are three common partitioning strategies. Tensor Parallelism (TP) splits the weight matrix of each layer into blocks distributed across multiple cards. Each layer’s computation requires cross-card synchronization, resulting in highly frequent communication. Expert Parallelism (EP) assigns different experts to different cards; the routing phase distributes tokens to the cards hosting the corresponding experts and then aggregates the results. Pipeline Parallelism (PP) splits the model by layers, reducing inter-node communication frequency but introducing pipeline bubbles. These strategies can be combined, such as using TP within a node and EP or PP across nodes.

    The original plan set TP=4 across 4 nodes, meaning the collective communication for each layer traverses the network. For online inference, network latency is amplified layer by layer, affecting both Time to First Token (TTFT) and Tokens Per Second (TPS). Before implementation, compare the TTFT, throughput, and network utilization of several configurations to determine the final solution. vLLM provides parameters for TP, EP, and others, but specific parameter names and behaviors change with versions, so refer to the official documentation for the version in use.

    3. Tiered Storage: Boundaries of SSD Offloading

    The original plan offloads low-frequency data to NVMe SSDs, swapping it into VRAM when needed. This concept is valid, but the offloaded objects must be distinguished. If expert weights are frequently called during inference, placing them on SSDs introduces noticeable swap-in latency, degrading throughput. More suitable offloading candidates include low-access-frequency, latency-tolerant data, such as rarely used expert replicas, offline retrieval indexes, or historical session caches.

    The KV Cache is another major risk point. With million-token contexts, the KV Cache grows rapidly with sequence length and concurrent requests. If multiple requests retain long contexts simultaneously, VRAM is quickly exhausted. The plan should set a maximum context length per request, concurrency limits, and degradation strategies for exceeding limits, such as rejecting requests or truncating context.

    If planning to offload the KV Cache to SSDs, measure three metrics first: SSD read/write bandwidth, P99 latency of swap-in operations, and cache hit rate. Offloading is only worthwhile if these metrics meet business requirements. Three tests are recommended before going live: the VRAM usage curve under different context lengths, the tail latency of SSD swap-ins, and the relationship between cache hit rate and throughput. The test results determine whether the offloading strategy should be retained.

    4. Network: Prerequisites for RoCE and GPUDirect RDMA

    In multi-node inference, cross-node communication directly impacts throughput. In the original plan, 4 nodes connect via a star topology to a 400G-class switch, with each node equipped with a 200Gbps NIC. A 200Gbps NIC translates to about 25GB/s theoretical bandwidth, with actual available bandwidth further reduced by protocol overhead and congestion. The matching relationship between switch port speed and NIC speed must be confirmed based on actual link configurations.

    The advantage of a star topology is that each node connects only to the switch, simplifying cabling and facilitating expansion without requiring nodes to forward data to each other. The disadvantage is that the switch becomes a shared bottleneck, requiring attention to uplink bandwidth and port redundancy.

    RoCE (RDMA over Converged Ethernet) allows NICs to bypass the OS kernel for data transmission, reducing CPU overhead and communication latency. However, RoCE only solves the host-side transport problem. To enable NICs to directly read and write GPU VRAM, GPUDirect RDMA support is required. This depends on driver versions, NIC firmware, the PCIe or NVLink topology between GPUs and NICs, and the versions of communication libraries used by NCCL or vLLM. If conditions are not met, data will still bounce through host memory, and latency will not decrease as expected.

    Lossless networks rely on the coordinated tuning of PFC (Priority Flow Control) and ECN (Explicit Congestion Notification). PFC prevents packet loss, but improper configuration can spread congestion or even cause deadlocks. ECN notifies the sender to reduce speed, minimizing queue buildup. Both must be consistent across switches and NICs, and verified through stress testing to ensure no persistent pause frame storms. Enabling RoCE does not automatically mean zero packet loss; achieving zero loss requires end-to-end parameter tuning and verification.

    5. Deployment and Operations Checklist

    Enterprise management platforms can encapsulate vLLM and its dependencies into containers. Users specify the model path, parallelism parameters, and precision via a web interface, and the platform dispatches them to nodes. This reduces manual configuration errors, but key parameters still require engineering review. Before going live, at least the following tasks should be completed:

    1. Pin the versions of vLLM, CUDA, drivers, NCCL, and container images, and record the version numbers.
    2. Test bandwidth and latency between nodes before deployment to confirm they meet design values.
    3. Save startup parameters and benchmark results for each parallel configuration for traceability.
    4. Configure health checks to monitor GPU VRAM usage, KV Cache utilization, NIC error counts, and request latency.
    5. Retain previous images and configurations for quick rollback in case of anomalies.

    The AI gateway module provides a unified API entry point responsible for load balancing, rate limiting, and authentication. Callers see a single interface, while the backend coordinates across multiple nodes. Rate limiting thresholds should be set based on stress test data to prevent request volumes from exceeding the cluster’s actual capacity.

    6. Conclusion

    Using a 4-node Blackwell cluster deploying a 100-billion-parameter MoE model as an example, this article discussed four key issues: memory metrics, parallelism strategies, SSD offloading boundaries, and network prerequisites. Under the hardware configuration and specified model conditions described here, unified memory and SSD tiering, a 400G-class network, and an enterprise management platform can form a viable private inference solution. However, this conclusion has clear boundaries. The communication overhead of cross-node tensor parallelism, the pressure of KV Cache growth with context, and the configuration requirements of GPUDirect and lossless networks must all be verified through real-world testing in specific projects.