DigestAI news desk

Cut through the AI noise.

Hardware & Compute6 min read

Exa boosts embedding throughput 50% to index billions of documents on AWS AI chips

Exa, a web‑indexing company, upgraded its embedding pipeline to handle tens to hundreds of billions of documents. During a backfill it re‑embedded 30 billion high‑priority documents, temporarily doubling the embedding load and prompting a hardware review.

1 source primary source

Key points

  • Exa re‑embedded 30 billion priority documents, doubling embedding load during migration
  • Optimizations on AWS Inferentia2 and Trainium2 delivered a 47% cost‑performance boost, roughly 1.5× throughput increase
  • Final system achieves 50% higher throughput, cutting cost per 1 million embedded documents

The team switched to AWS Neuron hardware – Inferentia2 and Trainium2 – and applied a series of compiler and kernel optimizations, including weight layout changes, autocast, custom NKI kernels, a fused SwiGLU MLP kernel, and attention‑specific FLOPS reductions. These steps raised raw throughput about 1.5× and cut cost per million documents by 47%, yielding an overall 50% improvement in performance‑per‑dollar.

The optimizations were driven by agentic workflows using Flyte, where lightweight agents tuned compiler parameters and correctness checks, while reasoning agents identified bottlenecks and code‑generator agents wrote custom kernels. Exa now schedules compute across multiple AWS regions, comparing performance per dollar and packing pods onto the cheapest nodes, allowing the gains from Inferentia2 to transfer to Trainium2. The result is a more flexible, cost‑effective embedding infrastructure that supports Exa’s large‑scale semantic search and agent‑grounded applications.

Full story from AWS Machine Learning Blog · by Summer Devlin primary sourceOpen source ↗
Topics · follow one to build your own front page

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.

Comments

via GitHub Discussions

More in Hardware & Compute

All →

Related stories