Exa 借助 AWS AI 芯片将嵌入吞吐提升 50%,支撑数十亿文档索引
Exa boosts embedding throughput by 50% to index billions of documents on AWS AI chips
阅读原文
本站未展示全文,请前往来源网站阅读。
AI 导读
Exa 在 AWS Inferentia2 与 Trainium2 上优化嵌入推理,吞吐提升约 1.5 倍(50%),用于索引数十亿级网页文档。优化手段包括权重布局调整、autocast 降精度(余弦相似度 0.999 通过正确性门槛)、NKI 注意力与自定义 fused SwiGLU MLP kernel,以及按模型实际形状重写注意力 kernel 减少 FLOPS 浪费。
来源:AWS Machine Learning Blog · aws.amazon.com