Journal of the AI UniverseDaily AI News UpdatesCharting the universe of AI with the evidence behind it

RKVarma AI Universe ✦ R&D Intelligence · company 04 of 50

04 Amazon (AWS)

AI hardware and software R&D at Amazon (AWS), from every daily edition, newest first · Curated by Dr.P.R.K.Varma

4 min read

Hardware

22 October 2026

21 October 2026

Full write-up from 22 October 2026

1. Company and research division. AWS Generative AI Innovation Center and AWS Neuron (Trainium), with the research company i14.

2. Date of publication / announcement. 20 October 2026 (AWS Machine Learning blog; indexed in our feeds at 21 October 2026, 02:44 IST). Related follow-ups: 'Profiling TorchNeuron (Part 1)' on the Hugging Face blog (21 October 2026) and 'Train Qwen3 on AWS Trainium with torchtitan' (AWS blog, 21 October 2026, US time); these two were not reviewed in detail.

3. Research title and field. Beyond the KV cache: training and serving i14's Laplace 3B linear-attention model on AWS Trainium2 with native PyTorch. Field: efficient model architectures (linear attention), accelerator software co-design.

4. Research background. Standard transformers keep a key-value (KV) cache that grows with every token of context, which limits how many conversations a server can hold and raises the cost of long agent sessions. Linear-attention models instead compress history into a fixed-size recurrent state, but they need custom kernels that are usually written for GPUs.

5. Scientific innovation. Laplace 3B replaces softmax attention in all 24 layers with gated linear attention (GLA). Each head keeps a fixed 96 × 192 state with a fixed decay rate; the 16 heads span memories from about one token to about 2,048 tokens. The serving state is 29.5 MB per sequence whatever the context length. The engineering novelty is porting this to Trainium2 through the beta TorchNeuron native PyTorch backend instead of hand-written kernels: the chunked recurrence is expressed in standard PyTorch, chunks of 128 tokens map one-to-one onto the 128 partitions of the NeuronCore on-chip buffer, and the Muon optimiser's orthogonalisation is redistributed with all_to_all collectives.

6. Methodology. Model: 3.03 billion parameters, 24 layers, hidden size 3,072, trained on FineWeb-Edu (100 billion tokens planned) with Muon for matrices and AdamW for the rest. Hardware: one trn2.48xlarge (16 Trainium2 chips, 64 logical NeuronCores, NeuronLink-v3). The backward pass was statically unrolled over 16 chunks; 32 chunks overflowed the compiler scheduler and 8 chunks spilled to HBM. Inference used an unmodified vLLM engine with one fixed state page per sequence.

7. Results.

  • Training: about 120,000 tokens per second, steady through step 84,210 (about 44 billion tokens); loss fell from about 11.4 to 2.3729 with no divergence.
  • Muon communication: per-rank traffic fell from 10.87 GB to 0.45 GB per step (24 times less), raising throughput from 73,378 to 119,934 tokens per second (1.63 times), with a bit-identical loss curve.
  • Matching chunk size to the 128 on-chip partitions added 14% throughput.
  • Serving: 11,544 output tokens per second at 1,280 concurrent sequences; compiling the decode step gave 1.7 times over eager mode.
  • The fixed state is about 82 times smaller than a comparable KV cache at 8,192 tokens; going from 2,048- to 8,192-token prompts raised cost per output token by only 0.5%.
  • Under realistic staggered arrivals, first-use compilation of new batch widths took 1.1% of steps but 47.5% of decode time until batch widths were padded to fixed sizes.

8. Scientific significance. This is concrete evidence that a non-transformer architecture can be trained and served on non-NVIDIA silicon through standard PyTorch without custom kernels, and that fixed-state models remove context length as a driver of serving memory. The finding that operator dispatch and shape recompilation, not arithmetic or HBM bandwidth, dominated decode time is a useful lesson for anyone benchmarking accelerators.

9. Technical limitations.

  • Training was still in progress (about 44 of 100 billion tokens), and no downstream accuracy or long-context retrieval benchmarks were reported. The authors note that compressed state must be checked for retrieval quality.
  • Results come from one instance and one vendor-written post; nothing has been independently reproduced.
  • Compiled decode differs slightly from eager output because of BF16 reassociation, so exact reproducibility needs eager mode.

10. Technology readiness and evidence type. Validated prototype (model mid-training; serving demonstrated). Evidence: vendor and customer technical blog with detailed measurements (company-reported).

11. Competitive comparison. The post compares Laplace 3B with a comparable transformer's KV cache, not with other linear-attention or state-space models (for example Mamba-class models) on GPUs, so cross-hardware efficiency cannot be judged. It complements the TorchNeuron launch covered in the previous edition by showing a non-standard architecture running on that backend.

12. Future research (1–5 years) — FORECAST. FORECAST (1–5 years): hybrid and linear-attention models are likely to gain ground for long-running agents because their serving memory is flat; accelerator compilers will need better support for sequential recurrences and dynamic shapes.

13. Original references.

In the 22 October 2026 report →