cd /news/ai-infrastructure/deploy-frontier-ai-models-on-aws-tra… · home › topics › ai-infrastructure › article
[ARTICLE · art-168675] src=aws.amazon.com ↗ pub= topic=ai-infrastructure verified=true sentiment=↑ positive

Deploy frontier AI models on AWS Trainium with SGLang-Neuron

Amazon announced that SGLang-Neuron, an out-of-tree plugin connecting the SGLang serving framework to AWS Trainium chips, is publicly available through an AWS Deep Learning Container released by RadixArk in collaboration with Annapurna Labs. The plugin runs on native PyTorch via TorchNeuron, uses Neuron Kernel Interface (NKI) kernels compiled with torch.compile, and is selected by setting SGLANG_PLATFORM=neuron, while SGLang core continues to handle the API server, request lifecycle, RadixAttention and prefix-cache bookkeeping. SGLang-Neuron also supports prefill-decode disaggregation, transferring the prompt KV cache from a prefill server to a decode server over Elastic Fabric Adapter (EFA) using NIXL, and the walkthrough uses a Trainium3 Amazon EC2 instance with a pytorch-inference-sglang-neuronx container.

by read2 min views2 publishedNov 12, 2026
Deploy frontier AI models on AWS Trainium with SGLang-Neuron
Image: AWS ML Blog

Artificial Intelligence #

Today, Amazon announced that SGLang-Neuron is publicly available and can be accessed through an AWS Deep Learning Container, released by RadixArk in collaboration with Annapurna Labs. With SGLang-Neuron, you can serve models and generate reinforcement learning (RL) rollouts with SGLang on AWS Trainium using the same SGLang interface you use today. Trainium is a portfolio of AWS AI chips that delivers strong economics for AI training and inference at scale. Now, running SGLang on Trainium follows the SGLang workflow you already know: you launch models through SGLang’s server interface and invoke the endpoint using the same generation APIs. Underneath that interface, SGLang-Neuron runs on native PyTorch. With its out-of-tree plugin design, Trainium support and SGLang core develop independently and iterate faster.

How SGLang runs on Trainium #

SGLang-Neuron is an out-of-tree plugin that connects SGLang with AWS Trainium. Installing the plugin registers the neuron platform through SGLang’s plugin entry points, and setting SGLANG_PLATFORM=neuron selects it when the server starts. SGLang core continues to provide the API server, request lifecycle, RadixAttention, and prefix-cache bookkeeping. The plugin implements the Trainium-specific models, attention, mixture of experts (MoE), and the graph runner.

TorchNeuron registers Trainium as a native PyTorch device. SGLang-Neuron uses standard PyTorch operations for the model execution path and incorporates kernels written with the Neuron Kernel Interface (NKI) for performance. It compiles these operations and kernels into executable programs using torch.compile, which the graph runner prepares and executes during serving.

SGLang-Neuron also supports PD disaggregation. In this configuration, a prefill server computes the prompt KV cache and transfers it to a decode server using NIXL over Elastic Fabric Adapter (EFA). The decode server then generates the remaining tokens. Each server still uses SGLang’s scheduler and request lifecycle, while the plugin manages the Trainium execution and KV-cache transfer path.

Serving models on AWS Trainium using SGLang-Neuron #

To follow this walkthrough, you use a Trainium3 Amazon Elastic Compute Cloud (Amazon EC2) instance with a pytorch-inference-sglang-neuronx container. Here are the steps:

  1. Start the container.
  2. Launch the SGLang model server inside the container.
  3. Send a request to the model server.

For additional information, please see the SGLang-Neuron getting started guide for setup instructions, and explore the repository documentation for supported models, features, and validated configurations.

Conclusion #

SGLang-Neuron brings SGLang’s familiar serving workflow to AWS Trainium through native PyTorch. You can get started by launching the SGLang-Neuron container and following the quickstart to serve a supported model. Try it with your workloads, contribute through the project repository, and share feedback to help shape future model and feature support.

── more in #ai-infrastructure 4 stories · sorted by recency
── more on @amazon 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/deploy-frontier-ai-m…] indexed:0 read:2min 2026-11-12 · —