This document is relevant for: Trn2, Trn3
SGLang-Neuron: SGLang serving on Neuron#
Note
SGLang-Neuron is in public preview. Features, APIs, and supported models can change in later releases.
The SGLang-Neuron plug-in lets you serve models with SGLang on AWS Trainium. SGLang finds the plug-in through its entry points, and SGLANG_PLATFORM=neuron selects it. You use the standard SGLang launcher, flags, and OpenAI-compatible API. SGLang-Neuron serves large language models (LLMs) on Trn3 instances and multimodal diffusion models on Trn2 instances through SGLang Diffusion.
In this public preview, you run SGLang-Neuron from the container image that Neuron publishes in the Amazon ECR Public Gallery. The image contains SGLang, the plug-in, the Neuron SDK, and a patched NIXL for disaggregated serving. This page links to the overview, the quickstart, the tutorials, and the reference pages for SGLang-Neuron.
Applies to#
This section applies to:
Online LLM serving with an OpenAI-compatible API on trn3.48xlarge instances and Trn3 UltraServers.
Prefill-decode (PD) disaggregated serving over two or more Trn3 nodes.
Image and video generation with SGLang Diffusion on trn2.48xlarge instances.