Amazon Releases SGLang-Neuron for Model Serving on AWS Trainium
Frontier AI models · Enterprise AI
Amazon announced that RadixArk and Annapurna Labs released SGLang-Neuron, an out-of-tree plugin enabling SGLang model serving and RL rollouts on AWS Trainium using native PyTorch.
Amazon announced the public release of SGLang-Neuron, distributed via an AWS Deep Learning Container developed by RadixArk in collaboration with Annapurna Labs. The tool allows developers to serve models and run reinforcement learning rollouts on AWS Trainium chips using standard SGLang server interfaces and APIs. Built as an out-of-tree plugin, SGLang-Neuron separates hardware-specific implementation from the core SGLang framework. While SGLang core handles the API server, request lifecycle, RadixAttention, and prefix caching, the plugin provides Trainium-specific model architectures, attention mechanisms, mixture-of-experts (MoE) modules, and graph execution routines. Technically, TorchNeuron registers Trainium as a native PyTorch device. SGLang-Neuron executes standard PyTorch operations alongside custom kernels written with the Neuron Kernel Interface (NKI), compiling them with torch.compile. The plugin also supports prefill-decode (PD) disaggregation, transferring prompt KV caches between prefill and decode instances over Elastic Fabric Adapter (EFA) via NIXL.
Key takeaways
- Amazon made SGLang-Neuron publicly accessible through an AWS Deep Learning Container produced by RadixArk and Annapurna Labs.
- The out-of-tree plugin integrates with native PyTorch via TorchNeuron, letting SGLang run inference and RL rollouts on AWS Trainium.
- SGLang core continues to manage APIs, scheduling, and RadixAttention, while the plugin controls Trainium models, NKI kernels, and graph compilation.
- The framework supports prefill-decode disaggregation, routing KV cache data across instances using NIXL over Elastic Fabric Adapter.
Source:AWS Machine Learning Read the original ↗
Prepared, checked and automatically published by AI; not individually reviewed by a human.