KVキャッシュを持たないLLM「Laplace 3B」をAWS専用チップで動かす — メモリ使用量を固定化し1,280並列シーケンスを実現するまでの実装記録
DRANK

10月21日、AWSが「Beyond the KV cache: Training and serving i14's Laplace 3B linear attention model on AWS Trainium2 with native PyTorch」と題した記事を公開した。KVキャッシュを持たないLinear Attentionモデル「Laplace 3B」をAWS Trainium2上でトレーニング・サービングした実装レポートで、1,280並列シーケンス・シーケンスあたり29.5 MBの固定メモリという結果が示されている。

by @tf_official
Related Topics: Amazon Web Services AI Machine Learning