Hi, I am loading the site

Lawing Tech

​

Skip to content
Lawing Tech

Technology watch

News

What matters in cybersecurity, cloud and telecoms, CCTV, software, artificial intelligence and public sector IT, with the essential tech news from Benin and the world. Every article is built on public sources, cited at its end.

Loading the news

Back to news

i14 optimizes its Laplace 3B model on AWS Trainium2 with PyTorch for ultra-efficient linear attention

The i14 lab has optimized its Laplace 3B model to run on AWS Trainium2 processors, replacing Triton kernels with native PyTorch operators. This adaptation enables more efficient linear attention, with a fixed recurrent state of 29.5 MB per sequence, independent of context length. Performance reaches 120,000 tokens/second during training and 11,544 tokens/second during serving on a trn2.48xlarge instance.

by Lawing Tech Newsroom (4 min read)

i14 optimizes its Laplace 3B model on AWS Trainium2 with PyTorch for ultra-efficient linear attention
Video: AWS Machine Learning: Beyond the KV cache: Training and serving i14’s Laplace 3B linear attenti (AI Daily Radar, YouTube)

A linear attention model designed to bypass the limits of the KV cache

The Laplace 3B model, developed by the i14 lab, relies on a linear attention architecture rather than the classic softmax attention mechanism used by most large language models (LLMs). Unlike traditional transformer architectures, whose key-value (KV) cache grows with context length, Laplace 3B maintains a fixed recurrent state of 29.5 MB per sequence, regardless of the text size processed. This approach, based on Gated Linear Attention (GLA), compresses data history into a constant-size matrix, reducing attention computational complexity from O(T²) to O(T), according to explanations provided by the AWS Machine Learning blog.

This innovation addresses a major challenge of current models: managing long contexts. By eliminating dependence on an extensible KV cache, Laplace 3B paves the way for applications requiring persistent and predictable memory, such as long-term conversational agents or analysis of large documents, where serving requirements are stable and predictable.

Laplace 3B’s linear attention compresses history into a fixed recurrent state, eliminating dependence on an extensible KV cache and enabling applications requiring persistent and predictable memory.

NeuronCore-v3 internal architecture
Image: NeuronCore-v3 internal architecture (Amazon Web Services, official image)

A collaboration between i14 and AWS for a native implementation on Trainium2

To fully leverage the capabilities of the AWS Trainium2 processor, i14 and AWS collaborated on a complete rewrite of Laplace 3B’s implementation. The model, initially optimized for GPUs with specific Triton kernels, was reimplemented using standard PyTorch operators, compatible with Trainium2’s native PyTorch support via TorchNeuron Native. This adaptation allowed the team to take advantage of the processor’s hardware-specific features, including its software-managed on-chip memory (SBUF), composed of 128 partitions of 28 MiB each, as well as its 128×128 Tensor Engine.

Optimizations include a static unrolling of the GLA recurrence over 16 steps, necessary to meet Trainium2’s graph size and on-chip memory constraints. Additionally, the MuonFSDP2 optimizer was used to reduce inter-processor communication traffic by 24 times while increasing throughput by 1.63 times, as detailed in the performance metrics measured on a trn2.48xlarge instance (16 Trainium2 chips).

Laplace decoder layer architecture
Image: Laplace decoder layer architecture (Amazon Web Services, official image)

Record-breaking performance in training and serving on a single instance

The results obtained on the trn2.48xlarge instance are significant: Laplace 3B achieves a throughput of 120,000 tokens/second in training and a throughput of 11,544 output tokens/second in serving, while handling up to 1,280 concurrent sequences. These figures illustrate the efficiency of the optimized architecture for demanding workloads, where latency and scalability are critical.

The use of the Muon optimizer, combined with variable half-life geometric decay rates (from 1 to 2,048 tokens), enables dynamic management of attention on long sequences. This flexibility strengthens the model’s adaptability to varied use cases while maintaining controlled memory consumption.

What this means for businesses and administrations in West Africa

For Beninese or West African organizations working on projects requiring high-performance language models with long contexts, such as legal or administrative document analysis, or developing virtual assistants for customer service, this advancement could offer more cost-effective and scalable solutions. Independence from an extensible KV cache would reduce infrastructure costs, particularly for administrations handling large volumes of textual data without investing in high-end servers.

Local companies specializing in natural language processing or data science could also leverage architectures like Laplace 3B to deploy lightweight yet powerful models, tailored to the bandwidth and computational constraints often limited in West Africa. However, adoption would depend on the availability of AWS Trainium2 instances in the region, as well as the technical teams’ ability to integrate tools like PyTorch and TorchNeuron into their existing pipelines.

Finally, for public actors such as the Beninese government or regional institutions, this technology could inspire initiatives aimed at modernizing document management systems or improving access to digital services, provided that hosting costs on advanced cloud infrastructures remain affordable and aligned with local budgets.

