Skip to content
DigitalNeuron
Chips e infraestructura

AWS Makes SGLang-Neuron Publicly Available for Trainium Chips

AWS announced that SGLang-Neuron, a plugin for running SGLang on AWS Trainium chips, is now publicly available through an AWS Deep Learning Container.

Por DigitalNeuron Desk2 min de lectura

Respuesta rápida

What did AWS announce about running SGLang on its Trainium AI chips?

AWS announced that SGLang-Neuron, built by RadixArk with Amazon's Annapurna Labs, is now publicly available through an AWS Deep Learning Container. AWS says the plugin lets developers serve models and generate reinforcement learning rollouts with SGLang on AWS Trainium chips, using the same SGLang server interface and generation APIs they already use.

Claves

  • AWS announced that SGLang-Neuron is now publicly available through an AWS Deep Learning Container, released by RadixArk in collaboration with Amazon's Annapurna Labs.
  • AWS says the plugin lets developers run SGLang's existing server interface and generation APIs on AWS Trainium chips, including for serving models and generating reinforcement learning rollouts.
  • According to AWS, SGLang-Neuron is an out-of-tree plugin: SGLang core continues to handle the API server, request lifecycle, RadixAttention, and prefix-cache bookkeeping, while the plugin handles Trainium-specific models, attention, and mixture-of-experts execution.
  • AWS says the plugin runs on native PyTorch through TorchNeuron, using standard PyTorch operations plus kernels written with the Neuron Kernel Interface, compiled with torch.compile.
  • AWS says SGLang-Neuron supports prefill-decode disaggregation, with a prefill server transferring the prompt KV cache to a decode server using NIXL over Elastic Fabric Adapter.

What AWS announced

Amazon said SGLang-Neuron is now publicly available, accessible through an AWS Deep Learning Container. AWS says the plugin was released by RadixArk in collaboration with Annapurna Labs, the Amazon group that develops the Trainium chips.

AWS says SGLang-Neuron lets developers serve models and generate reinforcement learning rollouts with SGLang on AWS Trainium, using the same SGLang server interface and generation APIs they already use. Trainium is AWS's own line of AI chips, which the company describes as built for training and inference economics at scale.

How the plugin works

According to AWS, SGLang-Neuron is an out-of-tree plugin, meaning it connects to SGLang without being built into the core project. Installing the plugin registers a "neuron" platform through SGLang's plugin entry points, and setting the environment variable SGLANG_PLATFORM=neuron selects it when the server starts.

AWS says SGLang core keeps handling the API server, request lifecycle, RadixAttention, and prefix-cache bookkeeping, while the plugin itself implements the Trainium-specific models, attention, mixture-of-experts (MoE) handling, and the graph runner. AWS says this separation lets Trainium support and SGLang's core development move independently.

AWS says the plugin runs through TorchNeuron, which registers Trainium as a native PyTorch device. SGLang-Neuron uses standard PyTorch operations for model execution and adds kernels written with the Neuron Kernel Interface (NKI) for performance, compiling the combination with torch.compile. A graph runner then prepares and executes these compiled programs during serving.

AWS also says SGLang-Neuron supports prefill-decode (PD) disaggregation. In that setup, a prefill server computes the prompt's KV cache and transfers it to a separate decode server using NIXL over Elastic Fabric Adapter (EFA); the decode server then generates the remaining tokens. AWS says each server continues to use SGLang's own scheduler and request lifecycle, with the plugin managing Trainium execution and the KV-cache transfer.

Getting started

AWS published a walkthrough for serving models with SGLang-Neuron on a Trainium3 Amazon EC2 instance using a container called pytorch-inference-sglang-neuronx. The steps AWS outlined are:

  • Start the container using the published Docker image.
  • Launch the SGLang model server inside the container with SGLANG_PLATFORM=neuron set, specifying a model path and serving parameters such as tensor-parallel size, expert-parallel size, and context length. AWS's example uses the openai/gpt-oss-120b model.
  • Send a request to the running server through its chat completions endpoint.

AWS pointed to a SGLang-Neuron getting-started guide and the project's repository documentation for details on supported models, features, and validated configurations. AWS said developers can get started by launching the SGLang-Neuron container and following the quickstart, and invited feedback through the project repository to help shape future model and feature support.

Source: AWS Machine Learning Blog, "Deploy frontier AI models on AWS Trainium with SGLang-Neuron," published Nov. 12, 2026.

Preguntas frecuentes

What is SGLang-Neuron?
AWS describes it as a plugin that connects SGLang, an existing model-serving framework, to AWS Trainium chips, so developers can run SGLang on Trainium through the same interface and APIs they already use.
Who built SGLang-Neuron?
AWS says it was released by RadixArk in collaboration with Annapurna Labs, the Amazon unit that develops the Trainium chips.
How can developers get access to it?
AWS said SGLang-Neuron is available through an AWS Deep Learning Container, and published a walkthrough that uses a Trainium3 Amazon EC2 instance running a pytorch-inference-sglang-neuronx container.
What technical capabilities does AWS say the plugin has?
AWS says the plugin implements Trainium-specific models, attention, and mixture-of-experts handling, runs on native PyTorch via TorchNeuron, and supports prefill-decode disaggregation that transfers KV cache between servers using NIXL over Elastic Fabric Adapter.

Fuentes

  1. Deploy frontier AI models on AWS Trainium with SGLang-Neuron | Artificial Intelligence — Amazon Web Services (AWS)
Etiquetasawstrainiumsglangpytorchinferenceannapurna-labs

Lecturas relacionadas

AWS lanza el almacenamiento en caché de modelos para reducir los arranques en frío de inferencia en SageMaker HyperPod

AWS launched model caching for Amazon SageMaker Inference on HyperPod. The feature pre-loads model weights and container images onto cluster nodes so pods can read from local NVMe storage at about 7 GB/s instead of downloading over the network, letting pods typically start serving traffic in seconds rather than tens of minutes, AWS says.

3 min de lectura

Análisis: alojar por cuenta propia un modelo de pesos abiertos, la aritmética que determina si compensa y los costes que nadie presupuesta

Solo con una utilización elevada y constante. El alojamiento propio transforma un coste variable por token en un coste fijo por hora, de modo que resulta ventajoso cuando los aceleradores se mantienen ocupados y muy desfavorable cuando están inactivos. Una comparación rigurosa debe contraponer el coste de toda la infraestructura —horas de acelerador, redundancia, tiempo de ingeniería y el trabajo de evaluación necesario para confirmar que el modelo más pequeño ofrece una calidad suficiente— con la factura de la API para el mismo volumen de tráfico. La soberanía, la residencia de los datos y los requisitos mínimos de latencia son motivos independientes que pueden justificar el alojamiento propio al margen de los cálculos.

7 min de lectura

¿Por qué la IA consume tanta electricidad?

Los aceleradores de IA consumen mucha más energía por rack que los servidores tradicionales, y esa energía debe ser suministrada, enfriada y pagada continuamente. Entrenar un modelo grande es un pico puntual; servirlo a millones de usuarios es una carga permanente, y la inferencia es lo que domina el uso de energía durante la vida útil de un modelo desplegado.

4 min de lectura