3D DRAM + LPDDR Hybrid Memory Training Chip Design for MoE Models
This article presents a training chip design that separates hot and cold memory tiers for large-scale Mixture-of-Experts (MoE) workloads. Instead of buying capacity and bandwidth as a fixed bundle, the design pairs on-chip 3D DRAM stacked on the logic die for high-bandwidth working memory with 512 GB of local LPDDR for persistent optimizer state. It explains the data tiering rule, sizing guidance for 3D DRAM capacity, bandwidth, and compute, the interconnect limits at 10,000- and 100,000-card scale, and the software stack and validation approach needed to make the architecture work.
3D DRAM + LPDDR Hybrid Memory Training Chip Design
1. The Core Problem: Bandwidth and Capacity Are Sold as a Bundle
When building in-house training chips for MoE models at 10,000- or even 100,000-card scale, the commercial outcome is not decided by peak compute. It is decided by how much usable high-bandwidth working memory you can buy per unit of cost. Conventional high-bandwidth stacks are constrained by the shoreline on the package substrate, plus power and thermal limits, so capacity and bandwidth are sold at a roughly fixed ratio: to get 6-8 TB/s of bandwidth, you must stack several large-capacity stacks, which leaves much of the capacity idle and wastes BOM cost.
The approach discussed here separates the hot tier from the cold tier completely. Near-logic 3D DRAM, stacked vertically on top of the logic compute die, provides compact-capacity, extremely high-bandwidth on-chip working memory. Each card also gets 512 GB of local high-capacity low-power DRAM (LPDDR, with a fixed peak bandwidth of 283 GB/s) as the persistent state tier. Intra-node interconnect totals 1.8 TB/s bidirectionally (900 GB/s per direction), and each card has an 800 Gb/s network port off-node (100 GB/s per direction), matching the interconnect specs of current mainstream flagship training platforms.
2. Data Tiering Principle: What Goes to 3D DRAM and What Stays in LPDDR
There is only one criterion for tiering: data that participates in every matrix multiply goes to the hot tier; data that is read and written only during optimizer updates goes to the cold tier.
- Hot tier (3D DRAM): low-precision compute weights quantized with NVFP4/FP8, activations for the current micro-batch, and gradients produced by backpropagation.
- Cold tier (LPDDR, 512 GB): FP32 master weights, and the first and second moments of AdamW.
The benefit is that the difference in access frequency is absorbed by the hardware hierarchy: data touched by the forward and backward passes on every step stays on the shortest path, while optimizer state is read and written only once per step, for which 283 GB/s is fully sufficient.
Illustrative memory budget code (expressing constraints only, not a concrete implementation):
# Per-card memory budget (illustrative)V_hot = W_low + A + G # Hot tier: low-precision weights + activations + gradientsV_cold = 4 * W_fp32 # Cold tier: master weights + momentum + variance (one FP32 copy each)assert V_hot <= CAP_3DDRAMassert V_cold <= 512e9# Cold-tier bandwidth constraint: state must be read and written at least once per stepassert 4 * W_fp32 * 2 / BW_LPDDR <= t_step
3. Quantitative Answers to Four Core Engineering Questions
3.1 How Much 3D DRAM Capacity Is Needed
A design window of 8-16 GB of hot-tier memory per card is reasonable: MoE activations and routing buffers grow linearly with micro-batch size and expert parallelism, while low-precision weights are split into small per-card shards after thousand-card-scale tensor parallelism. Once capacity falls below the activation peak, the design is forced into recomputation or spilling, which directly consumes compute.
3.2 How Much Bandwidth Is Needed: No Need to Match 8 TB/s
The key insight is arithmetic intensity. Let B be the number of bytes each card must move from the hot tier per step; the bandwidth floor is BW_min = B / t_step. With 4-bit weights and micro-batch activations, most MoE configurations land in the 2-4 TB/s range, which is enough to keep the tensor cores from stalling. Pushing blindly to 8 TB/s yields rapidly diminishing marginal returns, because the bottleneck shifts to All-to-All expert routing and cold-tier optimizer updates.
3.3 How Much Compute Is Needed
Compute demand is determined by FLOPs ≈ 6 × N_active × D (N_active is the number of activated parameters per token). The peculiarity of MoE is a large total parameter count with a small activated count, so compute is provisioned against activated parameters and capacity against total parameters — exactly where the conventional bundled architecture is least economical.
3.4 The Baseline at 10,000 and 100,000 Cards
- 10,000 cards (10,240): 8 GB hot tier per card, 2.5 TB/s bandwidth, and 900 GB/s per direction intra-node can support expert parallelism; a 512 GB cold tier is enough to hold the sharded FP32 state.
- 100,000 cards (102,400): the 100 GB/s per-card off-node bandwidth becomes the dominant constraint, so expert parallelism must be confined within the node and topology-aware routing used to reduce cross-node All-to-All. The hot tier can drop to 6-8 GB but should not go lower.
4. Software Stack Co-Design and Validation Method
Whether the architecture holds depends on three things working together: quantization-aware training that makes 4-bit weights usable; paged optimizer scheduling that overlaps cold-tier updates with computation; and topology-aware expert placement that reduces cross-node traffic. A coarse-grained system simulator plus formal constraint solving is a reasonable validation path: first use an analytical model to sweep the (capacity, bandwidth, compute) feasible region, then use a constraint solver to prove upper and lower bounds on per-step time, and finally run small-scale regression on a real cluster. A common general practice at Baidu AI Cloud in similar scenarios is to run this kind of simulation and stress testing on an elastic container platform and object storage, iterating in a closed loop with a monitoring and alerting system.
5. Conclusion
Once the constraint that high bandwidth must be bundled with large capacity is broken, the design goal of a training chip shifts from stacking more hardware to tiered matching: 3D DRAM buys only bandwidth and compact capacity, LPDDR buys only capacity, and interconnect is allocated according to topology. The conclusion is clear — 8 TB/s is not needed. A 2-4 TB/s hot tier combined with a 512 GB cold tier can preserve MoE training efficiency at both 10,000- and 100,000-card scale, while pushing memory BOM into a sustainable range.
