Skip to content
DigitalNeuron
반도체·인프라

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.

DigitalNeuron Desk2분 읽기

한 줄 답

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.

핵심 요약

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

자주 묻는 질문

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.

출처

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

함께 읽기

AWS, 세이지메이커 하이퍼포드에 모델 캐싱 도입…추론 콜드 스타트 시간 단축

AWS는 하이퍼포드용 아마존 세이지메이커 인퍼런스의 모델 캐싱 기능을 출시했다. 이 기능은 모델 가중치와 컨테이너 이미지를 클러스터 노드에 미리 로드해, 파드가 네트워크를 통해 내려받는 대신 로컬 NVMe 스토리지에서 초당 약 7GB 속도로 데이터를 읽도록 한다. AWS에 따르면 이를 통해 파드는 보통 수십 분이 아닌 몇 초 만에 트래픽 처리를 시작할 수 있다.

2분 읽기

분석: 오픈 웨이트 모델 자체호스팅 — 결정을 가르는 산수와, 아무도 예산에 안 넣는 비용들

가동률이 높고 «꾸준할 때»만 그렇다. 자체호스팅은 토큰당 변동비를 시간당 고정비로 바꾼다 — 가속기가 계속 바쁘면 이기고, 놀면 크게 진다. 정직한 비교는 스택 전체에 값을 매긴다: 가속기 시간, 이중화, 엔지니어 시간, 그리고 «더 작은 모델로도 충분한가»를 확인하는 평가 작업까지. 같은 트래픽에 대한 API 청구서와 그것을 견준다. 데이터 주권·데이터 소재지·지연 하한은 산수와 무관하게 자체호스팅을 정당화할 수 있는 별개의 이유다.

6분 읽기

AI 는 왜 전기를 그렇게 많이 쓰는가

AI 가속기는 랙당 전력이 기존 서버보다 훨씬 크고, 그 전력을 계속 공급하고 식히고 지불해야 한다. 대형 모델 학습은 한 번의 스파이크지만 수백만 사용자에게 서비스하는 일은 영구적인 부하이며, 배포된 모델의 생애 에너지는 추론이 지배한다.

4분 읽기