Hybrid 3D DRAM and LPDDR Memory Architecture for LLM Training Chips

    This article describes a tiered memory architecture for large language model training chips that pairs high-bandwidth 3D DRAM with high-capacity LPDDR. It explains why training memory should be split by data hotness, how to size each tier, how to budget bandwidth against compute and interconnect limits, and what the software stack must provide to move data between tiers.

    1. Problem Background: Training Memory Should Not Be Tied to Bandwidth and Capacity

    The memory system of a large model training chip usually serves three kinds of work:

    1. Supplying high-bandwidth data to matrix compute units.
    2. Holding the activations, gradients, and temporary tensors needed for the current iteration.
    3. Storing model weights, optimizer states, and checkpoint data over the long term.

    These three data types differ widely in access frequency, lifetime, and precision requirements. A single high-bandwidth memory type forces the system to provision a very large total capacity for a small amount of frequently accessed data. To reach bandwidth in the multi-TB/s range, designers must buy and package many memory stacks. A large share of that capacity is never accessed continuously by the compute cores, which wastes die area, packaging resources, and material cost.

    A better approach is not simply to pursue “bigger high-bandwidth memory.” Instead, the memory system should be split according to data hotness, access latency, bandwidth demand, and persistence. This produces a tiered architecture with a high-bandwidth hot tier and a high-capacity cold tier.

    The target architecture discussed here has two parts:

    • Near-logic 3D DRAM: relatively compact capacity, with very high bandwidth and low access latency.
    • High-capacity LPDDR: about 512 GB of local memory, designed for a peak bandwidth of about 283 GB/s, used to hold model states and cold data.

    The core idea is not to have LPDDR replace high-bandwidth memory. Each memory type handles the data it suits best.

    2. Overall Architecture: Compute, Hot Tier, and Cold Tier Working Together

    2.1 3D DRAM as the Compute Hot Tier

    3D DRAM can be stacked vertically near the logic compute die. Dense interconnects shorten the data path. Its main characteristics are:

    • High bandwidth per unit area.
    • Low access latency.
    • Well suited to continuous streaming access.
    • Capacity does not need to scale without limit.
    • Data paths can be customized around the compute cores.

    During training, 3D DRAM mainly holds:

    • Activations of the current micro-batch.
    • Gradients needed by the current pipeline stage.
    • Low-precision quantized compute weights.
    • Intermediate tensors produced by expert routing.
    • Temporary buffers needed for matrix multiplication and communication fusion.
    • Next-batch hot data prefetched locally.

    This data has strong temporal locality. It is typically used heavily within one or a few compute stages, then released after the backward pass or pipeline stage completes. As a result, 3D DRAM does not need to hold all long-term state for the entire model.

    2.2 LPDDR as the Capacity Cold Tier

    LPDDR offers higher capacity density at a manageable cost, and it can provide a large state storage pool on the chip. Its limits are lower bandwidth than dedicated high-bandwidth memory, and tighter constraints on access latency and concurrency.

    In this architecture, LPDDR mainly holds:

    • FP32 or higher-precision master weights.
    • First-moment (momentum) states of optimiz