i14 trained and served its linear attention model, Laplace 3B, on AWS Trainium2 using native PyTorch. AWS says the model’s recurrent state remains at 29.5 MB per sequence regardless of context length. This matters for serving because that state does not grow with context in the way the key-value cache of transformer models does.
The approach described is intended to keep serving memory predictable. The figure applies to the recurrent state per sequence; on its own, it does not describe the total memory required by a system.
The AWS post explains how Laplace 3B was trained and served on Trainium2 with native PyTorch. Further technical details are available in the original source: AWS Machine Learning Blog