Hybrid Storage Chip Architecture for 10,000-GPU MoE Training
This article explores a hybrid storage chip architecture designed to optimize bandwidth and capacity for large-scale Mixture-of-Experts (MoE) model training across 10,000 GPUs. By separating working data from state data into hot and cold storage tiers, the architecture addresses the over-provisioning issues of traditional HBM. It details the basic structure of tiered storage and provides methodologies for calculating both capacity and bandwidth baselines.
1. Why Bandwidth and Capacity are Tied Together
When training MoE models, each accelerator must simultaneously accommodate two types of data. The first is working data, including low-precision compute weights, activations, and gradients for the current micro-batch. These are read and written during every micro-batch, making them highly sensitive to bandwidth. The second is state data, including high-precision master weights, as well as the first-order momentum and second-order variance of the optimizer. These are updated only once per training step, requiring less bandwidth but consuming significant capacity.
Traditional High Bandwidth Memory (HBM) places both types of data in the same pool. This is because, in planar packaging, the available physical interface length on the chip edge—often referred to as the “shoreline”—is limited. The number of interfaces determines how many data channels can be connected, and the per-channel rate is constrained by signal integrity. To achieve an aggregate bandwidth of 6 to 8 TB/s, multiple stacked memories must be attached, with each stack carrying a fixed capacity. As a result, when the bandwidth requirement is met, the capacity is simultaneously over-provisioned. The excess capacity beyond training requirements becomes an idle asset and drives up the per-card BOM (Bill of Materials) cost.
Therefore, the question can be reframed: Can high bandwidth serve only the frequently accessed data, while large capacity is reserved for sparsely accessed state data?
2. Basic Structure of Tiered Storage
This solution involves two storage tiers.
The hot tier utilizes near-logic 3D DRAM. The memory chips are vertically stacked near the compute chip, offering short data paths and high bandwidth per unit area. The trade-off is that capacity is limited by the number of stacking layers, heat dissipation, and yield, making it unsuitable for unlimited scaling.
The cold tier uses 512 GB of LPDDR per card. It offers a lower cost per unit capacity, making it ideal for large-capacity storage, but its peak bandwidth is significantly lower than that of the hot tier. In this article, we assume a fixed peak bandwidth of 283 GB/s.
Data placement follows one rule: the more frequently accessed and lower precision data is, the closer it should be to the compute unit; the more sparsely accessed and higher precision data is, the more it should be placed in the cold tier.
| Data Type | Access Frequency | Recommended Precision | Placement Location |
|---|---|---|---|
| Low-precision compute weights | Read per micro-batch | FP4 or FP8 | Hot tier 3D DRAM |
| Current micro-batch activations | Read/write per micro-batch | Per operator requirements | Hot tier 3D DRAM |
| Gradient buffer | Per micro-batch | Per operator requirements | Hot tier 3D DRAM |
| High-precision master weights | Updated once per training step | FP32 | Cold tier LPDDR |
| Optimizer 1st/2nd moments | Updated once per training step | FP32 | Cold tier LPDDR |
Low-precision weights are quantized from the master weights during each training step. During quantization, FP32 master weights must be read from the cold tier and written back to the hot tier. This traffic must be accounted for in the bandwidth budget, rather than just tallying the internal read/writes of the hot tier.
3. How to Calculate Capacity Baseline
Hot tier capacity consists of four parts:
C_hot ≥ W_lp,resident + A_peak + G_buf + B_comm
- W_lp,resident: Low-precision weights residing on the card simultaneously, depending on the expert shards the card must hold under the parallelization strategy.
- A_peak: Peak activation during backpropagation, related to micro-batch size, sequence length, and recomputation strategy.
- G_buf: Gradient buffer, including temporary space required for bucketed reduction.
- B_comm: Communication buffer, used for data distribution and merging in expert parallelism.
Cold tier capacity is mainly determined by the training state:
C_cold ≥ (4 + 4 + 4) × P / S
Where P is the total number of parameters participating in training, and S is the number of sharding ways for the optimizer state.
The following code calculates the baseline values for both capacity types:
FP32_BYTES = 4STATE_BYTES_PER_PARAM = 3 * FP32_BYTES # Master weights, 1st-order momentum, 2nd-order variancedef cold_state_bytes_per_card(total_params: float, shard_ways: int) -> float:"""Cold tier: FP32 master weights and AdamW state usage per card (bytes)."""return STATE_BYTES_PER_PARAM * total_params / shard_waysdef lowprec_weight_bytes_per_card(params_resident: float, bits: int) -> float:"""Hot tier: Simultaneously resident low-precision weight usage (bytes)."""return params_resident * bits / 8if __name__ == "__main__":P = 1e12 # Assume total parameters is 1 trillion, for arithmetic example onlyN = 10240 # 10,000-GPU scaleprint(f"Cold tier state/card: {cold_state_bytes_per_card(P, N) / 1e9:.2f} GB")
If the optimizer state is evenly sharded across all 10,240 cards, the cold tier state per card is approximately 1.17 GB, far below 512 GB. This indicates that the cold tier has a large capacity margin, and the state itself is not a capacity bottleneck.
This conclusion relies on the full-sharding assumption. If the state is only sharded within data parallelism groups, or if each card retains a full replica, the demand will multiply according to the parallel group size, and the 512 GB margin could be exhausted quickly. Therefore, the capacity baseline must be calculated based on the specific parallel layout, rather than directly applying the above figures.
The capacity pressure on the hot tier typically comes from the activation peak and simultaneously resident expert weights. Recomputation can significantly reduce A_peak, but it increases the forward computation, and this cost must be accounted for in the compute budget.
4. How to Calculate Bandwidth Baseline
Bandwidth demand has two sources.
1. Compute-memory access demand
We adopt the Roofline model. Let the peak compute be P_peak, and the effective arithmetic intensity be I_eff (in FLOP/Byte). In the memory-bound region, the effective compute is approximately B × I_eff. To ensure compute is not bottlenecked by bandwidth, the following must be satisfied:
B ≥ P_peak / I_eff
I_eff depends on the degree of operator fusion, matrix shape, and data reuse methods. It is not a hardware parameter and must be derived from simulation or real-world testing.
Example: If P_peak is 1 PFLOP/s and I_eff is 500 FLOP/Byte, approximately 2 TB/s of bandwidth is required. If I_eff drops to 200 FLOP/Byte, approximately 5 TB/s is required. A small change in arithmetic intensity causes a massive shift in bandwidth demand. This is why the question “must we reach 8 TB/s” cannot be answered without simulation.
2. State transfer demand
During each training step, the optimizer needs to read and write back the master weights and the two momenta. The cold tier traffic per card is approximately 2 × 12 × P / N bytes.
Taking P as 10,000…
