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.
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. Trainium3 | Architectural Problem Solved |
|---|---|---|
| FP4 Compute Throughput | 10x | Massive prefill acceleration and high-batch MoE expert computation |
| Memory Bandwidth | 5x | Raises the single-stream and batched decode token-rate ceiling |
| Memory Capacity | 2x | Fits larger models and deeper KV caches with fewer tensor-parallel splits |
| Power Efficiency | 2x | Cuts 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:
- 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.
- 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.
- 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.
