mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 08:37:06 +08:00
[Feature] Set v1 scheduler as default in develop (#3807)
* Set scheduler v1 as default * Set scheduler v1 as default * Set scheduler v1 as default * Set scheduler v1 as default * Set scheduler v1 as default * close V1 in guided_decoding * fix vl ci * close V1 in guided_decoding
This commit is contained in:
@@ -1356,7 +1356,12 @@ class GPUModelRunner(ModelRunnerBase):
|
||||
Returns:
|
||||
A list of indices corresponding to the requests that need to be skipped.
|
||||
"""
|
||||
if not self.cache_config.enable_chunked_prefill or self.guided_backend is None or model_forward_batch is None:
|
||||
if (
|
||||
not self.cache_config.enable_chunked_prefill
|
||||
or self.guided_backend is None
|
||||
or model_forward_batch is None
|
||||
or envs.ENABLE_V1_KVCACHE_SCHEDULER
|
||||
):
|
||||
return []
|
||||
|
||||
skip_idx_list = []
|
||||
|
Reference in New Issue
Block a user