The model's memory state stays at 29.5 MB per sequence, whatever the context length. AWS describes the work in a machine learning blog post.
Most large language models use transformer softmax attention, so their key-value (KV) cache grows as a conversation or document gets longer. AWS says this can reduce concurrency, raise serving cost and force agentic applications to discard useful history. Laplace 3B instead uses Gated Linear Attention, which compresses prior context into a fixed-size matrix state. That changes training attention cost from quadratic to linear in sequence length.
On one trn2.48xlarge instance, Laplace 3B trained at about 120,000 tokens per second. It served 11,544 output tokens per second across 1,280 concurrent sequences. Because the state compresses history instead of storing every key and value, AWS notes that retrieval quality needs evaluating for each workload.
The original model used GPU-optimized Triton kernels. The AWS Generative AI Innovation Center team replaced the attention kernel with standard PyTorch operators through the beta TorchNeuron Native backend. It also redesigned how the Muon optimizer communicates between chips, which cut per-rank traffic 24 times and raised throughput 1.63 times.