Skip to content
DigitalNeuron
Chips & Infrastruktur

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.

Von DigitalNeuron Desk2 Min. Lesezeit

Kurze Antwort

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.

Das Wichtigste

  • 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.

Häufige Fragen

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.

Quellen

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

Passend dazu

AWS führt Modell-Caching ein, um Kaltstarts bei der Inferenz auf SageMaker HyperPod zu verkürzen

AWS hat Modell-Caching für Amazon SageMaker Inference auf HyperPod eingeführt. Die Funktion lädt Modellgewichte und Container-Images vorab auf die Cluster-Knoten, sodass Pods mit rund 7 GB/s von lokalem NVMe-Speicher statt über das Netzwerk lesen können. Dadurch beginnen Pods laut AWS in der Regel innerhalb von Sekunden statt zig Minuten mit der Verarbeitung von Traffic.

2 Min. Lesezeit

Analyse: Ein offenes Modell selbst hosten — die Rechnung, die darüber entscheidet, und die Kosten, die niemand einplant

Nur bei hoher, gleichmäßiger Auslastung. Eigenes Hosting verwandelt variable Kosten pro Token in feste Stundenkosten — das lohnt sich, solange die Beschleuniger durchgehend ausgelastet sind, und rächt sich empfindlich, sobald sie leerlaufen. Ein ehrlicher Vergleich bepreist den gesamten Stack — Beschleuniger-Stunden, Redundanz, Entwicklungszeit und die Evaluationsarbeit, die nötig ist, um zu bestätigen, dass das kleinere Modell ausreicht — gegen die API-Rechnung für denselben Traffic. Souveränität, Datenresidenz und Latenzuntergrenzen sind eigenständige Gründe, die eigenes Hosting unabhängig von dieser Rechnung rechtfertigen können.

6 Min. Lesezeit

Warum verbraucht KI so viel Strom?

KI-Beschleuniger verbrauchen pro Rack weitaus mehr Strom als herkömmliche Server, und diese Leistung muss kontinuierlich bereitgestellt, gekühlt und bezahlt werden. Das Training eines großen Modells ist ein einmaliger Spitzenbedarf; die Bereitstellung für Millionen von Benutzern ist eine permanente Last, und die Inferenz dominiert den Energieverbrauch über die Lebensdauer eines eingesetzten Modells.

4 Min. Lesezeit