[MISC] Keep chunked prefill enabled by default with long context when prefix caching is enabled (#8342)
This commit is contained in:
parent
04e7c4e771
commit
b1f3e18958
@ -878,7 +878,6 @@ class EngineArgs:
|
|||||||
if (is_gpu and not use_sliding_window and not use_spec_decode
|
if (is_gpu and not use_sliding_window and not use_spec_decode
|
||||||
and not self.enable_lora
|
and not self.enable_lora
|
||||||
and not self.enable_prompt_adapter
|
and not self.enable_prompt_adapter
|
||||||
and not self.enable_prefix_caching
|
|
||||||
and not has_seqlen_agnostic_layers):
|
and not has_seqlen_agnostic_layers):
|
||||||
self.enable_chunked_prefill = True
|
self.enable_chunked_prefill = True
|
||||||
logger.warning(
|
logger.warning(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user