Deploying a Large MoE Model on Two Nodes: A Practical Guide to Building an AI Accelerator Cluster

    This article walks through a complete two-node deployment of a large Mixture-of-Experts (MoE) language model on a containerized GPU/AI compute platform, using two servers with 16 locally manufactured AI accelerator chips each. It covers the three main challenges of cross-node inference, automated node onboarding and hardware discovery, planning a dedicated parameter network with pre-deployment link connectivity checks, and distributing 1.47 TB of model weights over the internal network instead of the public internet (about 490 MB/s versus 55 MB/s, roughly 9-10x faster). A post-deployment verification checklist and guidance on scaling the same workflow to larger clusters are included.

    1. Background and Challenges

    As model parameter counts reach the hundreds of billions and even trillions, a single server’s memory and compute are often no longer enough to serve or fine-tune a full model, and multi-node, multi-card deployment has become the norm. In real engineering work, deploying a large model across nodes typically runs into three core challenges:

    1. Heterogeneous hardware and topology discovery: each server may carry multiple AI accelerator chips, and the platform must accurately identify the chip count and topology and pool them as unified resources.
    2. High-speed interconnect configuration: tensor parallelism and pipeline parallelism across nodes depend on low-latency, high-bandwidth accelerator interconnect channels. Poor network planning directly drags down overall throughput.
    3. Distributing very large weight files: model weights that run into the terabytes waste bandwidth and stretch out deployment time if every node pulls them from the public internet.

    This article uses a concrete example — deploying a large Mixture-of-Experts (MoE) language model on a containerized GPU/AI compute platform with two servers, each equipped with 16 locally manufactured AI accelerator chips — and walks through the entire workflow from onboarding to ready-to-serve.

    2. Step 1: Onboard the Compute Nodes

    Deployment starts with bringing the physical servers under platform management.

    How to do it: on the console, go to Compute Nodes → Add Node and generate an installation command (usually a shell script). Log into each of the two servers and run it. The script installs runtime dependencies, registers the node agent, starts heartbeat reporting, and so on.

    Automation: once a node is registered, the platform automatically probes the hardware, identifies the 16 accelerator chips (at die level) on each machine, and presents them as a device list in the console. The value here is that operators no longer have to manually maintain records of “which machine has how many cards” — the resource view always matches the real hardware.

    Practical tips:

    • Before running the installation command, confirm that both machines run identical driver and firmware versions, to avoid protocol incompatibilities during parallel communication.
    • Tag the nodes (for example, by machine type or data center location) to make later scheduling and filtering easier.

    3. Step 2: Plan the Parameter Network

    The key to multi-node parallel inference is not the public network but the dedicated high-speed channels between accelerators. The common industry practice is to place all accelerators participating in collective communication into the same logical network (called a “parameter network” here), so that cross-node all-reduce and all-to-all traffic uses dedicated links.

    Configuration steps:

    1. Open the Network page and create or select a parameter network.
    2. Add all the high-speed interconnect ports of the accelerator chips on both nodes (for example, the inter-card interconnect bus) to that network.
    3. The platform automatically runs an inter-card connectivity check, verifying link reachability and bandwidth compliance pair by pair across nodes.

    Why the connectivity check matters: in cross-node parallelism, a faulty link between any single pair of cards can hang collective communication, and the failure point is extremely hard to locate. A pre-check blocks the problem before deployment and saves a great deal of troubleshooting time.

    Scheduling integration: the parameter network has one more implicit benefit — when you specify it for a deployment job, the platform automatically picks eligible nodes from the network’s members, so you don’t have to name machines manually. This avoids the basic mistake of “I picked a machine, only to find it isn’t in the same network.”

    Example configuration (pseudocode):

    1. param-network:
    2. name: moe-infer-net
    3. members:
    4. - node: gpu-node-01 # 16 dies
    5. - node: gpu-node-02 # 16 dies
    6. check: connectivity # run inter-card connectivity validation before deployment

    4. Step 3: Weight Download and Distribution Between Nodes

    Assume the target model weights total 1.47 TB. This is one of the most time-consuming parts of multi-node deployment and is worth optimizing carefully.

    Strategy: download once from the public internet, then copy over the internal network.

    1. Download to the first node over the public internet: in the Models module, select the weight source (such as a mainstream open-source model community) and download to the first node. Measured public download speed is about 50–57 MB/s, so 1.47 TB takes a very long wait.
    2. Direct transfer between nodes: the second node does not repeat the public download. Instead, use the platform’s Copy to… function to transfer from the first node over the internal network. Measured internal transfer speed is about 490 MB/s, roughly 9–10x the public download speed.
    3. Integrity verification: after both nodes finish, the platform performs a file-by-file comparison check (typically based on a hash manifest) to ensure there is no silent bit flip or truncation. For terabyte-scale weights, per-file verification is the necessary safeguard against “it fails at load time and nobody can find the cause.”

    Quantified benefit:

    Method Speed Time for 1.47 TB
    Public internet download ~55 MB/s ~7.5 hours
    Direct node-to-node transfer ~490 MB/s ~50 minutes

    The more nodes there are, the more obvious the benefit of this “one-to-many” distribution model becomes. Adding a topology-aware distribution tree (the first node sends to the second, the second forwards to the third) can compress the total time further.

    5. Post-Deployment Verification Checklist

    Once the weights and network are ready, run the following checks before going live:

    • Device enumeration: all 32 accelerator chips across the two nodes are online with normal memory usage.
    • Communication bandwidth: run a cross-node all-reduce benchmark and confirm the actual bandwidth matches the nominal value.
    • Model loading: watch the sharded loading logs and confirm each rank loads the expected weight shards.
    • Inference smoke test: run one end-to-end generation with a short prompt and check whether first-token latency and throughput meet expectations.

    6. Summary

    Multi-node large model deployment comes down to three points: automated node onboarding, upfront parameter network validation, and internal-network weight distribution. The nearly 10x speedup of direct node-to-node transfer over public download was the most cost-effective optimization in this practice, while the pre-deployment inter-card connectivity check and per-file verification are the safety nets that keep large-scale parallel jobs stable. Once you have this workflow down, extending it to three nodes, four nodes, or even larger clusters is just linear growth of the member list.