3D DRAM and LPDDR Hybrid Memory Architecture for Training Chips at 10K-GPU Scale

    This article presents a tiered memory architecture for large-scale MoE model training that decouples bandwidth from capacity: near-logic 3D DRAM serves the hot working set, while large-capacity LPDDR holds the full training state. It covers the overall architecture, capacity and bandwidth estimation formulas, precision layering strategies, compute-memory balance, required software stack capabilities, and a multi-stage validation methodology for clusters scaling from 10K to 100K GPUs.

    1. Background: High Bandwidth and Large Capacity Should Not Be Forcibly Bundled

    Training large-scale Mixture-of-Experts (MoE) models typically requires three kinds of resources at once: high-throughput compute units, high-bandwidth memory that can feed matrix operations, and large-capacity memory that holds the complete training state. Conventional designs concentrate all three in a single type of high-performance memory. The result is that to obtain sufficient bandwidth, designers must provision large capacity—yet during training, only a small fraction of the total state sits on the high-frequency access path, while the remaining capacity stays underutilized for long periods.

    For training clusters of 10K or even 100K GPUs, memory cost is amplified by scale. If every card is equipped with large-capacity, high-bandwidth memory, total cluster cost, packaging complexity, power consumption, and thermal pressure all rise quickly. More importantly, model parameters, optimizer states, activations, and gradients have very different access characteristics. Placing them all in the same memory tier is not the optimal solution.

    A more reasonable direction is to decouple bandwidth from capacity:

    • Use near-logic 3D DRAM for data with high-frequency access, low-latency, and strong bandwidth requirements;
    • Use large-capacity LPDDR to store data that must be retained throughout training but does not need to be accessed continuously at peak bandwidth;
    • Hide data movement behind computation and communication through the compiler, runtime, and communication scheduling.

    This is a tiered memory architecture oriented around the training working set, not simply an increase in memory capacity.

    2. Overall Architecture: The Hot Tier Computes, the Cold Tier Holds State

    The per-card memory hierarchy can be abstracted into four layers.

    2.1 Near-Logic 3D DRAM Hot Tier

    3D DRAM is stacked directly on or placed adjacent to the compute logic die, shortening data paths through vertical interconnects. Its primary job is not to hold the entire model state, but the most active data of the current compute phase, including:

    • Expert weights required by the current micro-batch;
    • Activations of the current layer or adjacent layers;
    • Gradients produced during backpropagation;
    • Quantized temporary weight copies;
    • Intermediate buffers for communication and data reordering.

    The key metrics of this tier are access bandwidth, access latency, and energy efficiency—not capacity alone. Capacity should be sized around the working set of one or a few micro-batches, not around the full model state.

    2.2 Large-Capacity LPDDR Cold Tier

    LPDDR holds data that is accessed less frequently but must be reliably retained, such as:

    • FP32 or other high-precision master weights;
    • The optimizer’s first-order momentum and second-order variance;
    • Parameters of temporarily inactive experts;
    • Checkpoint data and training state needed for recovery;
    • Metadata that is unsuitable for long-term quantized storage.

    In one feasible design, each card is configured with roughly 512 GB of LPDDR at a peak bandwidth of about 283 GB/s. These numbers should be treated as architecture modeling parameters, not fixed specifications that all implementations must follow. The key value is providing large local capacity so that the training state does not have to occupy expensive high-bandwidth memory entirely.

    2.3 On-Chip Cache and Data Reordering Buffers

    Between the 3D DRAM and the compute array, on-chip caches, DMA buffers, and expert-routing buffers are still needed. MoE models have dynamic routing: different tokens in the same batch may be sent to different experts, so data movement is highly irregular.

    Without sufficient reordering buffers, theoretical bandwidth is hard to convert into effective bandwidth. Design must account for:

    • Aggregation and splitting of expert-bound tokens;
    • Address reordering before and after sending;
    • Load imbalance across experts;
    • Merging and recycling of communication packets;
    • The compute array’s preference for contiguous data blocks.

    2.4 Node and Cluster Interconnect

    Per-card internal bandwidth, intra-node interconnect bandwidth, and inter-node network bandwidth jointly determine system performance. One set of baseline assumptions usable for research:

    • Intra-node interconnect at about 1.8 TB/s bidirectional aggregate, roughly 900 GB/s per direction;
    • About 800 Gb/s of inter-node network interface per card, roughly 100 GB/s per direction.

    These parameters should be treated as tunable variables in a simulator, not isolated peak figures. If the communication patterns of expert parallelism, data parallelism, and pipeline parallelism are not properly arranged, bandwidth improvements in any single memory tier may be cancelled out by network bottlenecks.

    3. Why the Full State Does Not Need to Live in 3D DRAM

    The scale of training state is usually far larger than the working set of a single computation. Taking parameter counts as an example, master weights, gradients, and optimizer states may coexist; when stored in high-precision formats, the state bytes per parameter are significantly higher than in inference scenarios.

    However, during a single forward or backward pass, the compute units actually access only:

    1. Activations of the current layer;
    2. Weights of the experts participating in the current routing;
    3. Gradients of the current micro-batch;
    4. A small number of communication and reduction buffers.

    If training employs expert grouping, weight prefetching, and staged pipelining, inactive experts do not need to reside in 3D DRAM long-term. They can stay in LPDDR and be moved into the hot tier in advance once the scheduler predicts they are about to be accessed.

    The key to this approach is not “moving cold data fast enough,” but overlapping the movement with computation. Ideally, the prefetch time for the next group of expert weights should satisfy:

    [
    T{\text{prefetch}} \leq T{\text{compute}}
    ]

    where:

    [
    T{\text{prefetch}}=\frac{S{\text{weight}}}{B_{\text{LPDDR-effective}}}
    ]

    If the effective LPDDR bandwidth cannot complete the prefetch within the compute window, the prefetch window must be enlarged, the number of resident experts increased, or the weight swap scale per scheduling step reduced.

    4. How to Estimate 3D DRAM Capacity

    3D DRAM capacity should not be computed directly as “total model parameters × bytes.” It should be estimated from the working set:

    [
    C{\text{3D}} \geq C{\text{activation}}+
    C{\text{gradient}}+
    C
    {\text{expert-resident}}+
    C{\text{buffer}}+
    C
    {\text{safety}}
    ]

    where:

    • (C_{\text{activation}}): activations of the current micro-batch plus the necessary recomputation window;
    • (C_{\text{gradient}}): data not yet reduced or written back during backpropagation;
    • (C_{\text{expert-resident}}): weights of simultaneously resident experts;
    • (C_{\text{buffer}}): communication, reordering, and DMA buffers;
    • (C_{\text{safety}}): headroom for load jitter and routing imbalance.

    For MoE models, expert-resident capacity is often the most sensitive variable. Keeping only a few experts resident allows 3D DRAM capacity to be small, but data exchange between LPDDR and 3D DRAM becomes more frequent. Increasing the number of resident experts reduces exchange pressure but raises hot-tier capacity and leakage power.

    Capacity configuration is therefore fundamentally an optimization problem:

    [
    \min \quad
    \alpha C{\text{3D}}+\beta E{\text{move}}+\gamma T_{\text{stall}}
    ]

    where (E{\text{move}}) is the energy of data movement, (T{\text{stall}}) is the compute stall time caused by waiting for data, and (\alpha, \beta, \gamma) are weights for cost, energy, and performance goals respectively.

    5. 3D DRAM Bandwidth Does Not Need to Mechanically Chase 8 TB/s

    Peak figures for high-bandwidth memory easily become design targets, but peak bandwidth only matters when access patterns, parallelism, and data reuse all align.

    Three metrics should be distinguished:

    • Peak physical bandwidth: the maximum throughput the interface can theoretically provide;
    • Sustainable bandwidth: stable throughput under long-running continuous access;
    • Effective bandwidth: actual throughput after deducting conflicts, reordering, protocol overhead, and idle cycles.

    The bandwidth actually needed for training can be estimated from arithmetic intensity:

    [
    B{\text{need}} \geq
    \frac{P
    {\text{effective}}}{I_{\text{arithmetic}}}
    ]

    where (P{\text{effective}}) is effective compute throughput and (I{\text{arithmetic}}) is the number of operations supported per byte of data. If weights are reused on-chip, arithmetic intensity is high and required external bandwidth drops; if expert weights switch frequently with low reuse, bandwidth demand rises.

    Therefore, whether bandwidth close to 8 TB/s is needed cannot be judged in isolation from:

    • The fraction of expert weights resident on-chip;
    • Micro-batch size;
    • Weight prefetch depth;
    • Quantization formats for activations and gradients;
    • Compute array utilization;
    • Whether intra-node and inter-node communication creates additional pressure.

    For a training system with optimized scheduling, reaching several TB/s on 3D DRAM does not imply a need to chase higher peaks. What matters more is guaranteeing sustained bandwidth, access concurrency, and a low conflict rate.

    6. Separating Low-Precision Compute from High-Precision State

    A hybrid memory architecture must be paired with a layered precision strategy. A relatively safe scheme is:

    • Store master weights and optimizer states in FP32 or other high-precision formats;
    • Use FP8, FP4, or similar low-precision formats for weights entering the compute hot tier;
    • Use mixed precision for activations and gradients based on numerical stability;
    • Retain higher precision for scaling factors, reduction results, and critical statistics.

    This design reduces data traffic on 3D DRAM and interconnects, but must handle quantization error accumulation. Especially over long training runs, low-precision weights cannot simply replace high-precision master weights. A more reasonable flow is:

    1. LPDDR stores high-precision master weights;
    2. Before a training step begins, relevant weights are converted into low-precision copies;
    3. The compute array uses the low-precision copies for matrix operations;
    4. Gradient reduction and optimizer updates occur at higher precision;
    5. The updated master weights regenerate low-precision copies for the next round.

    Scaling factors, outlier handling, and gradient clipping should be jointly managed by the compiler and runtime, avoiding an identical quantization policy for every layer.

    7. Matching Compute Capability to the Memory System

    If the compute array is too strong while 3D DRAM or LPDDR cannot feed it continuously, compute units end up idling. Conversely, if memory bandwidth is high but compute is insufficient, the bandwidth investment is wasted.

    A preliminary balance relation can be used for configuration:

    [
    P{\text{tensor}} \leq
    B
    {\text{3D}}\times I{\text{hot}}
    +
    B
    {\text{LPDDR}}\times I_{\text{cold}}
    ]

    where (I{\text{hot}}) and (I{\text{cold}}) are the effective arithmetic intensities of hot-tier and cold-tier data respectively.

    In engineering practice, it is recommended to run multi-parameter sweeps to find inflection points rather than fixing a single specification up front:

    • Fix 3D DRAM capacity and gradually increase bandwidth;
    • Fix bandwidth and gradually increase low-precision matrix compute capability;
    • Vary the number of resident experts and micro-batch size;
    • Observe compute utilization, communication waiting, and LPDDR occupancy;
    • Identify the region where performance gains begin to diminish noticeably.

    The final dense low-precision Tensor Core capability should be justified by effective utilization under the target model and target parallelism strategy. Nominal PFLOP/s only has practical meaning when memory, interconnect, and scheduling can continuously supply data.

    8. The Software Stack Must Participate in Hardware Design

    This type of architecture cannot rely solely on hardware-managed caching. The software stack must provide at least the following capabilities.

    8.1 Working-Set Analysis

    The compiler or an offline analyzer should identify each layer’s parameter size, activation lifetime, expert access probability, and communication requirements from the model graph, producing hot-tier capacity estimates.

    8.2 Explicit Prefetch and Asynchronous Write-Back

    The runtime should support parallel execution of computation, prefetch, and write-back, with dependency management to prevent computation from starting before its data has arrived.

    8.3 Expert-Aware Scheduling

    The scheduler can use historical routing statistics to predict which experts are likely to be accessed next and prioritize placing them in 3D DRAM, while low-probability experts remain in LPDDR.

    8.4 Coordinated Communication and Storage Management

    Expert exchange, gradient reduction, and weight prefetch may contend for the same interconnect resources. The runtime needs bandwidth quotas and priority control to prevent communication bursts from crowding out the data streams computation depends on.

    8.5 Capacity and Bandwidth Monitoring

    The system should continuously collect hot-tier hit rate, effective LPDDR bandwidth, prefetch hit rate, compute idle time, and communication wait time, then dynamically adjust micro-batch size and residency policy based on runtime state.

    9. Validation Methodology: From Simulator to Prototype Chip

    Before tape-out, a multi-layer validation process should be established.

    The first layer is analytical modeling for rapid sweeps of capacity, bandwidth, compute, and network parameters. The second layer is discrete-event simulation that captures expert routing, DMA transfers, communication contention, and cache hits. The third layer is closed-loop software validation, mapping compiler-generated schedules onto simulated hardware resources. Finally, protocols, data consistency, and exceptional scenarios should be validated on a small-scale prototype or FPGA platform.

    Recommended key output metrics include:

    • Per-step training time;
    • Effective compute array utilization;
    • Sustained bandwidth of 3D DRAM and LPDDR;
    • Hot-tier hit rate;
    • Weight prefetch wait time;
    • Share of intra-node and inter-node communication;
    • Per-card power consumption and energy efficiency per unit of training throughput;
    • Scaling efficiency as cluster size grows.

    Special attention is needed on one point: the bottlenecks of 10K-GPU and 100K-GPU systems may differ. At 10K scale, per-card memory and intra-node interconnect may matter more; at 100K scale, inter-node communication, synchronization overhead, failure recovery, and load imbalance become more prominent. Single-node results therefore cannot be naively extrapolated to very large clusters.

    10. Conclusion: Spend Expensive Bandwidth Where It Matters Most

    The core idea of a hybrid 3D DRAM + LPDDR architecture is to concentrate high-bandwidth resources on the active working set while using large-capacity resources to hold the complete training state. For large-scale MoE training, this design is expected to reduce capacity waste in high-bandwidth memory while sustaining high compute utilization through low-precision compute, expert residency, and asynchronous prefetching.

    The final design should not answer “the bigger the 3D DRAM, the better; the higher the bandwidth, the better.” Instead, it should answer three more practical questions:

    1. What is the minimum hot-tier working set for the current model and parallelism strategy?
    2. Under acceptable prefetch latency, how much sustained bandwidth must 3D DRAM provide?
    3. Are compute capability, memory bandwidth, and node interconnect in balance?

    Only by jointly modeling hardware capacity, data precision, runtime scheduling, and cluster communication can a commercially viable training chip design be reached. For systems targeting 10K-GPU and larger clusters, tiered memory is not a simple substitute for high-bandwidth memory—it is a system-level design that redefines how training data flows across memory tiers.