[Feature] Set scheduler v1 as default (#3812)

* [Feature] Set scheduler v1 as default

* [Feature] Set scheduler v1 as default

* [Feature] Set scheduler v1 as default

* [Feature] Set scheduler v1 as default

* [Feature] Set scheduler v1 as default

* [Feature] Set scheduler v1 as default
This commit is contained in:
chenjian
2025-09-04 11:02:10 +08:00
committed by GitHub
parent fbf0e9d2aa
commit fb1e0d6a87
8 changed files with 43 additions and 7 deletions

View File

@@ -1337,7 +1337,11 @@ class GPUModelRunner(ModelRunnerBase):
A list of indices corresponding to the requests that need to be skipped.
"""
skip_idx_list = []
if not self.cache_config.enable_chunked_prefill or self.guided_backend is None:
if (
not self.cache_config.enable_chunked_prefill
or self.guided_backend is None
or envs.ENABLE_V1_KVCACHE_SCHEDULER
):
return skip_idx_list
for task in model_forward_batch: