---
title: "sglang 0.5.23 Breaking Changes on PyPI | Since.dev"
description: "What each sglang release removed, renamed or changed: 2,978 breaking changes in 12 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/sglang
last_updated: 2026-12-04
---

# sglang breaking changes

sglang 0.5.23 (October 30, 2026) is its newest release with breaking changes, 6 of them. The first: Removed --speculative-skip-dp-mlp-sync. Every breaking API change we have recorded in sglang on PyPI: 2,978 breaking changes in 12 versions. Below, its 12 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.0.0`, released December 1, 2026. [Source repository](https://github.com/sgl-project/sglang)

Its 0.5.22 release requires [Python 3.11](https://since.dev/calendar/python/3.11.md) or later. [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.5.1](#v-0-5-1) to [0.5.23](#v-0-5-23): 2,957 breaking changes in 11 versions.

## sglang 0.5.23 breaking changes

sglang 0.5.23, released October 30, 2026: 6 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](https://github.com/sgl-project/sglang/releases/tag/v0.5.23)
- **Removed** `tokenspeed_mla`  

The tokenspeed_mla attention backend and its dependency are removed. Switch to another attention backend if you used it. [github.com](https://github.com/sgl-project/sglang/releases/tag/v0.5.23)
- **Default changed**  

Prefill shared-read completion is now enabled by default. Set your configuration explicitly if you relied on the old default. [github.com](https://github.com/sgl-project/sglang/releases/tag/v0.5.23)
- **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](https://github.com/sgl-project/sglang/releases/tag/v0.5.23)
- **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](https://github.com/sgl-project/sglang/releases/tag/v0.5.23)
- **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](https://github.com/sgl-project/sglang/releases/tag/v0.5.23)

## sglang 0.5.22 breaking changes

sglang 0.5.22, released October 16, 2026: 237 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](https://github.com/sgl-project/sglang/releases/tag/v0.5.22)
- **Renamed** `cache_unfinished_req`  

The cache_unfinished_req function was renamed to checkpoint_req; update callers to the new name. [github.com](https://github.com/sgl-project/sglang/releases/tag/v0.5.22)
- **Behavior changed**  

SGLang now requires Python 3.11 or newer, so users on older Python versions must upgrade before installing this release. [github.com](https://github.com/sgl-project/sglang/releases/tag/v0.5.22)
- **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](https://github.com/sgl-project/sglang/releases/tag/v0.5.22)
- **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](https://pypi.org/project/sglang/0.5.22/)
- **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](https://pypi.org/project/sglang/0.5.22/)
- **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](https://pypi.org/project/sglang/0.5.22/)
- **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](https://pypi.org/project/sglang/0.5.22/)
- **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](https://pypi.org/project/sglang/0.5.22/)
- **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](https://pypi.org/project/sglang/0.5.22/)

And 227 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## sglang 0.5.21 breaking changes

sglang 0.5.21, released October 1, 2026: 159 breaking changes.

- **Removed**  

The experimental C++ radix tree was removed from the memory cache. [github.com](https://github.com/sgl-project/sglang/releases/tag/v0.5.21)
- **Removed**  

Deprecated endpoints, environment variables and aliases past two releases were removed. Code using them must move to the current replacements. [github.com](https://github.com/sgl-project/sglang/releases/tag/v0.5.21)
- **Removed** `HiRadixCache`  

The HiRadixCache class was removed. [github.com](https://github.com/sgl-project/sglang/releases/tag/v0.5.21)
- **Removed** `SGLANG_ENABLE_UNIFIED_RADIX_TREE`  

The environment variable is no longer read. Remove it from configurations. [github.com](https://github.com/sgl-project/sglang/releases/tag/v0.5.21)
- **Removed** `swa and mamba radix cache`  

The SWA and Mamba radix cache implementations were removed. [github.com](https://github.com/sgl-project/sglang/releases/tag/v0.5.21)
- **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](https://github.com/sgl-project/sglang/releases/tag/v0.5.21)
- **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](https://github.com/sgl-project/sglang/releases/tag/v0.5.21)
- **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](https://github.com/sgl-project/sglang/releases/tag/v0.5.21)
- **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](https://pypi.org/project/sglang/0.5.21/)
- **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](https://pypi.org/project/sglang/0.5.21/)

And 149 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## sglang 0.5.20 breaking changes

sglang 0.5.20, released September 18, 2026: 375 breaking changes.

- **Removed**  

cutlass_mla, the non-Marlin GPTQ path, the AWQ AOT kernel and Dual Chunk Flash Attention were deleted. [github.com](https://github.com/sgl-project/sglang/releases/tag/v0.5.20)
- **Removed**  

ROCm 7.0 CI, images and kernel wheel are retired in this release. [github.com](https://github.com/sgl-project/sglang/releases/tag/v0.5.20)
- **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](https://github.com/sgl-project/sglang/releases/tag/v0.5.20)
- **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](https://github.com/sgl-project/sglang/releases/tag/v0.5.20)
- **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](https://github.com/sgl-project/sglang/releases/tag/v0.5.20)
- **Behavior changed**  

Prefill CP on HIP, NPU and MUSA now raises an error until those platforms are ported. [github.com](https://github.com/sgl-project/sglang/releases/tag/v0.5.20)
- **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](https://github.com/sgl-project/sglang/releases/tag/v0.5.20)
- **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](https://pypi.org/project/sglang/0.5.20/)
- **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](https://pypi.org/project/sglang/0.5.20/)
- **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](https://pypi.org/project/sglang/0.5.20/)

And 365 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## sglang 0.5.19 breaking changes

sglang 0.5.19, released September 4, 2026: 357 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](https://github.com/sgl-project/sglang/releases/tag/v0.5.19)
- **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](https://github.com/sgl-project/sglang/releases/tag/v0.5.19)
- **Default changed**  

The Hunyuan VAE defaults to tiled decode. Users who relied on the previous default decode path may see different behavior. [github.com](https://github.com/sgl-project/sglang/releases/tag/v0.5.19)
- **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](https://github.com/sgl-project/sglang/releases/tag/v0.5.19)
- **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](https://pypi.org/project/sglang/0.5.19/)
- **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](https://pypi.org/project/sglang/0.5.19/)
- **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](https://pypi.org/project/sglang/0.5.19/)
- **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](https://pypi.org/project/sglang/0.5.19/)
- **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](https://pypi.org/project/sglang/0.5.19/)
- **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](https://pypi.org/project/sglang/0.5.19/)

And 347 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## sglang 0.5.18 breaking changes

sglang 0.5.18, released August 21, 2026: 446 breaking changes.

- **Removed**  

Several unused environment variables were removed; scripts that set them will have no effect. [github.com](https://github.com/sgl-project/sglang/releases/tag/v0.5.18)
- **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](https://github.com/sgl-project/sglang/releases/tag/v0.5.18)
- **Removed** `sglang.compile_deep_gemm.refine_server_args`  

sglang.compile_deep_gemm.refine_server_args was removed in sglang 0.5.18 [pypi.org](https://pypi.org/project/sglang/0.5.18/)
- **Removed** `sglang.global_config.global_config`  

sglang.global_config.global_config was removed in sglang 0.5.18 [pypi.org](https://pypi.org/project/sglang/0.5.18/)
- **Removed** `sglang.global_config.GlobalConfig`  

sglang.global_config.GlobalConfig was removed in sglang 0.5.18 [pypi.org](https://pypi.org/project/sglang/0.5.18/)
- **Removed** `sglang.kernel_api_logging`  

sglang.kernel_api_logging was removed in sglang 0.5.18 [pypi.org](https://pypi.org/project/sglang/0.5.18/)
- **Removed** `sglang.kernels.BaseFusedOp.__call__`  

BaseFusedOp.\_\_call\_\_ was removed in sglang 0.5.18 [pypi.org](https://pypi.org/project/sglang/0.5.18/)
- **Removed** `sglang.kernels.fused_op.BaseFusedOp.__call__`  

BaseFusedOp.\_\_call\_\_ was removed in sglang 0.5.18 [pypi.org](https://pypi.org/project/sglang/0.5.18/)
- **Removed** `sglang.kernels.jit.utils.compile.cache_once`  

sglang.kernels.jit.utils.compile.cache_once was removed in sglang 0.5.18 [pypi.org](https://pypi.org/project/sglang/0.5.18/)
- **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](https://pypi.org/project/sglang/0.5.18/)

And 436 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

6 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### sglang 0.5.17 breaking changes

sglang 0.5.17, released August 8, 2026: 658 breaking changes.

- **Removed** `sglang.auto_benchmark`  

sglang.auto_benchmark was removed in sglang 0.5.17 [pypi.org](https://pypi.org/project/sglang/0.5.17/)
- **Removed** `sglang.auto_benchmark_lib`  

sglang.auto_benchmark_lib was removed in sglang 0.5.17 [pypi.org](https://pypi.org/project/sglang/0.5.17/)

And 656 more in this version.

### sglang 0.5.16 breaking changes

sglang 0.5.16, released July 25, 2026: 253 breaking changes.

- **Removed** `CUTLASS FP8 blockwise`  

CUTLASS FP8 blockwise kernels were deleted for SM90 and SM100; SM120 moved to JIT. [github.com](https://github.com/sgl-project/sglang/releases/tag/v0.5.16)
- **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](https://github.com/sgl-project/sglang/releases/tag/v0.5.16)

And 251 more in this version.

### sglang 0.5.15 breaking changes

sglang 0.5.15, released July 10, 2026: 141 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](https://github.com/sgl-project/sglang/releases/tag/v0.5.15)
- **Removed** `sglang.bench_offline_throughput.args`  

sglang.bench_offline_throughput.args was removed in sglang 0.5.15 [pypi.org](https://pypi.org/project/sglang/0.5.15/)

And 139 more in this version.

### sglang 0.5.14 breaking changes

sglang 0.5.14, released June 26, 2026: 118 breaking changes.

- **Removed** `sglang.bench_one_batch_server.args`  

sglang.bench_one_batch_server.args was removed in sglang 0.5.14 [pypi.org](https://pypi.org/project/sglang/0.5.14/)
- **Removed** `sglang.bench_one_batch_server.bench_args`  

sglang.bench_one_batch_server.bench_args was removed in sglang 0.5.14 [pypi.org](https://pypi.org/project/sglang/0.5.14/)

And 116 more in this version.

### sglang 0.5.13 breaking changes

sglang 0.5.13, released June 11, 2026: 207 breaking changes.

- **Removed** `sglang.jit_kernel.cast`  

sglang.jit_kernel.cast was removed in sglang 0.5.13 [pypi.org](https://pypi.org/project/sglang/0.5.13/)
- **Removed** `sglang.jit_kernel.deepseek_v4`  

sglang.jit_kernel.deepseek_v4 was removed in sglang 0.5.13 [pypi.org](https://pypi.org/project/sglang/0.5.13/)

And 205 more in this version.

### sglang 0.5.1 breaking changes

sglang 0.5.1, released August 23, 2025: 21 breaking changes.

- **Removed**  

The minimum supported Python version is now 3.10, so Python 3.9 is no longer supported. [github.com](https://github.com/sgl-project/sglang/releases/tag/v0.5.1)
- **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](https://github.com/sgl-project/sglang/releases/tag/v0.5.1)

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](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
