AWS Machine Learning Blog· Kevin Shabahang·· 2026-10-21AI 评分50
i14 与 AWS 在 Trainium2 上用原生 PyTorch 训练并服务 Laplace 3B 线性注意力模型
Beyond the KV cache: Training and serving i14’s Laplace 3B linear attention model on AWS Trainium2 with native PyTorch
AI 导读
i14 与 AWS 合作,用 TorchNeuron Native 的原生 PyTorch 支持把基于 Gated Linear Attention 的 Laplace 3B 移植到 AWS Trainium2,并完成训练与推理验证。该模型共 3.028B 参数、24 层解码器、隐藏维度 3,072、16 个注意力头,每序列循环状态固定为 29.5 MB,不随上下文长度增长;在单台 trn2.48xlarge 上训练吞吐约 120,000 tokens/秒,训练至 84,210 步时 loss 从约 11.4 降至 2.3729。推理侧通过未修改的 vLLM 引擎在 1,280 条并发序列下达到 11,544 输出 tokens/秒,提示词从 2,048 增至 8,192 tokens 时每输出 token 成本仅增加 0.5%。
来源:AWS Machine Learning Blog · aws.amazon.com