[BugFix] Avoid prefix cache hit in the same schedule step for mamba layers (#29387)

Signed-off-by: Chen Zhang <zhangch99@outlook.com>
This commit is contained in:
Chen Zhang
2026-02-10 07:41:16 +00:00
committed by GitHub
parent dab1de9f38
commit 97fa8f6590
6 changed files with 78 additions and 3 deletions
+2
View File
@@ -347,6 +347,8 @@ class Scheduler(SchedulerInterface):
# For logging.
scheduled_timestamp = time.monotonic()
self.kv_cache_manager.new_step_starts()
# First, schedule the RUNNING requests.
req_index = 0
while req_index < len(self.running) and token_budget > 0: