10k-GPU Training Chip Design: A 3D DRAM and LPDDR Tiered Architecture

    This article explores the architectural design of custom training chips for large-scale Mixture of Experts (MoE) model training. It proposes a tiered memory architecture that decouples high bandwidth from large capacity, utilizing near-logic 3D DRAM for a compact hot layer and high-capacity LPDDR for a persistent cold layer. The article provides quantitative modeling for capacity, bandwidth, and FP4 compute density, along with software stack coordination and engineering constraints for 10k to 100k GPU cluster scales.

    1. Problem Background: Decoupling High Bandwidth from Large Capacity

    For training Mixture of Experts (MoE) models at scales of 10,000 to 100,000 GPUs, the core competitiveness of a custom training chip lies not merely in peak compute capacity, but in its ability to provide “adequate high-bandwidth working memory” and “massive persistent state storage” at controllable hardware costs. Traditional high-bandwidth memory (HBM), constrained by planar die-edge (coastline) limits, often bundles capacity with bandwidth: achieving multi-TB/s bandwidth requires stacking multiple high-capacity memory stacks, leading to idle capacity and BOM waste.

    In MoE training, the frequently accessed data includes low-precision weights, activations, gradients, and communication buffers for the current micro-batch. Conversely, FP32 master weights, optimizer momentum, and variance states are low-frequency but high-capacity, making them ideal for a large-capacity cold layer.

    Therefore, the design goal should shift from “stacking maximum bandwidth” to “decoupling bandwidth from capacity.” A compact, high-bandwidth on-chip hot layer can be achieved using near-logic 3D DRAM vertically stacked on the compute die, while a persistent cold layer can be provisioned using high-capacity LPDDR per card. Through quantization, asynchronous prefetching, recomputation, and communication overlap, the hot layer can be kept at a reasonable scale.

    2. Tiered Hybrid Memory Architecture

    2.1 Hot Layer: Near-Logic 3D DRAM
    By utilizing vertical stacking, 3D DRAM bypasses planar coastline limitations, ensuring bandwidth is no longer linearly bound to capacity. The hot layer stores only the data essential for the current training step: FP4 or FP8 quantized compute weight shards, current micro-batch activations, gradient shards, reduction buffers, and communication scratchpads. Its capacity should be determined by “peak dynamic activation upper bound + quantized weights + gradients + safety margin,” rather than the total parameter count of the model.

    2.2 Cold Layer: High-Capacity LPDDR
    Each card is equipped with 512 GB of LPDDR, providing a fixed peak bandwidth of 283 GB/s to act as the persistent state cold layer. FP32 master weights and AdamW first-order momentum and second-order variance reside permanently in LPDDR. During the parameter update phase, data is read and written per shard, while latency is hidden via asynchronous prefetching during other phases. Given the limited bandwidth of the cold layer, the scale of the local parameter shard per card or the frequency of full state updates must be constrained, utilizing techniques like gradient accumulation, sharded updates, and checkpoint merging.

    2.3 Data Flow and Quantization Coordination
    Forward and backward computations use low-precision weights and activations from the hot layer. After gradient reduction, data is written to the hot layer buffer, then transferred to the cold layer as needed to update the FP32 master weights and optimizer states. Quantization errors are bounded by maintaining the master weights in high precision, leaving the hot layer to handle only the compute state. Intra-node interconnect targets 1.8 TB/s bidirectional (900 GB/s unidirectional), while inter-node targets 800 Gb/s per card (100 GB/s unidirectional) to support expert parallel All-to-All and data parallel gradient synchronization.

    3. Quantitative Modeling of Four Core Engineering Problems

    3.1 How much 3D DRAM capacity is required?
    The capacity floor is determined by the hot working set:
    C_hot >= W_q + A_peak + G_hot + Comm_buf + Safety
    Where W_q is the local quantized weight shard, A_peak is the peak activation of the current micro-batch, G_hot is the hot layer gradient shard, and Comm_buf is the communication buffer. With activation recomputation, A_peak typically covers only a few layers rather than the entire network. Engineers should first use a simulator to search the Pareto frontier of micro-batch size, sequence length, expert parallelism, and recomputation strategies. A common conclusion is that the hot layer capacity should fall within a compact range of “tens of GBs to low hundreds of GBs,” rather than matching the cold layer capacity.

    3.2 How much 3D DRAM bandwidth is required?
    Bandwidth demand should not be a priori set to 8 TB/s, but rather derived from the actual bytes transferred per step and the target step time:
    B_hot >= Bytes_hot / T_step
    Validated by Roofline constraints: P_compute / B_hot <= AI_target. If the MoE expert micro-batch is small and weight reuse is low, higher bandwidth is required. If arithmetic intensity is increased through expert parallelism, batch merging, and asynchronous prefetching, a hot layer bandwidth of a few TB/s is sufficient to support target efficiency. Whether to match 8 TB/s should be answered by the end-to-end step time model, not dictated by memory stack specifications.

    3.3 What should the dense FP4 compute capacity be?
    Compute capacity should match the hot layer bandwidth and target arithmetic intensity:
    P_FP4 approx B_hot * AI_target
    Under exemplary constraints, if the single-card hot layer bandwidth is 2 to 4 TB/s and the target arithmetic intensity is 200 to 400 FLOP/Byte, the dense FP4 compute capacity falls roughly in the range of 0.4 to 1.6 PFLOP/s, leaving margins for target MFU, communication overhead, and cold layer update costs. The final decision should be based on the “capacity-bandwidth-compute” Pareto surface output by the simulator.

    3.4 Baselines for 10k and 100k Card Clusters
    At scales of 10,240 and 102,400 cards, the capacity floor is determined by the single-card hot working set upper bound, the bandwidth floor by the overlap degree of hot layer transfers and compute, and the compute floor by global target throughput divided by card count and effective utilization. At the 100k card scale, the inter-node 100 GB/s unidirectional bandwidth becomes a critical constraint for expert parallelism, necessitating hierarchical All-to-All, communication sharding, and compute-communication overlap. The cold layer’s 283 GB/s bandwidth constrains the local parameter shard update frequency: N_local <= B_cold * T_step / Bytes_opt, otherwise optimizer state updates will become a step time bottleneck.

    4. Formal Constraints and Solver Pseudocode

    1. def estimate_hot_layer(N_local, quant_bits, tokens, hidden, layers_hot, bytes_act, P_FP4, B_hot, B_cold, B_net, comm_bytes):
    2. # Local quantized weight shard
    3. W_q = N_local * quant_bits / 8
    4. # Peak activation for recomputed layers
    5. A_peak = tokens * hidden * layers_hot * bytes_act
    6. G_hot = W_q
    7. C_req = W_q + A_peak + G_hot + comm_bytes + safety
    8. T_compute = flops_per_step / P_FP4
    9. T_hot = bytes_hot / B_hot
    10. T_cold = bytes_cold / B_cold
    11. T_net = comm_bytes / B_net
    12. T_step = max(T_compute, T_hot, T_cold, T_net)
    13. return C_req, T_step

    When solving, a joint search should be conducted across micro-batch size, expert parallelism degree, quantization bit-width, recomputed layer count, cold layer update frequency, and intra/inter-node sharding strategies. The goal is to make T_compute the primary bottleneck, while T_hot, T_cold, and T_net are fully hidden.

    5. Software Stack Coordination and Implementation Recommendations

    The software stack must provide a unified tiered memory allocator, on-demand de-quantization of weights, sharded cold layer state updates, asynchronous prefetch double buffering, activation recomputation, compute-communication overlap, and cold layer checkpoints for fault recovery. The training framework should treat “hot layer capacity/bandwidth” as a first-class scheduling constraint: automatically reducing the micro-batch size or increasing recomputation when activations exceed limits; adjusting sharded update frequency when cold layer updates time out; and prioritizing adjustments to the expert parallelism topology when inter-node bandwidth is insufficient.

    Conclusion

    For 10k-GPU MoE training, the key to the 3D DRAM + LPDDR tiered architecture is not to match the peak numbers of traditional HBM, but to gain cost advantages by decoupling capacity from bandwidth, finding the optimal match across capacity, bandwidth, compute, and interconnect through constraint solving. 3D DRAM should maintain a compact hot working set, while LPDDR handles massive persistent states. Whether the bandwidth reaches 8 TB/s or how much FP4 compute is allocated should be determined by the end-to-end step time model and simulator Pareto frontier, rather than being reverse-engineered from a single memory specification.