sglang breaking changes
Updated December 4, 2026
On this page
Latest version 1.0.0, released December 1, 2026. Source repository
Its 0.5.22 release requires Python 3.11 or later. Python end of life dates.
sglang 0.5.23 breaking changes
- Removed
--speculative-skip-dp-mlp-sync
The flag is gone, so launch commands that pass it will no longer work. Remove it from your command lines. github.com - Removed
tokenspeed_mla
The tokenspeed_mla attention backend and its dependency are removed. Switch to another attention backend if you used it. github.com - Default changed
Prefill shared-read completion is now enabled by default. Set your configuration explicitly if you relied on the old default. github.com - Default changed
Decoder bounded replay is now enabled by default for DeepSeek-V4.1, changing first-token latency. Disable it explicitly if you need the old behavior. github.com - Default changed
Decoder SWA bounded replay is now enabled by default for both PD roles on CUDA. Turn it off explicitly if you need the previous behavior. github.com - Default changed
Prefill-decode disaggregation now defaults to MegaAttention, with the KV layout exchanged in the PD handshake. Set the previous backend explicitly if you need it. github.com
sglang 0.5.22 breaking changes
- Removed
SGLANG_DSPARK_FOLDED_SAMPLING
The SGLANG_DSPARK_FOLDED_SAMPLING environment variable was dropped; code or launch scripts that set it no longer have an effect. github.com - Renamed
cache_unfinished_req
The cache_unfinished_req function was renamed to checkpoint_req; update callers to the new name. github.com - Behavior changed
SGLang now requires Python 3.11 or newer, so users on older Python versions must upgrade before installing this release. github.com - Default changed
The default decode CUDA graph max batch size is clamped to max_running_requests, so the default graph size can be smaller than before. github.com - Signature changed
sglang.kernels.kda_kernels.layernorm_modulate_triton.can_use_fused_layernorm_modulate
Was def can_use_fused_layernorm_modulate(x: torch.Tensor, scale: torch.Tensor, shift: torch.Tensor | None) -> bool; now def can_use_fused_layernorm_modulate(dtype: torch.dtype, hidden: int) -> bool. pypi.org - Signature changed
sglang.kernels.kda_kernels.layernorm_modulate_triton.can_use_fused_qk_head_layernorm
Was def can_use_fused_qk_head_layernorm(q: torch.Tensor, k: torch.Tensor) -> bool; now def can_use_fused_qk_head_layernorm(dtype: torch.dtype, head_dim: int) -> bool. pypi.org - Signature changed
sglang.kernels.ops.activation.activation.gelu_and_mul
Was def gelu_and_mul(input: torch.Tensor, out: Optional[torch.Tensor] = None, expert_ids: Optional[torch.Tensor] = None, expert_step: int = 1) -> torch.Tensor; now def gelu_and_mul(input: torch.Tensor, out: Optional[torch.Tensor] = None... pypi.org - Signature changed
sglang.kernels.ops.activation.activation.gelu_tanh_and_mul
Was def gelu_tanh_and_mul(input: torch.Tensor, out: Optional[torch.Tensor] = None, expert_ids: Optional[torch.Tensor] = None, expert_step: int = 1) -> torch.Tensor; now def gelu_tanh_and_mul(input: torch.Tensor, out: Optional[torch.Tensor]... pypi.org - Signature changed
sglang.kernels.ops.activation.activation.run_activation
Was def run_activation(op_name: str, input: torch.Tensor, out: Optional[torch.Tensor], expert_ids: Optional[torch.Tensor] = None, expert_step: int = 1) -> torch.Tensor; now def run_activation(op_name: str, input: torch.Tensor, out... pypi.org - Signature changed
sglang.kernels.ops.activation.activation.silu_and_mul
Was def silu_and_mul(input: torch.Tensor, out: Optional[torch.Tensor] = None, expert_ids: Optional[torch.Tensor] = None, expert_step: int = 1) -> torch.Tensor; now def silu_and_mul(input: torch.Tensor, out: Optional[torch.Tensor] = None... pypi.org
And 227 more in this version. Sign up to see every change
sglang 0.5.21 breaking changes
- Removed
The experimental C++ radix tree was removed from the memory cache. github.com - Removed
Deprecated endpoints, environment variables and aliases past two releases were removed. Code using them must move to the current replacements. github.com - Removed
HiRadixCache
The HiRadixCache class was removed. github.com - Removed
SGLANG_ENABLE_UNIFIED_RADIX_TREE
The environment variable is no longer read. Remove it from configurations. github.com - Removed
swa and mamba radix cache
The SWA and Mamba radix cache implementations were removed. github.com - Behavior changed
The radix cache uses the Rust TreeCore implementation by default now. Users who relied on the previous default behavior should check their setup. github.com - Behavior changed
FlashInfer fused finalize
The FlashInfer fused finalize for MoE is now off by default for numerical accuracy. Users who want it must enable it explicitly. github.com - Behavior changed
sampling_seed
sampling_seed is validated and must be an integer in the int64 range. Values outside that range are now rejected. github.com - Signature changed
sglang.bench_one_batch_server.BenchArgs.__init__
Was def __init__(self, run_name: str = 'default', batch_size: Tuple[int] = (1), input_len: Tuple[int] = (1024), output_len: Tuple[int] = (16), temperature: float = 0.0, disable_ignore_eos: bool = False, return_logprob: bool = False... pypi.org - Signature changed
sglang.bench_one_batch_server.run_one_case
Was def run_one_case(url: str, batch_size: int, input_len: int, output_len: int, temperature: float, ignore_eos: bool, return_logprob: bool, stream_interval: int, input_len_step_percentage: float, run_name: str, result_filename: str... pypi.org
And 149 more in this version. Sign up to see every change
sglang 0.5.20 breaking changes
- Removed
cutlass_mla, the non-Marlin GPTQ path, the AWQ AOT kernel and Dual Chunk Flash Attention were deleted. github.com - Removed
ROCm 7.0 CI, images and kernel wheel are retired in this release. github.com - Removed
The CUDA 12 lane is retired. v0.5.19 was the last release with -cu12x wheels and images, so users need a CUDA 13 build. github.com - Removed
The v1 prefill context parallelism runtime and its CLI options are gone. Use the strategy-based implementation, which is now the only prefill CP path. github.com - Removed
get_global_server_args
get_global_server_args is retired in this release and the deprecated flags that have a replacement are cleared. github.com - Behavior changed
Prefill CP on HIP, NPU and MUSA now raises an error until those platforms are ported. github.com - Behavior changed
v1.responses
Results from /v1/responses are no longer retained unless the server starts with --enable-response-store. Without it, retrieval, previous_response_id chaining and background requests return 400, and PD deployments cannot enable it. github.com - Signature changed
sglang.bench_one_batch_server.BenchArgs.__init__
Was def __init__(self, run_name: str = 'default', batch_size: Tuple[int] = (1), input_len: Tuple[int] = (1024), output_len: Tuple[int] = (16), temperature: float = 0.0, return_logprob: bool = False, client_stream_interval: int = 1... pypi.org - Signature changed
sglang.bench_one_batch_server.run_one_case
Was def run_one_case(url: str, batch_size: int, input_len: int, output_len: int, temperature: float, return_logprob: bool, stream_interval: int, input_len_step_percentage: float, run_name: str, result_filename: str, tokenizer... pypi.org - Signature changed
sglang.bench_serving.RequestFuncOutput.__init__
Was def __init__(self, generated_text: str = '', success: bool = False, latency: float = 0.0, ttft: float = 0.0, itl: List[float] = list(), text_chunks: List[str] = list(), prompt_len: int = 0, error: str = '', output_len: int = 0... pypi.org
And 365 more in this version. Sign up to see every change
sglang 0.5.19 breaking changes
- Behavior changed
Sampling masks once again require a finite top-k value. Requests that passed an unlimited top-k for sampling masks may now be rejected. github.com - Default changed
The unified radix tree is now the cache for every model, not only hybrid ones. Users relying on the previous cache behavior should check their setup. github.com - Default changed
The Hunyuan VAE defaults to tiled decode. Users who relied on the previous default decode path may see different behavior. github.com - Default changed
FP4 checkpoints now default to the FlashInfer MXFP4 MoE path. Users who need the previous MoE backend must set it explicitly. github.com - Signature changed
sglang.bench_serving.benchmark
Was async def benchmark(backend: str, api_url: str, base_url: str, model_id: str, tokenizer: PreTrainedTokenizerBase, input_requests: List[DatasetRow], request_rate: float, max_concurrency: Optional[int], disable_tqdm: bool, lora_names... pypi.org - Signature changed
sglang.benchmark.one_batch.use_mlx
Was from sglang.srt.utils.tensor_bridge import use_mlx; now from sglang.srt.hardware_backend.mlx.runtime import use_mlx. pypi.org - Signature changed
sglang.benchmark.serving.benchmark
Was async def benchmark(backend: str, api_url: str, base_url: str, model_id: str, tokenizer: PreTrainedTokenizerBase, input_requests: List[DatasetRow], request_rate: float, max_concurrency: Optional[int], disable_tqdm: bool, lora_names... pypi.org - Signature changed
sglang.kernels.ops.attention.decode_attention.decode_attention_fwd
Was def decode_attention_fwd(q, k_buffer, v_buffer, o, kv_indptr, kv_indices, attn_logits, attn_lse, num_kv_splits, max_kv_splits, sm_scale, k_scale, v_scale, logit_cap=0.0, sinks=None, xai_temperature_len=-1, has_mla=False, use_pdl=False... pypi.org - Signature changed
sglang.kernels.ops.attention.dsv4.topk_transform_512_v2
Was def topk_transform_512_v2(scores: torch.Tensor, seq_lens: torch.Tensor, page_tables: torch.Tensor, out_page_indices: torch.Tensor, page_size: int, metadata: torch.Tensor, out_raw_indices: Optional[torch.Tensor] = None) -> None; now def... pypi.org - Signature changed
sglang.kernels.ops.attention.dsv4.topk.topk_transform_512_v2
Was def topk_transform_512_v2(scores: torch.Tensor, seq_lens: torch.Tensor, page_tables: torch.Tensor, out_page_indices: torch.Tensor, page_size: int, metadata: torch.Tensor, out_raw_indices: Optional[torch.Tensor] = None) -> None; now def... pypi.org
And 347 more in this version. Sign up to see every change
sglang 0.5.18 breaking changes
- Removed
Several unused environment variables were removed; scripts that set them will have no effect. github.com - Removed
--torchao-config
The torchao integration and its --torchao-config option are gone, so launch commands that pass that flag will no longer work. github.com - Removed
sglang.compile_deep_gemm.refine_server_args
sglang.compile_deep_gemm.refine_server_args was removed in sglang 0.5.18 pypi.org - Removed
sglang.global_config.global_config
sglang.global_config.global_config was removed in sglang 0.5.18 pypi.org - Removed
sglang.global_config.GlobalConfig
sglang.global_config.GlobalConfig was removed in sglang 0.5.18 pypi.org - Removed
sglang.kernel_api_logging
sglang.kernel_api_logging was removed in sglang 0.5.18 pypi.org - Removed
sglang.kernels.BaseFusedOp.__call__
BaseFusedOp.__call__ was removed in sglang 0.5.18 pypi.org - Removed
sglang.kernels.fused_op.BaseFusedOp.__call__
BaseFusedOp.__call__ was removed in sglang 0.5.18 pypi.org - Removed
sglang.kernels.jit.utils.compile.cache_once
sglang.kernels.jit.utils.compile.cache_once was removed in sglang 0.5.18 pypi.org - Removed
sglang.kernels.jit.utils.compile.get_jit_cuda_arch
sglang.kernels.jit.utils.compile.get_jit_cuda_arch was removed in sglang 0.5.18 pypi.org
And 436 more in this version. Sign up to see every change
Older versions
6 older versions, each with its first changes. Sign up to see every change
Show 6 older versions
sglang 0.5.17 breaking changes
- Removed
sglang.auto_benchmark
sglang.auto_benchmark was removed in sglang 0.5.17 pypi.org - Removed
sglang.auto_benchmark_lib
sglang.auto_benchmark_lib was removed in sglang 0.5.17 pypi.org
And 656 more in this version.
sglang 0.5.16 breaking changes
- Removed
CUTLASS FP8 blockwise
CUTLASS FP8 blockwise kernels were deleted for SM90 and SM100; SM120 moved to JIT. github.com - Removed
FBGEMM FP8 quantization
The experimental FBGEMM FP8 path is gone in this release. Code that selects it must switch to a supported quantization method. github.com
And 251 more in this version.
sglang 0.5.15 breaking changes
- Removed
kimi_k2_moe_fused_gate
The AOT kimi_k2_moe_fused_gate gate kernel was retired; code calling it directly must change. github.com - Removed
sglang.bench_offline_throughput.args
sglang.bench_offline_throughput.args was removed in sglang 0.5.15 pypi.org
And 139 more in this version.
sglang 0.5.14 breaking changes
- Removed
sglang.bench_one_batch_server.args
sglang.bench_one_batch_server.args was removed in sglang 0.5.14 pypi.org - Removed
sglang.bench_one_batch_server.bench_args
sglang.bench_one_batch_server.bench_args was removed in sglang 0.5.14 pypi.org
And 116 more in this version.
sglang 0.5.13 breaking changes
- Removed
sglang.jit_kernel.cast
sglang.jit_kernel.cast was removed in sglang 0.5.13 pypi.org - Removed
sglang.jit_kernel.deepseek_v4
sglang.jit_kernel.deepseek_v4 was removed in sglang 0.5.13 pypi.org
And 205 more in this version.
sglang 0.5.1 breaking changes
- Removed
The minimum supported Python version is now 3.10, so Python 3.9 is no longer supported. github.com - Removed
The Harmony integration was removed and replaced with native GPT-OSS tool call support, so code relying on Harmony must move to the native path. github.com
And 19 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.