AIToday
Large Language ModelsAI Business & IndustryAmazon AI BlogPublished: Oct 21, 2026, 10:00 JST

i14 runs Laplace 3B on Trainium2 via TorchNeuron Native

Send on LINE
i14 runs Laplace 3B on Trainium2 via TorchNeuron Native

3 Key Points

  1. What happened

    i14 used native PyTorch through TorchNeuron Native to run its Laplace 3B linear-attention model on AWS Trainium2, training at about 120,000 tokens per second on one trn2.48xlarge instance.

  2. Why it matters

    This shows Trainium2 can support custom architectures beyond standard transformers, giving teams an alternative to GPU-optimized kernels for specialized models.

WHO IT HITSAI teams building long-context agents and large-document analysis tools may gain a serving option where per-sequence memory stays fixed, making capacity planning more predictable, though they must evaluate retrieval quality for their workloads.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

Context & Analysis

i14 positions Laplace 3B as an alternative to standard transformer models, whose key-value cache grows with context and can reduce concurrency and increase serving cost. By replacing softmax attention with Gated Linear Attention, the model compresses history into a fixed-size recurrent state. Bringing this custom architecture to Trainium2 required more than a port: the original GPU-optimized Triton kernels had to be re-expressed with standard PyTorch operators, and the Muon optimizer's communication pattern was redesigned under FSDP2. The team chose the beta version of TorchNeuron Native after comparing approaches because it performed better. The reported training run, still in progress at about 44 billion of 100 billion tokens, showed a smooth loss decline and stable gradients. On the serving side, an unmodified vLLM engine matched i14's reference outputs token for token, and profiling showed that operator dispatch—not arithmetic or memory bandwidth—dominated decode time, which compiled decode addressed. These results suggest that Trainium2 can accommodate architectures beyond standard transformers, though teams would need to assess retrieval quality for their own workloads.

FAQ
How does Laplace 3B keep serving memory fixed?
It uses Gated Linear Attention to compress prior context into a recurrent state that stays at 29.5 MB per sequence, independent of context length, instead of a key-value cache that grows with context.
What changes did i14 make for Trainium2?
It replaced the GPU-specific Triton kernel with standard PyTorch operators, redesigned Muon communication to cut per-rank traffic by 24 times, and statically unrolled the GLA recurrence for the compiler.
What inference throughput did the model achieve?
Through an unmodified vLLM engine, it served 11,544 output tokens per second at 1,280 concurrent sequences on one trn2.48xlarge instance, with decode compilation raising throughput 1.7 times from eager.
Amazon AI BlogRead Original Article
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleWells Fargo's Faraz Shafiq: four keys to AI-led bank overhaul