AI Hardware3 min read

AWS Trainium3SR: SRAM-Split Prefill-Decode Architecture and Trainium4 Roadmap

Deep architectural analysis of AWS Trainium3SR pairing Trainium3 compute with a dedicated SRAM chiplet for prefill-decode disaggregation, plus the 2H 2027 Trainium4 roadmap.

AWS Trainium3SR, announced at re:Invent 2026, pairs Trainium3 compute and HBM with a dedicated SRAM chiplet to disaggregate compute-bound prompt prefill from memory-bandwidth-bound token decode. Alongside Trainium3SR, AWS outlined Trainium4 for 2H 2027 targeting 10x FP4 compute, 5x memory bandwidth, 2x memory capacity, and 2x power efficiency.

Key takeaways

  • Monolithic HBM accelerators suffer from structural underutilization because prefill saturates tensor FLOPS while decode is bottlenecked by HBM bandwidth.
  • Trainium3SR resolves this mismatch in hardware by executing prefill on Trainium3 and handing off KV state to an ultra-high-bandwidth SRAM chiplet for decode.
  • Trainium4's 5x memory bandwidth and 2x capacity targets for 2H 2027 directly attack the dense-weight decode ceiling while 10x FP4 compute accelerates sparse MoE prefill.

Quick facts

  • Trainium3SR pairs Trainium3 compute with a dedicated SRAM chiplet specifically for low-latency token decode.
  • Disaggregating prefill and decode prevents long-prompt compute bursts from stalling active decode token streams.
  • Trainium4 targets 2H 2027 delivery with 10x FP4 compute and 5x memory bandwidth over Trainium3.
  • Trainium4 also doubles memory capacity (2x) and doubles power efficiency (2x) for dense rack deployments.

Autoregressive LLM serving forces one piece of silicon to behave like two completely different machines. During prefill, the accelerator ingests thousands of prompt tokens in parallel and saturates matrix-multiply units. milliseconds later, during decode, it generates one token at a time and stalls waiting to stream gigabytes of model weights and KV cache out of HBM.

At AWS re:Invent 2026, AWS addressed that physical mismatch directly with Trainium3SR—a specialized architecture pairing Trainium3 compute with a dedicated SRAM chiplet—and revealed its Trainium4 roadmap targeting 2H 2027.

The Physics of Prefill vs. Decode Contention

On a monolithic HBM accelerator, co-locating prefill and decode creates two compounding inefficiencies:

  • Arithmetic intensity cliff: Prefill performs dense matrix-matrix multiplications (GEMM) with high FLOP-to-byte ratios. Decode performs matrix-vector operations (GEMV) at small batch sizes, where every byte of model weight read from HBM produces only a handful of arithmetic operations.
  • Head-of-line blocking: When a long-context prompt arrives for prefill, its compute burst saturates the systolic arrays and monopolizes memory controllers, spiking time-between-tokens (TBT) for every concurrent decode stream sharing that chip.

Software schedulers can mitigate this with chunked prefill or separate node pools over Ethernet/EFA, but cross-node KV-cache transfers introduce network serialization overhead. Trainium3SR pulls that disaggregation onto the package itself.

Trainium3SR Architecture: Dedicated SRAM Chiplet Disaggregation

Trainium3SR splits the inference lifecycle across two purpose-built silicon domains inside the same accelerator architecture: Trainium3 compute for prefill and a dedicated SRAM chiplet for decode.

Stage 1: Compute-Bound Prefill on Trainium3

Incoming prompts land on the Trainium3 compute die, where high-density tensor engines process the full context window in parallel. Because prefill is compute-bound, Trainium3 maximizes FLOPS utilization while building the initial KV cache in HBM.

Stage 2: KV-State Handoff and Decode Streaming on the SRAM Chiplet

Once prefill completes, the generated KV state is handed off over the high-speed die-to-die interconnect to the dedicated SRAM chiplet. Instead of repeatedly traversing off-die HBM channels for every generated token, the decode engine streams weights and KV state from ultra-high-bandwidth on-chip SRAM.

Trainium3SR Disaggregated Prefill -> KV Handoff -> SRAM Decode Pipeline
Trainium3SR isolates compute-bound prefill on Trainium3 compute from bandwidth-bound decode on a dedicated SRAM chiplet via die-to-die KV-state handoff.

This hardware split delivers two immediate wins for inference serving: 1. Predictable Time-Between-Tokens (TBT): Long-context prefill requests no longer preempt or starve active decode streams. 2. Higher Fleet Utilization: Prefill silicon stays busy on dense matrix math while the SRAM chiplet handles bandwidth-sensitive token generation without wasting massive HBM arrays on single-token steps.

Trainium4 Roadmap: 2H 2027 Targets

Alongside Trainium3SR's specialized SRAM-split design, AWS previewed Trainium4, scheduled for 2H 2027, with four headline generational targets:

Trainium4 Target (2H 2027)Multiplier vs. Trainium3Architectural Problem Solved
FP4 Compute Throughput10xMassive prefill acceleration and high-batch MoE expert computation
Memory Bandwidth5xRaises the single-stream and batched decode token-rate ceiling
Memory Capacity2xFits larger models and deeper KV caches with fewer tensor-parallel splits
Power Efficiency2xCuts rack power and cooling cost per million tokens served

Comparing Trainium3SR Specialization vs. Trainium4 Brute-Force Scaling

Trainium3SR and Trainium4 are not competing philosophies; they address different parts of the inference roofline:

  • Trainium3SR attacks the structural contention between prefill and decode today by isolating decode onto a dedicated SRAM chiplet.
  • Trainium4 attacks the absolute capacity and bandwidth ceiling for 2027-scale models—where 10x FP4 compute and 5x memory bandwidth expand both prefill throughput and HBM-backed decode headroom inside a 2x power-efficiency envelope.

Practical Implications for Inference Serving Stacks

For ML infrastructure teams designing 2027 serving topologies on AWS:

  1. Plan for disaggregated scheduling now: Even before adopting Trainium3SR, structuring routers and KV-cache managers around separate prefill and decode pools prepares your serving stack for SRAM-split hardware.
  2. Quantize toward FP4 early: With Trainium4 targeting 10x FP4 compute in 2H 2027, validating FP4 calibration and accuracy regressions on your production models pays off directly on next-generation AWS silicon.
  3. Measure TBT tail latency under mixed prompt lengths: The clearest signal that a workload benefits from Trainium3SR is decode jitter whenever long-context prefill bursts hit the same accelerator pool.

Continue reading

Related dispatches across technical domains.