Designing a Training Chip with Hybrid 3D DRAM and LPDDR Memory

    This article presents a hybrid memory architecture for AI training chips that combines near-logic 3D DRAM with 512 GB of LPDDR to decouple bandwidth from capacity. It explains the hot-tier and cold-tier split, then uses coarse-grained system simulation and formal constraint solving to answer four quantitative questions: how much 3D DRAM capacity is needed, whether bandwidth must reach 8 TB/s, how to size Tensor Core compute, and whether 283 GB/s of LPDDR is sufficient. It also covers the software stack practices—precision tiering, pipeline overlap, and expert placement—that make the tiered design work for large-scale MoE training.

    Designing a Training Chip with Hybrid 3D DRAM and LPDDR Memory

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

    When building in-house training chips for mixture-of-experts (MoE) models at the scale of tens of thousands or even hundreds of thousands of accelerators, the core business question comes down to a single sentence: how do you deliver both “sufficiently high working bandwidth” and “sufficiently large state capacity” at extreme hardware cost efficiency?

    Traditional high-bandwidth memory solutions are constrained by the shoreline limit of planar packaging—the physical length available for routing along the chip edge is finite, so bandwidth and capacity end up forcibly coupled. If a designer wants 6–8 TB/s of bandwidth, they must stack multiple large-capacity memory stacks, which leaves capacity heavily underutilized and inflates the BOM cost unnecessarily. In other words, the industry has long assumed that “high bandwidth must be bundled with large capacity,” spending much of the budget on memory dies that can never be fully used.

    The approach this article validates is a tiered hybrid memory architecture of “near-logic 3D DRAM + 512 GB large-capacity LPDDR” that completely decouples the proportional relationship between bandwidth and capacity, closing the engineering loop at minimal cost.

    2. Overall Architecture: Splitting Responsibilities Between the Hot and Cold Tiers

    The overall idea is to layer training data by “access frequency” and “precision requirement”:

    • Hot tier (3D DRAM): Vertically stacked on top of the logic compute die, providing high-bandwidth, compact-capacity on-chip working memory. It holds only the low-precision compute weights quantized with NVFP4 (or FP8), along with the current micro-batch’s activations and gradients.
    • Cold tier (LPDDR): Each card is equipped locally with 512 GB of large-capacity LPDDR at a fixed peak bandwidth of 283 GB/s, serving as the persistent state layer. The high-precision FP32 master weights and the first-moment and second-variance states of the AdamW optimizer are all offloaded here and persisted.

    The key insight behind this split is that although optimizer states and master weights are large and updated frequently, their bandwidth demand for “being read directly by the Tensor Core every step” is far lower than that of compute weights; what truly consumes bandwidth is the operator data flow of matrix multiplications. Separating the two lets the expensive 3D DRAM serve only the hungriest compute units.

    Interconnect bandwidth targets current mainstream training cluster specifications: 1.8 TB/s bidirectional in aggregate within a node (900 GB/s per direction), and an 800 Gb/s network port per card outside the node (100 GB/s per direction).

    3. Quantitative Answers to Four Core Engineering Questions

    Using a coarse-grained system simulator and formal constraint solving, this architecture allows quantitative answers to four questions.

    3.1 How Much 3D DRAM Capacity Is Needed?

    The capacity floor is determined by the “compute-state tensors resident on a single card,” not by the model’s total parameter count. For fine-grained MoE models like DeepSeek-V4.1-Flash, the quantized weights, micro-batch activations, and gradients that a single card actually needs to keep resident typically amount to only tens of GB—no need to match large-capacity stacks. This means the 3D DRAM can be made “small and fast.”

    3.2 How Much Bandwidth Is Needed, and Must It Match 8 TB/s?

    The answer is no. Bandwidth demand is jointly determined by Tensor Core compute and arithmetic intensity, and there is a “good enough is enough” inflection point. As long as the 3D DRAM bandwidth can feed the FP4 compute, the marginal benefit of adding more bandwidth decays rapidly. So there is no need to blindly match 8 TB/s; the saved cost can be given to the capacity tier and the interconnect instead.

    3.3 What Should the Compute Be Set To?

    The Tensor Core’s dense FP4 compute should be matched with the 3D DRAM bandwidth and the interconnect bandwidth to avoid a weak-link bottleneck. Compute that is too high with insufficient bandwidth causes “compute idling,” while the reverse wastes silicon area. The reasonable approach is to derive the compute ceiling backward from the bandwidth constraint.

    3.4 Is 283 GB/s on the Cold Tier Enough?

    Optimizer state updates follow a “read-modify-write” pattern that can overlap with the compute pipeline. The 283 GB/s of LPDDR bandwidth, combined with double buffering and prefetching, is enough to complete state movement within the window of one training step and does not become a bottleneck.

    4. Software Stack Coordination: Making the Tiering Actually Run

    Without software support, hardware tiering will significantly degrade performance. Key practices include:

    • Precision tiering management: Keep FP32 master weights on the cold tier, quantize them on demand to FP4/FP8 and write them to the hot tier each step; accumulate gradients in the hot tier, then write them back to the cold tier to update state.
    • Pipeline overlap: Run LPDDR state movement, quantization/dequantization, All-to-All expert-routing communication, and Tensor Core compute concurrently across multiple streams to hide cold-tier latency.
    • Expert placement strategy: Place MoE expert weights by access popularity, keeping hot experts resident in 3D DRAM and cold experts in LPDDR to reduce cross-tier swapping.

    Illustrative pseudocode:

    1. # Tiered scheduling skeleton for each training step
    2. for step in dataloader:
    3. # 1. Cold tier -> hot tier: prefetch quantized weights (overlapped with the previous step's compute)
    4. w_fp4 = quantize(master_w_fp32, fmt="nvfp4") # written to 3D DRAM
    5. # 2. Forward/backward in the hot tier, with activations and gradients resident in 3D DRAM
    6. grad_fp4 = forward_backward(x_batch, w_fp4)
    7. # 3. Write gradients back to the cold tier and update AdamW state (double buffering hides latency)
    8. async_update(master_w_fp32, m, v, grad_fp4, optim="adamw")

    5. Conclusion

    “High bandwidth must be bundled with large capacity” is not a law of physics but a historical compromise under the shoreline constraint of packaging. By using near-logic 3D DRAM to provide a compact high-bandwidth hot tier and LPDDR to provide a massive cold tier, and by coordinating the software with precision tiering and pipeline overlap, large-scale MoE training at the scale of tens of thousands to hundreds of thousands of accelerators can preserve training efficiency at significantly lower hardware cost. The core conclusion is that 3D DRAM does not need to match 8 TB/s, and both capacity and compute should be sized around the principle of “feed the compute, and good enough is enough.”