From 8db7fc418681989e1b2ab7e8aa9fa51d63b76dfa Mon Sep 17 00:00:00 2001 From: Yi Zhang <1109276519@qq.com> Date: Tue, 11 Nov 2025 16:35:38 +0800 Subject: [PATCH] disable overlap schedule if mamba radix cache open (#13057) --- python/sglang/srt/server_args.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/python/sglang/srt/server_args.py b/python/sglang/srt/server_args.py index 5b9a520b9..c7c91e1d5 100644 --- a/python/sglang/srt/server_args.py +++ b/python/sglang/srt/server_args.py @@ -1070,6 +1070,13 @@ class ServerArgs: f"Disabling Radix Cache for {model_arch} as it is not yet supported." ) self.disable_radix_cache = True + elif model_arch in ["Qwen3NextForCausalLM"]: + if not self.disable_radix_cache: + logger.warning( + "Disabling overlap schedule since MambaRadixCache is not compatible with " + "overlap schedule currently, try to use --disable-radix-cache if overlap schedule is necessary" + ) + self.disable_overlap_schedule = True if is_deepseek_nsa(hf_config): if (