This document is relevant for: Trn2, Trn3

Reference: SGLang-Neuron feature compatibility#

Note

SGLang-Neuron is in public preview. Features, APIs, and supported models can change in later releases.

Applies to#

SGLang-Neuron 0.1.0 LLM serving on Trn3 instances.

Overview#

This page shows the SGLang features that each LLM serves on SGLang-Neuron. The plug-in checks each launch and each request. A launch with a refused feature stops at start with a message that names the setting. A request that the launch cannot serve exactly is refused at admission with an error. The plug-in does not serve the request with the option removed.

The tables use these values:

  • Tested: served, and run by the hardware end-to-end tests of the plug-in.

  • Served: not refused, but no hardware test runs it.

  • Refused: the launch or the request fails.

  • N/A: the feature does not apply to the model.

In the column headings, Qwen3 is Qwen3-0.6B and Qwen3-8B, Qwen3-MoE is Qwen3-30B-A3B, GLM-4 is GLM-4-9B, and Qwen3.5 is Qwen3.5-397B-A17B.

Features refused on every model#

The plug-in refuses these SGLang features on every model:

  • LoRA adapters.

  • Mixed chunks (--enable-mixed-chunk).

  • Embedding servers (--is-embedding).

  • The memory saver (--enable-memory-saver).

  • Streaming sessions on a server that prefills.

  • Deterministic inference (--enable-deterministic-inference).

  • The SGLang weight-update endpoints, which return HTTP 400.

Serving and parallelism#

Feature

GPT-OSS

Qwen3

Qwen3-MoE

GLM-4

DeepSeek-V2

GLM-5.2

Qwen3.5

Kimi-K3

Aggregated server

Tested

Tested

Tested

Tested

Tested

Refused

Served

Refused

Disaggregated prefill and decode

Tested

Tested

Tested

Tested

Tested

Tested

Tested

Tested

DP attention on a decode server

Tested

Served

Refused

Served

Refused

Refused

Tested

Tested

Expert parallelism (--ep-size)

Tested

N/A

Tested

N/A

Refused

Tested

Tested (required)

Tested on the decode

Giga-kernel or megakernel decode

Tested

Refused

Refused

Refused

Refused

Tested (only decode)

Tested (only decode)

Tested (only decode)

Pipeline parallelism (--pp-size) on a disaggregated prefill server

Tested (PP2 x TP8)

Refused

Refused

Refused

Refused

Tested (PP4 x TP32, PP16 x TP8)

Refused

Tested (PP8 x TP16)

Speculative decoding

Refused

Refused

Refused

Refused

Refused

Tested on the decode (NEURON_MTP)

Refused

Tested on the decode (DSPARK, k = 3 or 7)

Caching and KV cache#

Feature

GPT-OSS

Qwen3

Qwen3-MoE

GLM-4

DeepSeek-V2

GLM-5.2

Qwen3.5

Kimi-K3

Prefix (radix) cache on a server that prefills

Tested

Tested

Tested

Tested

Tested

Tested

Tested on neuron-chunk only

Tested on kimi-prompt only

Hierarchical cache (HiCache L2) on a server that prefills

Tested (aggregated)

Served

Served

Served

Refused

Refused

Served on neuron-chunk

Served on neuron-chunk; kimi-prompt has its own host tier

KV cache dtype (--kv-cache-dtype)

fp8_e4m3 only

auto, bf16, bfloat16

auto, bf16, bfloat16

auto, bf16, bfloat16

auto, bf16, bfloat16

auto, bf16, bfloat16

auto, bf16, bfloat16

fp8_e4m3 only

Sampling and requests#

The sampler is a launch setting, SGLANG_NEURON_SAMPLER. The default is greedy. For the values, see Reference: SGLang-Neuron configuration.

Feature

GPT-OSS

Qwen3

Qwen3-MoE

GLM-4

DeepSeek-V2

GLM-5.2

Qwen3.5

Kimi-K3

greedy sampler

Tested

Tested

Tested

Tested

Tested

Tested

Tested (only sampler)

Refused as the launch sampler; greedy requests tested on topk_topp

temperature and topk_topp samplers

Served

Served

Served

Served

Served

topk_topp served; temperature refused

Refused

topk_topp tested; temperature refused

Structured outputs, on the host sampler

Served

Served

Served

Served

Served

Refused

Refused

Refused

Top logprobs (SGLANG_NEURON_MAX_TOP_LOGPROBS)

Served

Served

Served

Served

Served

Refused

Refused

Refused

The table has these exceptions:

  • The GPT-OSS giga-kernel decode serves greedy tokens only, and refuses requests for logprobs.

  • GPT-OSS refuses the host sampler and structured outputs on a decode server with DP attention and under pipeline parallelism. The decode server of the GPT-OSS-120B disaggregated serving tutorial uses DP attention, so it does not serve structured outputs.

  • GLM-5.2, Qwen3.5, and Kimi-K3 refuse every request for logprobs, not only top logprobs.

Target hardware#

GPT-OSS-120B and the Kimi-K3 prefill run on Trainium3 only. A launch on a different target is refused. The Qwen3.5 megakernel declares Trainium3 as its only target. The other LLMs are not refused on other targets, but the hardware tests run on Trainium3 nodes only.