Challenges and Technical Practices in Deploying Ultra-Large-Scale Chinese-Made AI Accelerator Clusters
This article examines the main challenges of deploying ultra-large-scale clusters built on Chinese-made AI accelerators. It covers power, cooling, and network design for gigawatt-scale data centers, supply constraints on chips and high-bandwidth memory, a hybrid strategy that trains on imported accelerators and runs inference on domestic chips, and software adaptation work such as operator porting, compiler optimization, distributed inference, and topology-aware scheduling. Readers get an overview of the engineering trade-offs involved and the outlook for the industry.
As the parameter counts and training data volumes of large language models (LLMs) grow exponentially, building large-scale compute clusters has become core infrastructure for artificial intelligence. Because imported high-end AI chips are subject to strict export controls, shifting to domestic computing platforms has become an inevitable choice for AI companies in China.
Recently, a leading Chinese AI company planned to build a gigawatt-scale data center in a region with a suitable climate. The plan calls for deploying more than 160,000 new-generation domestic AI accelerators, aiming to create the largest domestic AI chip cluster known to date. The move is an important milestone for computing self-reliance. It also exposes multiple challenges for ultra-large-scale domestic deployment in infrastructure, supply chains, architecture design, and software adaptation.
1. Gigawatt-Scale Data Center Planning and Energy Management
The first challenge for an ultra-large-scale compute cluster lies in infrastructure. A gigawatt-scale data center housing 160,000 accelerators would draw power at full load comparable to the total electricity demand of several hundred thousand households. When selecting and building such a data center, the following technical areas require particular attention:
- Power supply and cooling system design: Traditional air cooling cannot meet the heat dissipation needs of racks drawing tens of kilowatts each. The cluster must adopt liquid cooling throughout, such as cold-plate or immersion liquid cooling, to keep power usage effectiveness (PUE) under control. The site also needs highly redundant substations and uninterruptible power supply (UPS) systems to keep training and inference workloads running during grid fluctuations.
- High-bandwidth network topology: Interconnecting 160,000 accelerators places strict demands on the network architecture. A multi-tier Spine-Leaf architecture is typically used, combined with high-performance network protocols such as RoCEv2 or InfiniBand, to deliver microsecond-level latency and terabit-per-second (Tbps) throughput between nodes. Traffic scheduling across racks and clusters requires precise congestion control algorithms.
- Modular design and phased delivery: Because of the cluster’s size, construction is typically modular. A single phase may deploy only part of the racks. Capacity that has not yet been assigned a specific chip model should include flexible power and space interfaces, so that heterogeneous compute resources can be added later.
2. Supply Chain Bottlenecks and Delivery Expectations
Behind the ambitious plan, supply chain constraints are the biggest practical obstacle to rapid deployment. Even the most advanced domestic AI chips face considerable uncertainty in large-scale delivery:
- Production capacity limits and component shortages: Chip manufacturing involves many steps, not just one. Global supply chain volatility, especially the shortage of high-end components such as high-bandwidth memory (HBM), often limits annual output of domestic chips to a few hundred thousand units. An order of more than 160,000 chips could therefore take over a year to fulfill.
- Competing demand: Besides large customers’ bulk purchases, chip vendors must also serve other ecosystem customers and a small number of export orders. Managing this allocation means project builders must leave enough schedule buffer in their plans.
- Coordination across the full supply chain: To ease delivery pressure, companies often seek coordination at a higher level. Policy guidance can help prioritize capacity for key compute chips at upstream wafer foundries, packaging and testing providers, and memory manufacturers.
3. A Hybrid Architecture That Separates Training and Inference
During the current transition, when domestic chip performance is approaching that of the previous generation of mainstream imported architectures, many companies use a hybrid strategy: training runs on imported accelerators, and inference runs on domestic chips. This separation reflects several important engineering considerations:
- Demanding training requirements: Large model training places very high demands on cluster interconnect bandwidth, memory capacity, and the maturity of the underlying operator libraries. At this stage, some companies still rely on their own imported-chip clusters or overseas cloud compute to meet training needs and keep iteration speed high.
- Scale advantages in inference: Model inference, especially batch inference, is less sensitive to peak per-accelerator compute than training. It places more weight on overall throughput, concurrency, and total cost of ownership (TCO). A domestic inference cluster of 160,000 accelerators can handle large numbers of concurrent user requests and achieve strong economies of scale.
- Heterogeneous compute scheduling: Moving trained models smoothly onto domestic inference clusters is central to this architecture. It requires a unified model repository and version management, along with standardized APIs that route inference requests to the appropriate underlying hardware.
4. Model Adaptation and Hardware-Software Co-Optimization
To get the most out of domestic accelerators, developers must adapt and optimize the software stack in depth, aligning hardware characteristics with algorithm requirements.
4.1 Operator Library Adaptation and Compiler Optimization
Mainstream domestic LLM frameworks, including derivatives of PyTorch, need their low-level C++ or CUDA operators rewritten so they map to the domestic chip’s instruction set. Modern domestic chips typically come with hardware-aware compilers. Developers can apply graph optimization techniques to fuse redundant nodes in the computation graph, which reduces memory access overhead.
4.2 Distributed Inference and Memory Optimization
In clusters of around 100,000 accelerators, the memory of a single accelerator often cannot hold very large models, such as those with hundreds of billions of parameters. Tensor parallelism (TP) and pipeline parallelism (PP) split the model across multiple accelerators. Techniques such as PagedAttention address memory fragmentation in the KV cache, which substantially increases the number of concurrent requests a deployment can serve.
The following pseudocode shows a general multi-accelerator distributed inference configuration, illustrating how to initialize and schedule a domestic accelerator cluster:
import torchimport custom_accelerator_api # Generic accelerator runtime interface# 1. Initialize the distributed environment and specify a custom high-performance communication backendcustom_accelerator_api.init_process_group(backend="custom_hccl")# 2. Load the model and configure the distributed inference strategy# Use tensor parallelism (TP) to split the model weightsmodel = load_pretrained_model(model_path="llm_weights/",tensor_parallel_size=8, # Tensor parallelism across 8 accelerators on a single nodepipeline_parallel_size=2 # Pipeline parallelism across nodes)# 3. Move the model to the accelerators on the current nodemodel.to(custom_accelerator_api.current_device())# 4. Enable continuous batching to improve throughputengine = create_inference_engine(model=model,max_batch_size=256,enable_paged_attention=True)# 5. Process concurrent inference requestsresponses = engine.generate(prompts=["Technical practice...", "Model inference..."])
4.3 Communication and Topology-Aware Scheduling
The interconnect topology of domestic accelerator clusters, whether based on PCIe or proprietary high-speed interconnect protocols, differs from imported solutions. Developers should use topology-aware scheduling algorithms to place communication-intensive tasks on physically nearby nodes. This reduces cross-switch communication and lowers latency caused by network congestion.
5. Industry Landscape and Outlook
The Chinese AI industry takes a diverse approach to compute access. Some large internet companies prefer to buy imported high-end chips in large volumes where policy allows, and some even rent overseas compute to work around restrictions. Most domestic AI companies, encouraged by official policy, are steadily pursuing domestic replacement. Cloud providers such as Baidu AI Cloud continue to improve their heterogeneous compute platforms, offering flexible compute scheduling and infrastructure services to the industry.
Looking ahead, building ultra-large-scale domestic chip clusters is more than a short-term response to export controls. It is a necessary path toward a self-controllable AI ecosystem. As domestic chips make progress in single-chip compute, memory bandwidth, and interconnect technology, and as software stacks mature, the move from 10,000-accelerator clusters to 100,000-accelerator and eventually million-accelerator clusters should become smoother. Companies that build technical advantages across infrastructure planning, supply chain management, architecture design, and hardware-software co-optimization will be better placed to compete in the increasingly intense race to develop large AI models.
