AWS Machine Learning Blog· Kevin Shabahang·· 11 天前精选
Laplace 3B 线性注意力模型在 AWS Trainium2 上训练与推理实验报告
Beyond the KV cache: Training and serving i14’s Laplace 3B linear attention model on AWS Trainium2 with native PyTorch
原始来源:AWS Machine Learning Blog阅读原始报道
AI 导读
i14 在 AWS Trainium2 上训练并推理 Laplace 3B 线性注意力模型。训练阶段在单节点单实例上实现约 120,000 tokens/秒的吞吐量,损失平滑下降至 2.3729;推理阶段通过未修改的 vLLM 引擎在 1,280 并发序列下实现 11,544 output tokens/秒。
推荐理由
原文展示了Laplace 3B在Trainium2上训练和推理的具体结果,读者可以了解到线性注意力模型在大规模训练和高并发推理下的性能表现及其固定状态带来的内存优势。
来源:AWS Machine Learning Blog · aws.amazon.com