Designing a 3D Memory Hybrid Architecture for Ten-Thousand-GPU LLM Training

    Designing chips for 10,000-GPU scale Mixture of Experts (MoE) model training requires balancing compute, cost, and data supply rather than simply maximizing peak performance. This article explores a hybrid memory architecture that separates training requirements into a high-speed working layer using near-logic 3D DRAM and a large-capacity state layer using LPDDR. It details the capacity and bandwidth baselines for both layers, compute configuration constraints, communication boundaries in massive clusters, and the software synergy needed for state offloading. By utilizing event-driven simulation and comprehensive cost evaluation, this approach aims to achieve system equilibrium, ensuring that every resource investment translates into verifiable training throughput.

    1. Problem Reconstruction: Training Chips Need Reasonable Data Supply, Not Just Maximized Specs

    Designing chips for 10,000-GPU scale Mixture of Experts (MoE) model training presents a core challenge: ensuring that compute units continuously receive the data they need at an acceptable cost, power consumption, and packaging complexity, rather than simply increasing peak compute capacity.

    Traditional High Bandwidth Memory (HBM) utilizes multi-stack and wide interface solutions. For a given memory generation, stack organization, and packaging design, increasing bandwidth often necessitates a proportional increase in capacity and packaging resources. As a result, some training tasks that primarily require high bandwidth end up paying for extra capacity they do not strictly need.

    However, this coupling is not a physical law that all memory technologies must follow, nor does it imply that high-speed memory capacity is universally underutilized. Model size, parallelism strategies, activation preservation methods, and optimizer state sharding can all make capacity a genuine bottleneck.

    A more valuable design direction is to decouple these requirements:

    • High-speed working layer: Serves current computations, focusing on meeting bandwidth, latency, and local capacity requirements.
    • Large-capacity state layer: Stores training states with lower update frequencies and larger capacities, focusing on capacity cost and sustained throughput.
    • Communication layer: Carries cross-GPU parameter, gradient, and expert data exchange; its cost cannot be offset by local memory bandwidth.

    This article discusses a research-oriented architecture: utilizing near-logic 3D Dynamic Random Access Memory (DRAM) as the high-speed working layer, and large-capacity, low-power DRAM (LPDDR) per GPU as the state layer.

    It must be emphasized that this is a design concept requiring joint validation through devices, packaging, and software. It does not imply that existing chips can directly achieve all the goals outlined herein.

    2. Architecture Positioning: Division of Labor Between High-Speed Working Layer and Large-Capacity State Layer

    2.1 The High-Speed Working Layer is Not Just a Standard Cache

    Near-logic 3D DRAM leverages vertical integration to shorten the data path between memory and compute logic. The “3D” here involves stacking, interconnects, power supply, and thermal design; it does not mean the memory becomes a traditional static cache inside the logic chip.

    For training tasks, the working layer needs to hold:

    • Low-precision weights required for current execution;
    • Activations residing in current micro-batches and pipelines;
    • Gradient accumulation buffers;
    • Expert routing and token permutation buffers;
    • Collective communication buffers;
    • Kernel temporary space, quantization scales, and runtime metadata.

    Because these objects have explicit lifecycles, using software-managed tensor allocation, prefetching, and recycling strategies is typically easier to control in terms of peak capacity than relying entirely on transparent hardware caching.

    2.2 The State Layer Stores High-Capacity, Low-Frequency Data

    The state layer can store high-precision main weights and the first and second-order states of the adaptive optimizer.

    Taking FP32 main weights and two FP32 states as an example, each parameter requires the following for these persistent states alone:

    4 + 4 + 4 = 12 bytes

    This does not include gradients, low-precision compute copies, communication redundancy, and memory management overhead. Therefore, the assumption that “low-precision training requires very few bytes per parameter” cannot be directly used to estimate the capacity of complete training states.

    Additionally, LPDDR in this context is a “cold layer” relative to the high-speed working layer, not non-volatile storage. Power-off recovery still relies on checkpoints and external persistent storage.

    3. Capacity Baseline: Calculate Peak Active Set Before Choosing Device Capacity

    The capacity of the high-speed working layer can be expressed as:

    C_hot ≥ C_weight + C_activation + C_gradient + C_comm + C_workspace + C_margin

    Where:

    • C_weight: Concurrently residing compute weights;
    • C_activation: Activations for forward pass preservation, backward pass recovery, and pipeline residency;
    • C_gradient: Gradient and gradient accumulation space;
    • C_comm: Communication input/output and permutation buffers;
    • C_workspace: Operator temporary space;
    • C_margin: Margin required for fragmentation, alignment, runtime fluctuation, and fault recovery.

    The peaks of these items do not necessarily occur simultaneously. Accurate design should analyze tensor lifecycles to find the actual maximum overlap, rather than directly adding all theoretical maximums.

    3.1 Weight Capacity Depends on Residency Strategy

    Assuming the number of parameters that need to reside simultaneously on the local GPU is P_resident, and each parameter’s compute copy occupies b_compute bytes, then:

    C_weight ≈ P_resident × b_compute + C_scale

    The raw data for FP8 compute copies is typically estimated at 1 byte per parameter; 4-bit floating-point representation raw data is estimated at 0.5 bytes per parameter. However, actual usage also includes grouping scales, alignment, and necessary high-precision retention parts.

    More importantly, P_resident is not equal to the total model parameters divided by the number of GPUs. Expert parallelism, tensor parallelism, pipeline parallelism, parameter replication, and on-demand loading all alter the actual residency scope.

    3.2 Activation Capacity is Determined by Sequence Length and Scheduling

    Long sequences, larger micro-batches, and multiple in-flight micro-batches can all push up the activation peak.

    Activation recomputation can reduce preservation volume but increases compute overhead. For designs with surplus compute and limited capacity, this might be a reasonable trade-off; for compute-limited designs, it may reduce throughput.

    Therefore, the following should be scanned simultaneously:

    • Micro-batch size and sequence length;
    • Number of in-flight pipeline micro-batches;
    • Activation preservation and recomputation ratio;
    • Expert token capacity and routing skew;
    • Gradient accumulation steps.

    3.3 State Layer Capacity Needs Runtime Headroom

    If the number of parameter shards the local GPU is responsible for persisting is P_state, the base capacity for the aforementioned FP32 main weights and dual states is:

    C_state_base = 12 × P_state

    If FP32 gradients are also stored, add 4 × P_state bytes. If the optimizer updates layer by layer and gradients are released block by block, the gradient peak can be lower than the full shard capacity.

    512 GB per GPU can serve as a capacity assumption in research, but it cannot all be treated as effective model state space. One must also consider checkpoint staging, buffering, fragmentation, system reservation, and capacity unit differences in engineering implementation.

    4. Bandwidth Baseline: Both Memory Layers Must Be Constrained Separately

    4.1 High-Speed Working Layer Bandwidth Should Be Derived from Operator Data Flow

    For a specific operator, assuming the actual computation volume is F_op and the actual memory access volume is Q_op, the arithmetic intensity is:

    I_op = F_op / Q_op

    If the effective compute throughput is F_eff and the effective memory bandwidth is B_hot_eff, the lower bound of its execution time is approximately:

    T_op ≥ max(F_op / F_eff, Q_op / B_hot_eff)

    This relationship reveals a key fact: on the same chip, different operators may have different bottlenecks.

    Large matrix multiplications may be limited by compute throughput; normalization, routing, tensor permutation, and small-scale expert computations may rely more on bandwidth, latency, or scheduling efficiency. One cannot judge the bandwidth requirement of the entire training path solely based on the arithmetic intensity of large matrix multiplications.

    Additionally, peak bandwidth is not equal to effective bandwidth. Mixed read/write, non-contiguous access, bank conflicts, and concurrent contention will all reduce actual throughput.

    4.2 State Layer Bandwidth May Determine Optimizer Update Time

    Assuming a per-GPU LPDDR peak bandwidth of 283 GB/s. This value should be used as a simulation input, not a verified sustained performance. Actual design must also clarify interface quantity, read/write direction, access patterns, and sustainable bandwidth.

    For each parameter managed by the local GPU, reading and writing back the FP32 main weight and two FP32 optimizer states generates a base traffic of:

    Q_update_base = 2 × (4 + 4 + 4) = 24 bytes/parameter

    Therefore:

    T_update ≥ 24 × P_state / B_cold_eff

    This is only the base lower bound. Gradient supply, compute weight generation, state initialization, and cross-layer transfer can all increase time or additional traffic.

    Consider a purely arithmetic example: if the local GPU manages 1 billion parameter states, the base update traffic is about 24 GB; at a 283 GB/s peak, the lower bound is about 85 milliseconds. If actual sustained bandwidth is lower, the update time will be longer.

    This is not a training performance prediction; it merely shows that a large-capacity state layer is not just about “having enough space.” It must complete updates within the time budget allowed per step.

    4.3 Increasing High-Speed Bandwidth Cannot Compensate for All Bottlenecks

    If training is already limited by state layer updates, expert communication, or pipeline bubbles, increasing the high-speed working layer bandwidth from a lower tier to 8 TB/s may yield only limited benefits.

    Conversely, if the high-speed working layer bandwidth is insufficient and compute units wait extensively for data, no amount of state layer capacity will help.

    The design goal should be a balance between the bandwidth of both layers and compute throughput, rather than optimizing only the most prominent metric.

    5. Compute Configuration: Constrain Peak Metrics with Effective Training Throughput

    Chip compute capacity cannot be described solely by low-precision peak operations.

    Training actually requires multiple numerical paths:

    • Low-precision matrix multiplication;
    • Higher precision accumulation and reduction;
    • Normalization, activation, and routing;
    • Gradient scaling, quantization, and dequantization;
    • Optimizer state updates.

    4-bit floating-point computation requires appropriate scale management, outlier handling, and numerical stability validation, and is not suitable for all operators and all training stages. Using FP32 for main weights does not automatically guarantee stability for low-precision forward and backward computation.

    Assuming a GPU executes an actual computation volume of F_step per step, with an expected compute phase time of T_compute and an expected effective utilization rate of η_compute, the peak compute capability must at least satisfy:

    F_peak ≥ F_step / (T_compute × η_compute)

    Here, η_compute should comprehensively reflect matrix shapes, expert loads, kernel efficiency, and scheduling losses, and cannot be arbitrarily set to an optimistic constant.

    Therefore, it is impossible to determine how many PFLOP/s should be configured based solely on “10,000-GPU training” and “low-precision compute.” One must first determine the model structure, tokens per step, parallelization scheme, and target step time.

    6. 10K and 100K GPUs: Communication Often Hits Boundaries Before Capacity

    Research can use two cluster scales: 10,240 GPUs and 102,400 GPUs, using intra-node unidirectional 900 GB/s and inter-node per-GPU unidirectional 100 GB/s as idealized interface inputs.

    If the intra-node spec is written as a bidirectional total of 1.8 TB/s, it cannot be directly used as 1.8 TB/s in a unidirectional transmission model. Similarly, inter-node 800 Gb/s converted to 100 GB/s is only a theoretical value before protocol overhead is deducted.

    6.1 Expert Communication is Not Uniform Traffic

    MoE models need to send tokens to corresponding experts and return the processed results. Communication traffic is affected by the following factors:

    • Number of experts selected per token;
    • Hidden dimension and transmission precision;
    • Deployment of experts across nodes and racks;
    • Routing distribution and hotspot experts;
    • Communication buffers and permutation strategies.

    Average link traffic cannot reflect the completion time of the busiest link. Training step time is often determined by tail experts or congested paths.

    6.2 Increasing GPU Count Does Not Necessarily Reduce Step Time

    If the global token volume per step remains constant, increasing the number of GPUs reduces the workload per GPU. At this point, communication startup latency, synchronization waits, and small matrix efficiency degradation may occupy a larger proportion.

    If the global batch size scales with the GPU count, the per-GPU workload can remain relatively stable, but optimization behavior, learning rate strategies, and convergence efficiency need to be revalidated.

    Therefore, it is necessary to distinguish between fixed-workload scaling and resource-proportional workload scaling. One cannot simply extrapolate 10,000-GPU results proportionally to 100,000 GPUs.

    7. Software Synergy: The Key to State Offloading is Correct Data Dependencies

    The ideal execution flow can be summarized as:

    1. Prepare the weights required for the next compute phase in advance;
    2. Execute forward and backward passes in the high-speed working layer;
    3. Complete necessary gradient reduction or sharding;
    4. Start optimizer updates based on parameter blocks;
    5. Generate compute weights required for the next training step;
    6. Release activation and gradient space no longer in use.

    However, strict constraints exist here.

    When using standard synchronous update semantics, a parameter block must receive the complete gradient for the current step before it can be updated. Modifying weights prematurely during multi-micro-batch gradient accumulation alters the training algorithm.

    Updates can overlap with other computations by parameter block, but must ensure:

    • Old weights are not overwritten while still in use;
    • New weights are only visible after the corresponding update is complete;
    • Communication completion events are correctly associated with update events;
    • Overflow detection and skip mechanisms do not leave partial update states.

    Double buffering, parameter versioning, and event-driven scheduling can improve overlap but also increase capacity requirements. The so-called “hidden update time” should be proven through dependency graphs, rather than simply deleting optimizer overhead from the total step time.

    8. Simulation and Parameter Search: Output Feasible Regions, Not Single Answers

    It is recommended to first establish an event-driven system model, breaking down a training iteration into compute, memory access, cross-layer transfer, communication, and synchronization events, and then configure resource occupancy and dependencies for each event.

    Parameter search should at least cover:

    Dimension Primary Variables
    High-Speed Working Layer Capacity, effective bandwidth, access conflicts
    Large-Capacity State Layer Capacity, sustained read/write throughput, update traffic
    Compute Throughput across precisions, matrix shape utilization
    Parallelism Tensor, pipeline, expert, and state sharding
    Scheduling Micro-batch, prefetch depth, update overlap
    Network Link bandwidth, latency, congestion, topology
    Numerical Precision selection, scale management, recomputation strategy

    Formal constraints can be used to check if capacity, resource mutexes, and dependencies are satisfied; performance prediction needs to be calibrated with operator micro-benchmarks and communication tests. A solver cannot replace actual hardware performance measurement.

    The final output should be a feasible region satisfying target throughput and budget, or a trade-off frontier among cost, energy consumption, and performance, rather than claiming that a single set of specs applies to all models.

    9. Cost Evaluation: From Storage Purchase Price to Total Training Cost

    Reducing high-bandwidth memory purchase costs does not equate to lowering total training costs.

    Near-logic 3D integration may introduce additional bonding, testing, yield, and thermal costs; large-capacity LPDDR may increase package area, interface power, and board-level complexity. Stacking memory close to high-power logic also requires strict validation of temperature impacts on reliability and sustained performance.

    More reasonable evaluation metrics include:

    • Hardware acquisition cost to meet target throughput;
    • Energy consumption per effective training token;
    • Training time required to achieve the same model quality;
    • Fault recovery and checkpoint overhead;
    • System costs for networking, power, and cooling.

    A cheaper chip that trains significantly slower may require more GPU-hours to complete the task, ultimately proving uneconomical.

    10. Conclusion: The Reasonable Goal is System Balance, Not Spec Alignment

    The combination of near-logic 3D DRAM and large-capacity LPDDR provides a research-worthy direction for splitting training working sets and persistent states. However, whether it can reduce the cost of 10,000-GPU scale training depends on four conditions:

    First, the high-speed working layer can accommodate the actual peak active set, not just low-precision weights.

    Second, the state layer can complete optimizer state access within the training step time budget and support necessary cross-layer data flows.

    Third, compute throughput matches effective memory bandwidth, and low-precision peaks can be translated into stable training gains.

    Fourth, cluster networking, parallel partitioning, and load balancing do not become stronger limiting factors.

    Therefore, whether 8 TB/s of high-speed bandwidth is needed, how large the working layer should be, and how much peak compute should be configured are not pre-fixed answers. The correct approach is to determine specifications based on real model data flows, jointly validated through capacity analysis, event simulation, numerical verification, and hardware measurement, ensuring that every resource investment corresponds to verifiable training benefits.