News

AWS gives Trainium3SR a separate SRAM chip for inference decode

The system keeps prompt processing on Trainium3 and assigns token generation to a dedicated chip. AWS is offering it in limited preview.
Network cables connect equipment in a row of server racks.

Illustrative image: Sergei Starostin / Pexels on Pexels

AWS has split two stages of language model inference between different devices in Trainium3SR. A Trainium3 accelerator handles prefill, processing the incoming prompt. A second chip built around SRAM handles decode, generating the answer one token at a time. The devices are linked over a high-speed network and presented through one software stack.

During prefill, Trainium3 can work across the prompt in parallel and build the initial attention state. The subsequent decode step repeatedly reads the model’s weights and draws on the state accumulated so far. Local SRAM gives the second device a faster route to data it needs repeatedly. The handover still has a cost. Decode needs the attention state built during prefill, so the link between the two devices introduces a transfer into the path to the first output token.

On its own Ergo model, AWS reports up to 2,200 output tokens per second with both devices working together, against more than 400 tokens per second on Trainium3 alone. These are output rates for that model; they do not show how long a user waits for the first token. AWS has opened a limited preview and plans to add capacity over the following months.

Sources

Network cabling and server hardware in a data centre, shown for context. Photo: Sergei Starostin / Pexels. Image source · Pexels licence. Resized for web.

Continue reading