AI product Open source
TrnRT is an open-source LLM inference engine developed by RunAnywhere for AWS Trainium2. It serves an OpenAI-compatible API from a trn2.48xlarge instance and currently supports GLM-5.3-Flash.
Its decode path uses Neuron Kernel Interface (NKI) megakernels, with fused kernels for attention, the DSA layer, mHC, and the MoE feed-forward network. It supports a 1M-token context through sparse and linear attention, maintains a radix-tree prefix cache over FP8 KV pages with host-memory eviction, and uses two tensor-parallel engines behind a session-affine router. The repository includes offline compilation on an x86_64 host, Docker-based serving, chat and completion endpoints, streaming, tool calls, and reasoning output. It is distributed under the Apache License 2.0.
1 use taken from transcripts — each links to the moment in the video.
An open-source LLM inference engine for AWS Trainium 2 serving an OpenAI-compatible API from a single Trainium 2 instance, running GLM 5.3 flash with fused decode kernels in NKI, a prefix cache and a 1 million token context.
1 in the library.