Skip to main content
← Back to News
AI Models

i14 Trains and Serves Laplace 3B Linear‑Attention Model on AWS Trainium2

i14 used native PyTorch on AWS Trainium2 to train and serve its Laplace 3B linear‑attention model, reporting high token‑per‑second rates.

Published: October 20, 2026By GetAISet Editorial

Original source published: October 20, 2026

i14’s Laplace 3B model replaces softmax attention with Gated Linear Attention (GLA), keeping a recurrent state of 29.5 MB per sequence regardless of context length. Working with AWS, the team ran the model on a trn2.48xlarge instance that houses 16 Trainium2 chips. Training reached roughly 120,000 tokens per second, while inference served about 11,544 output tokens per second across 1,280 concurrent sequences.

To adapt the model for Trainium2, three changes were made: the GLA kernel was rewritten with standard PyTorch operators via TorchNeuron Native; Muon’s communication was redesigned using two all‑to‑all collectives, cutting per‑rank traffic by 24 × and raising throughput by 1.63 ×; and the sequential backward pass was statically unrolled to fit the compiler’s graph‑size limits. These steps demonstrate how linear‑attention models can achieve fixed‑size inference memory and scalable performance on specialized AI accelerators.