Decoupling Bandwidth and Capacity in 3D DRAM + LPDDR Training Chip Design
This article examines a tiered memory architecture for large-scale MoE training chips that separates hot working storage on near-logic 3D DRAM from cold persistent state on per-card LPDDR. It covers capacity, bandwidth, compute, and interconnect constraints; a coarse-grained simulator and feasibility solver; and engineering practices for avoiding capacity-bandwidth bundling and balancing cost, bandwidth, and capacity at 10K- and 100K-card scales.
1. Problem Background: The “Shoreline” of High-Bandwidth Memory and Capacity-Bandwidth Bundling
For Mixture-of-Experts (MoE) training at scales of tens of thousands or even hundreds of thousands of accelerators, the core competitiveness of a training chip is not only peak compute. It is whether the chip can provide sufficient high-bandwidth working memory and massive persistent state storage at an extreme hardware cost. Traditional planar-packaged high-bandwidth stacked memory is limited by the package shoreline and often bundles capacity with bandwidth: to obtain 6 to 8 TB/s of bandwidth, multiple expensive high-capacity stacks must be stacked, resulting in large amounts of idle capacity and wasted BOM cost.
More importantly, the state in MoE training is naturally tiered. FP32 master weights and AdamW first- and second-order momentum states need long-term persistent storage. The low-precision compute weights, activations, gradients, communication buffers, and temporary workspace of the current micro-batch only need short-term high-bandwidth access. Placing all state in expensive high-bandwidth memory is equivalent to using the most expensive medium for the coldest data. Placing all state in large-capacity low-speed memory would instead leave compute units waiting for data for long periods. Therefore, the reasonable direction is not to continue stacking expensive memory stacks, but to decouple hot-tier working storage from cold-tier state storage.
To avoid misreading the design targets as ready-made product specifications, the values 512 GB, 283 GB/s, 1.8 TB/s, 800 Gb/s, 6 to 8 TB/s, 10,240 cards, and 102,400 cards appearing below are constraint examples or scale baselines. An actual chip should be re-solved according to the target model, parallel strategy, and target step time.
2. Overview of the Tiered Hybrid Memory Architecture
2.1 Hot Tier: Near-Logic Vertically Stacked 3D DRAM
The hot tier uses 3D DRAM vertically stacked on the logic compute die. Its goal is not to pursue extremely large capacity, but to provide on-chip hot-tier working storage with high bandwidth and compact capacity as needed. It should store compute weights quantized to FP4/FP8-like low-precision formats, activations and gradients of the current micro-batch, collective communication buffers, and temporary operator workspace. Because 3D DRAM is close to the logic, bandwidth can scale with the number of stacked layers and interface width. However, capacity should be controlled near the minimum value that satisfies the working set of a single pipeline stage, avoiding payment for idle capacity.
2.2 Cold Tier: Large-Capacity LPDDR per Card
Each card is equipped with 512 GB of large-capacity LPDDR as the persistent-state cold tier, with an example fixed peak bandwidth of 283 GB/s. The cold tier stores FP32 master weights, AdamW momentum and variance states, checkpoint buffers, and quantized shadow weights. Cold-tier bandwidth is not high, but capacity is sufficient. It is suitable for carrying state that may not be fully read and written every step but must persist for a long time. The design focus is to fully overlap cold-tier access with compute and communication, rather than letting optimizer state updates block the main training pipeline.
2.3 Tiered Data Flow and Pipelining
In the forward phase, low-precision weights and activations are read from 3D DRAM. In the backward phase, gradients are generated and temporarily stored in 3D DRAM. In the optimizer phase, FP32 master weights and AdamW states are read from LPDDR; after the update is completed, the new weights are quantized and written back to 3D DRAM. Cold-tier reads and writes should use sharding, asynchronous prefetching, and pipelined write-back to spread the fixed 283 GB/s bandwidth across multiple micro-batches and multiple pipeline stages. If cold-tier updates cannot be fully hidden, mitigation should prioritize state sharding, reducing the update frequency of non-critical states, and increasing checkpoint intervals.
2.4 Interconnect Constraints
Intra-node and inter-node interconnect can be benchmarked against the scale of industry flagship training accelerators: the example intra-node bidirectional aggregate is 1.8 TB/s, corresponding to 900 GB/s per direction; the example inter-node network port is 800 Gb/s per card, corresponding to 100 GB/s per direction. This interconnect capability must match collective communication patterns such as expert-parallel All-to-All and data-parallel All-Reduce. At the 100K-card scale, inter-node communication accounts for a higher share. If interconnect or overlap is insufficient, simply increasing 3D DRAM bandwidth cannot preserve training efficiency.
3. Formal Constraints: Capacity, Bandwidth, Compute, and Communication
Let the target step time be T_step, the total hot-tier read/write bytes per step be V_hot, and the total cold-tier read/write bytes per step be V_cold. Then the minimum 3D DRAM bandwidth and the minimum LPDDR bandwidth are:
- B3d_min = V_hot / T_step
- Blpddr_min = V_cold / T_step
The capacity constraints are:
- C3d >= max_pipeline_stage(low-precision weights + activations + gradients + workspace + communication buffers)
- Clpddr >= FP32 master weights + 2 copies of AdamW states + checkpoint buffers + quantized shadow
The compute constraint uses the roofline model. Let the hot-tier arithmetic intensity be I_hot and the compute efficiency be eta. Then the minimum dense tensor compute is:
- F_min = max(FLOPs_step / T_step, B3d_min × I_hot / eta)
The communication constraint is:
- T_comm = V_comm / B_link × (1 - overlap) <= T_step × comm_budget
Determining whether a candidate architecture is feasible requires simultaneously satisfying capacity, bandwidth, compute, and communication constraints. Whether to match 8 TB/s should not be an a priori goal. Instead, B3d_min should be compared with the candidate bandwidth: if B3d_min is lower than the candidate value and compute, interconnect, and cold-tier throughput all match, there is no need to match 8 TB/s. If B3d_min is higher, priority should be given to reducing hot-tier traffic through quantization, activation recomputation, tensor sharding, and communication overlap before deciding whether to add stacked bandwidth.
4. Coarse-Grained Simulator and Constraint-Solving Flow
The simulator inputs include model parameter count, expert scale, parallel strategy, micro-batch size, sequence length, quantization format, 3D DRAM capacity and bandwidth, LPDDR bandwidth, interconnect bandwidth, tensor compute, and target step time. The outputs include per-step time breakdown, hot-tier and cold-tier traffic, communication overlap rate, storage occupancy headroom, OOM risk, and utilization bottlenecks. The following is illustrative pseudocode:
def feasibility(cfg):V_hot = (cfg.weight_q + cfg.act + cfg.grad +cfg.workspace + cfg.comm_buffer)V_cold = (cfg.weight_fp32 + 2 * cfg.optim_mom +cfg.checkpoint + cfg.shadow)B3d_min = V_hot / cfg.T_stepBlpddr_min = V_cold / cfg.T_stepF_min = max(cfg.flops_step / cfg.T_step,B3d_min * cfg.arithmetic_intensity / cfg.eta)T_comm = cfg.comm_bytes / cfg.link_bw * (1 - cfg.overlap)ok = (cfg.C3d >= V_hot andcfg.Clpddr >= V_cold andcfg.B3d >= B3d_min andcfg.B_lpddr >= Blpddr_min andcfg.F >= F_min andT_comm <= cfg.T_step * cfg.comm_budget)return ok, B3d_min, Blpddr_min, F_min
Through parameter search, four core engineering questions can be answered. First, after breaking capacity-bandwidth bundling, the 3D DRAM capacity, bandwidth, and compute actually required for training are jointly determined by V_hot, V_cold, T_step, and I_hot. Second, when training mainstream large-scale MoE models on 10K-card and 100K-card clusters, the minimum 3D DRAM capacity and bandwidth vary with parallel strategy, micro-batch, sequence length, and expert parallelism, and must be produced by constraint solving rather than guessed. Third, whether to match 8 TB/s depends on whether B3d_min exceeds the candidate bandwidth and whether communication and cold-tier updates have already become bottlenecks. Fourth, the matching dense FP4 tensor compute should use F_min as a lower bound and reserve 10% to 20% engineering headroom so that compute, 3D DRAM bandwidth, and interconnect throughput sit at the same balance point.
5. Engineering Practice Recommendations
During deployment, it is recommended to monitor hot-tier hit rate, cold-tier bandwidth utilization, optimizer pipeline hiding rate, communication overlap rate, OOM headroom, and per-step time breakdown. If the 283 GB/s cold tier becomes the bottleneck in the optimizer phase, it can be mitigated through state sharding, asynchronous write-back, checkpoint sparsification, and micro-batch pipelining. If the 100 GB/s per-direction inter-node bandwidth becomes the bottleneck for expert parallelism, priority should be given to optimizing All-to-All partitioning and compute-communication overlap. In general-purpose cloud environments, container platforms can host parameter-search jobs, object storage can archive simulation results, and logging and monitoring can track long-tail tasks. However, chip architecture conclusions should still be obtained through reproducible simulators and formal constraint solving. The ultimate goal is to let 3D DRAM carry only the hot data that truly needs high bandwidth and let LPDDR carry large-capacity cold state, thereby achieving the optimal balance of cost, bandwidth, and capacity in 10K-card and 100K-card MoE training scenarios.
