Building Large-Scale AI Compute Clusters: Capacity, Delivery, and Inference Scheduling
This article outlines the main engineering and supply-chain constraints involved in building large AI compute clusters, covering power-to-accelerator capacity planning, delivery-cycle estimation, training versus inference resource allocation, heterogeneous cluster operations, deployment checklists, and risk mitigation.
1. Background of Scale Expansion
Training and inference workloads for large models continue to grow, and a single server can no longer meet the demand. The industry commonly uses compute clusters composed of multiple machines and multiple accelerators, connecting large numbers of accelerator units through high-speed networks and managing them with a unified scheduling system. As cluster scale increases, there is more room to amortize the fixed costs per unit of compute, but construction difficulty also rises significantly. Scale expansion mainly introduces four types of challenges: power and cooling, network interconnect, storage throughput, and the delivery capacity of the upstream supply chain.
2. Converting Accelerator Count into Power Capacity
When planning a large data center, the available power capacity is usually determined first, and the number of deployable accelerator units is then derived from it. The basic calculation is as follows:
IT load = average power per accelerator × number of accelerator units + additional power for servers, networking, and storageTotal facility power = IT load × PUE
PUE (Power Usage Effectiveness) is the ratio of total data center power consumption to IT equipment power consumption. The closer the value is to 1, the higher the energy efficiency.
Assume a cluster deploys 100,000 accelerator units, with average power per accelerator estimated at 1 kW. This is only an assumption for ease of calculation; actual planning must use the specifications of the specific devices. The accelerator units alone require about 100 MW. If additional power is estimated at 20% of accelerator power, the IT load is about 120 MW. With a PUE of 1.2, total facility power is about 144 MW.
Gigawatt-scale campuses are usually built by stacking multiple modules of this kind, and they also require planning for substations, transmission and distribution lines, and backup power. Power is a hard constraint. Even if the hardware has arrived, the cluster cannot go live without a stable power supply.
3. Supply-Side Capacity Constraints and Delivery Cycles
The delivery pace of a compute cluster is often determined by upstream stages. Common bottlenecks include the following:
- Advanced-node wafer capacity: wafer fabrication cycles last for months, and capacity expansion takes even longer.
- Advanced packaging capacity: the integration of compute chips and high-bandwidth memory often becomes a factor limiting shipments.
- High-bandwidth memory and other key components: when supply and demand are tight, even if the accelerator design is complete, full-system assembly may not proceed on schedule.
- Board assembly, testing, and yield: yield fluctuations directly affect the actual deliverable quantity.
Delivery time can be estimated with a rough model:
Theoretical delivery period (months) = total order quantity ÷ monthly deliverable capacityActual delivery period ≈ theoretical delivery period ÷ (1 - share of capacity used by other customers) + logistics and acceptance time
The following pseudocode implements this estimation logic:
function estimate_delivery(order_qty, monthly_capacity, other_demand_ratio, logistics_months):available = monthly_capacity * (1 - other_demand_ratio)if available <= 0:return "Insufficient capacity; cannot estimate"months = order_qty / availablereturn months + logistics_months
Assume an order quantity of 200,000 units, monthly capacity of 30,000 units, 20% of capacity used by other customers, and 1 month for logistics and acceptance. Available monthly capacity is 24,000 units. The estimated delivery time is about 8.3 months, or about 9.3 months after adding logistics and acceptance.
This model can only provide an order-of-magnitude estimate. Real schedules are also affected by priority allocation, export approvals, and contract terms, which need to be confirmed item by item with the supplier.
4. Compute Allocation for Training and Inference
Training and inference have clearly different requirements for hardware and software:
| Dimension | Training | Inference |
|---|---|---|
| Core metric | Total throughput and model convergence speed | Response latency, concurrency, and cost per token |
| Interconnect requirements | Large-scale synchronous communication, sensitive to bandwidth and latency | Most workloads can be split by service, with lower interconnect requirements |
| Software requirements | Distributed training frameworks and parallel strategies | Inference engines, batching, and caching strategies |
| Availability focus | Fault detection and checkpoint recovery | Service high availability and elastic scaling |
An accelerator type may technically support training, but that does not mean it can be used directly for training. Evaluation needs to check operator coverage, framework compatibility, numerical precision, and long-running stability. Many teams first migrate inference workloads to new hardware, accumulate operational experience, and then move training tasks to reduce risk.
5. Engineering Challenges of Heterogeneous Clusters
When a cluster is composed of multiple accelerator types, the following issues need to be addressed:
- Unified resource abstraction and scheduling: use a container platform or job scheduler to hide underlying hardware differences, so that upper-layer applications can request compute by resource pool.
- Model format and operator adaptation: establish a model conversion process, run precision regression tests on key operators, and confirm that output results are within an acceptable error range.
- Benchmarking: measure throughput, latency, and unit cost under real business workloads, rather than relying only on theoretical peak metrics.
- Monitoring and logging: collect hardware temperature, utilization, and error counts in a unified way, integrate them into the monitoring and alerting system, and retain traceable logs.
6. Deployment Checklist
- Power: confirm transformer capacity, backup power, and the path for future expansion.
- Cooling: choose air cooling or liquid cooling based on per-rack power, and calculate cooling capacity headroom.
- Network: plan the topology, bandwidth oversubscription ratio, and fault domain isolation to avoid a single point of failure affecting the entire cluster.
- Storage: the throughput of object storage and parallel file systems must match the compute side; otherwise, data reads will slow down accelerator utilization.
- Software stack: verify version compatibility among drivers, frameworks, and inference engines, and pin critical versions.
- Delivery terms: sign clear delivery milestones and agree on how delays will be handled and what acceptance criteria will apply.
7. Risks and Mitigation
A single supply source is the most common risk. The following measures can reduce the impact:
- Prepare at least two alternatives for key components and reserve engineering time for adaptation.
- Adopt phased rollout: complete small-scale validation first, then expand in batches.
- Keep a rollback path for model migration to avoid service interruption caused by software issues.
- Include delivery delays in capacity planning, and have the business side lock resource requirements in advance to reduce the pressure caused by last-minute orders.
8. Summary
Whether a large-scale compute cluster can be built smoothly depends on three conditions being met at the same time: whether power and site conditions can support the target scale, whether the supply chain can deliver on schedule, and whether the software stack can run stably. A relatively reliable path is to first use rough models to verify feasibility during planning, and then gradually reduce risk through benchmarking and phased rollout.
