Skip to content

Commit b434f37

Browse files
authored
[V1] Revert the default value of enable_chunked_prefill in additional… (#935)
### What this PR does / why we need it? Revert the default value of enable_chunked_prefill to 'False' in additional_scheduler_config. In engine v1, enable_chunked_prefill is forcibly set to True in VllmConfig, which causes it to be perceived as True in check_and_update_config(). As a result, when the v0 scheduler is enabled, the chunked prefill feature remains active, leading to the failure of the v0 scheduler and causing it to fall back to the native v1 scheduling logic. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? CI passed with new added/existing test. Signed-off-by: rjg-lyh <1318825571@qq.com>
1 parent 46df67a commit b434f37

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

vllm_ascend/platform.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,6 @@ def check_and_update_config(cls, vllm_config: VllmConfig) -> None:
202202
"ascend_scheduler_config", None) is not None:
203203
additional_scheduler_config = additional_config.get(
204204
"ascend_scheduler_config")
205-
if vllm_config.scheduler_config.enable_chunked_prefill:
206-
additional_scheduler_config[
207-
"enable_chunked_prefill"] = True
208205
from vllm_ascend.core.schedule_config import \
209206
AscendSchedulerConfig
210207
ascend_scheduler_config = AscendSchedulerConfig.initialize_from_config(

0 commit comments

Comments
 (0)