Sources

  1. Beyond the KV cache: Training and serving i14’s Laplace 3B linear attention model on AWS Trainium2 with native PyTorchAmazon Web Services, 20 October 2026
  2. Training linear-attention Laplace 3B on AWS…AGI Hunt, 20 October 2026

Prepared by Lawing Tech's technology watch from the sources cited. Our editorial charter

Latest articles

  1. Amazon ECS Gateway: A Turnkey Solution to Simplify ECS Container Ingress Networking
  2. Gallagher Security Receives NPSA Approval for Its High Sec T30 Biometric Keyboard: A Benchmark in Critical Security
  3. Stanbic Bank Ghana and RD Technologies Test Stablecoins for B2B Cross-Border Payments to Asia
  4. CERT-FR warns of actively exploited critical vulnerabilities: from Windows to Danfoss, systems under scrutiny
  5. TwelveLabs Pegasus 1.5 on Amazon Bedrock: Video Segmentation and Real-Time Processing Now Accessible
  6. The ARCEP of Benin Publishes the Updated List of Approved Radio Equipment and Terminals as of September 30, 2026
  7. ECOWAS and AES: a framework cooperation agreement in preparation after the Dakar ministerial meeting
  8. Drone attack on the chemical tanker Wine Trader: nine Beninese sailors among the missing in the Black Sea
  9. SiteGuard Server Edition: A Critical Flaw (CVE-2026-106931) Exploited to Gain Server Control
  10. The Regulatory Council Rejects Allegations of Irregularities in the GBESSOKE Programme: What Consequences for Public and Private Actors?
  11. Chain Attack via ConnectWise Cloud Backup: How Hackers Exploited Microsoft 365
  12. Databricks Generalizes Multi-Statement Transactions on Its Lakehouse: A Revolution for Data Consistency
  13. The UK’s CMA considers granting Microsoft strategic status in professional software
  14. GSMA Reveals How Digital Reforms Could Connect an Additional 1.13 Million Malagasy People by 2031
  15. Badlands Security Acquires Cosmic Fischer: Consolidating Security Solutions in New York
  16. The ARMP excludes a PRMP from public procurement for five years: principles of equality and transparency violated
  17. BlockStrap: A Critical Flaw in Magento and Adobe Commerce Exposes Servers to Arbitrary Code Execution
  18. AWS Uses Amazon Bedrock AgentCore to Monitor AI Agent Quality in Production and Fix Critical Errors
  19. GCB Bank PLC Joins CIPS to Accelerate Yuan Payments Between Ghana and China
  20. Threat Actors Exploit Critical Flaw in Collabora Online to Compromise Nextcloud
  21. The CNIL lifts injunction against Google after compliance with cookie and ad rules in Gmail
  22. Lumana and Convergint Join Forces for Global AI Video Surveillance
  23. The ARMP trains public actors on the Technical Audit Framework for Public Procurement at the CREFCoP
  24. Palo Alto Networks warns of a critical flaw CVE-2026-0322 exploited in attacks targeting its firewalls
  25. MTN Launches 2026 Hackathon to Accelerate AI, Fintech, and AI-RAN Networks Across Africa
  26. Airtel Gabon and ZTE Launch Africa Central’s First Massive MIMO FDD+TDD Antenna
  27. Axis Communications Unveils AXIS OS 13: Enhanced Cybersecurity and Network Device Integration
  28. The FGI-AC 2026 in N’Djamena: Digital Sovereignty and Innovation in Central Africa
  29. UTA0576 exploits three zero-day vulnerabilities in Ivanti Connect Secure: root access and credential theft underway
  30. Amazon Bedrock and AWS Launch AI Agents Capable of Automatically Paying for Protected Web Resources
  31. HID Professional Services deploys Crescendo cards to modernize physical access and prepare for FIDO2
  32. BCEAO and AfDB Join Forces to Boost Development Financing in West Africa
  33. Ledger Discovers Fraudulent Hardware Implant in Wallets Sold by CryptoBilis: $86 Million in Crypto Stolen
  34. Amazon Bedrock expands access to GPT-6 models Sol, Luna, and Astra in Southeast Asia and Taiwan via cross-region inference
  35. Cloud Temple Launches a European Consortium for a Sovereign and Secure Cloud with Thales, Bull, and CEA
  36. Malware incident at Nippon Columbia: 8.6 million customer records exposed without affecting Daiichi Kosho systems
  37. OrcaRouter Launches OrcaCyber Zero 1.5: A Cybersecurity-Dedicated Model with a 1-Million-Token Context Window
  38. ABLOY expands its CUMULUS solution to cylinders for mobile key-free access, enhancing security and flexible management
  39. California Launches Unified Dashboard for Behavioral Health Thanks to Databricks
  40. Benin Launches Its AI and Cybersecurity Strategy: The 2026 CDSI Sets the Foundations for a Local Digital Ecosystem

All the news