[Cleanup] Remove no-longer-used SpeculativeConfig.enable_chunked_prefill (#27826)

Signed-off-by: Nick Hill <nhill@redhat.com>
This commit is contained in:
Nick Hill
2025-10-31 10:57:45 -07:00
committed by GitHub
parent fc16f1c477
commit 9e5bd3076e
3 changed files with 1 additions and 16 deletions
-6
View File
@@ -1246,8 +1246,6 @@ class EngineArgs:
self,
target_model_config: ModelConfig,
target_parallel_config: ParallelConfig,
enable_chunked_prefill: bool,
disable_log_stats: bool,
) -> SpeculativeConfig | None:
"""Initializes and returns a SpeculativeConfig object based on
`speculative_config`.
@@ -1267,8 +1265,6 @@ class EngineArgs:
{
"target_model_config": target_model_config,
"target_parallel_config": target_parallel_config,
"enable_chunked_prefill": enable_chunked_prefill,
"disable_log_stats": disable_log_stats,
}
)
return SpeculativeConfig(**self.speculative_config)
@@ -1561,8 +1557,6 @@ class EngineArgs:
speculative_config = self.create_speculative_config(
target_model_config=model_config,
target_parallel_config=parallel_config,
enable_chunked_prefill=self.enable_chunked_prefill,
disable_log_stats=self.disable_log_stats,
)
# make sure num_lookahead_slots is set appropriately depending on