Designing a 3D DRAM + LPDDR Hybrid Memory Architecture for Training Chips

    This article presents a hybrid memory architecture that combines near-logic 3D DRAM with high-capacity LPDDR for AI training chips targeting 10,000- to 100,000-GPU Mixture-of-Experts (MoE) workloads. It explains why traditional high-bandwidth memory bundles capacity with bandwidth due to package shoreline limits, and how decoupling these two variables reduces BOM cost. The design dedicates compact, high-bandwidth 3D DRAM to the hot data layer while using 512 GB of LPDDR at 283 GB/s as a persistent cold layer for FP32 master weights and AdamW optimizer states. It also details a quantitative design method based on system simulation and constraint solving to size memory capacity, bandwidth, compute, and interconnect, along with key engineering trade-offs around quantization and computation-communication overlap.

    3D DRAM + LPDDR Hybrid Memory Architecture for Training Chips

    1. The Problem: Why High Bandwidth Is Always Bundled with High Capacity

    When designing a custom training chip for Mixture-of-Experts (MoE) models at the scale of 10,000 to 100,000 GPUs, the sharpest business question is not peak compute. It is how to deliver enough high-bandwidth working memory and massive state storage at an acceptable cost.

    Traditional high-bandwidth memory is constrained by the package shoreline: each stack occupies a limited length of the package edge, and bandwidth scales roughly linearly with the number of stacks. As a result, capacity and bandwidth are sold as a bundle. To reach 6–8 TB/s of bandwidth, you must stack multiple high-capacity memory stacks, much of whose capacity sits idle during training and directly inflates the BOM.

    MoE training amplifies this conflict. The total parameter count is enormous, yet each token activates only a few experts, so the “hot data” needed for computation is far smaller than the full model state. This produces a clear tiered structure:

    • Hot layer: activations, gradients, and low-precision compute weights for the current micro-batch. It demands extreme bandwidth but relatively compact capacity.
    • Cold layer: FP32 master weights and optimizer momentum and variance states. It requires huge capacity, is accessed infrequently, but must remain persistent and reliable.

    2. Overall Architecture: Near-Logic 3D DRAM + High-Capacity LPDDR

    The core idea is to break the “high bandwidth must be bundled with high capacity” constraint and build a tiered hybrid memory system:

    1. Near-logic 3D DRAM: stacked vertically on top of the logic compute die, delivering high bandwidth through high-density vertical interconnects. Capacity is configured compactly as needed and serves only the hot layer.
    2. Local LPDDR: each card is equipped with a fixed 512 GB at a peak bandwidth of 283 GB/s, serving as the persistent cold layer that stores FP32 master weights and AdamW momentum and variance states.
    3. Quantization boundary: 3D DRAM holds only compute weights quantized to NVFP4 (or FP8), along with the current micro-batch’s activations and gradients.

    The data path can be illustrated as follows:

    1. LPDDR (cold layer, 512GB, 283GB/s)
    2. │ Persistent storage of master weights / momentum / variance
    3. ▼
    4. [Quantization / dequantization + state update]
    5. │
    6. ▼
    7. 3D DRAM (hot layer, high bandwidth, compact capacity)
    8. │ Low-precision weights / activations / gradients
    9. ▼
    10. Tensor Core compute array

    The interconnect specs target current mainstream training clusters: 1.8 TB/s bidirectional aggregate within a node (900 GB/s per direction), and an 800 Gb/s network port per card across nodes (100 GB/s per direction).

    3. A Quantitative Design Method: Answering Four Questions with Simulation and Constraint Solving

    Design cannot rely on intuition. It requires a closed loop of a coarse-grained system simulator plus formal constraint solving. The four core questions and their methods are as follows.

    3.1 How Much 3D DRAM Capacity Is Needed

    Using single-card hot-layer occupancy as the constraint:

    1. C_hot = W_low + A + G
    2. W_low ≈ P_active × bytes_per_param_low

    Here P_active is the scale of activated experts and shared parameters that must reside on a single card, and low precision is taken as 0.5–1 byte. The capacity floor is determined by “avoiding frequent swap-in and swap-out,” not by matching the full model.

    3.2 How Much Bandwidth Is Needed

    A dual-timescale constraint is used:

    1. T_compute ≥ T_mem
    2. T_mem = (bytes read/written per step in the hot layer) / BW_3D

    Meanwhile, cold-layer updates must satisfy:

    1. state update bytes / 283GB/s ≤ per-step time budget

    The direction of the conclusion: 3D DRAM bandwidth does not need to match 8 TB/s. It only needs to cover the arithmetic intensity of the compute side, while overlapping cold-layer updates with computation.

    3.3 How Much Compute Is Needed

    Match FP4 dense compute to the hot-layer bandwidth to avoid “excess compute, starved bandwidth”:

    1. Required_PFLOPS ≈ (FLOPs per step / per-step time) / utilization

    3.4 Whether the Interconnect Becomes a Bottleneck

    The 900 GB/s per direction within a node carries expert parallelism and data-parallel synchronization; the 100 GB/s per direction across nodes determines the efficiency of cross-node All-to-All and gradient synchronization. Hierarchical parallelism and communication compression are needed to reduce cross-node traffic.

    4. Engineering Trade-offs and Implementation Recommendations

    • Decoupling first: splitting “bandwidth” and “capacity” into two independent design variables is the first principle of cost optimization.
    • Quantization is a prerequisite: low-precision compute weights are key to the compact hot-layer capacity, and training stability must be ensured.
    • Overlap is the efficiency core: cold-layer state updates and cross-node communication must overlap with computation.
    • Use the simulator to set parameters: capacity, bandwidth, compute, and interconnect are jointly parameterized through constraint solving, avoiding single-point stacking.

    In summary, for 10,000- to 100,000-GPU MoE training, the 3D DRAM + LPDDR hybrid memory architecture uses a tiered design of “high-bandwidth compact capacity for the hot layer plus high-capacity persistence for the cold layer.” Combined with quantization and communication overlap, it can preserve training efficiency without matching 8 TB/s, providing a practical cost–performance balance path for custom training chips.