Open Source
Explore the latest AI open-source projects from GitHub and HuggingFace.
Explore the latest AI open-source projects from GitHub and HuggingFace.
TrnRT is an open inference engine for large language models on AWS Trainium, built by RunAnywhere. It serves an OpenAI-compatible API (chat and completions, streaming, tool calls and reasoning output) from a single trn2.48xlarge instance and runs decode as NKI megakernels, roughly one fused kernel per layer half covering KDA attention, the fused DSA layer, mHC and the MoE feed-forward block. The engine keeps a prefix cache built as a radix tree over FP8 KV pages with a host-memory tier for evicted pages and state checkpoints, and it runs two engines per box, each tensor-parallel over 32 logical NeuronCores behind a session-affine router. Graphs are compiled offline on any x86_64 CPU host, so the serving machine loads them and compiles nothing by default. GLM-5.3-Flash (a 320B MoE with 18B active parameters, FP8, 1M-token context) is the only supported model at the moment; the README lists further open models as planned and points to a model-request template. The README reports a SemiAnalysis AgentX run of coding-agent sessions at a 1M-token context with 32 concurrent agents, one hour per point: at decode batch 12 it reached 3.57M tokens per minute and 28.9 requests per minute, about $0.040 per million tokens at the spot price of $8.60/h and $0.167 on a capacity block. It notes these figures came from an earlier build and lists the checks this repository passes against that build. Setup needs Docker, a trn2.48xlarge to serve on and Neuron SDK 2.32 with Python 3.13. The repository includes a CPU-only test suite, docs on architecture, deployment and kernels, and is Apache-2.0 licensed.