[Bug fix] Fix pd for x1 thinking (#4433)

This commit is contained in:
chenjian
2025-10-16 12:03:45 +08:00
committed by GitHub
parent 8e392f0ea6
commit 670aaa3f83
5 changed files with 14 additions and 8 deletions

View File

@@ -697,9 +697,7 @@ class EngineService:
time.sleep(0.001)
continue
if self.cfg.scheduler_config.splitwise_role != "mixed":
if self.scheduler.get_unhandled_request_num() <= envs.FD_EP_MAX_PREFETCH_TASK_NUM and (
not is_fetching
):
if not is_fetching:
get_request_pool.submit(_fetch_request)
else: