Skip to content

Commit

Permalink
[ROCm][AMD] Disable auto enabling chunked prefill on ROCm (vllm-proje…
Browse files Browse the repository at this point in the history
…ct#11146)

Signed-off-by: Gregory Shtrasberg <[email protected]>
  • Loading branch information
gshtras authored Dec 13, 2024
1 parent 3989a79 commit 00c1bde
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vllm/engine/arg_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,8 @@ def create_engine_config(self,
if (is_gpu and not use_sliding_window and not use_spec_decode
and not self.enable_lora
and not self.enable_prompt_adapter
and model_config.runner_type != "pooling"):
and model_config.runner_type != "pooling"
and not current_platform.is_rocm()):
self.enable_chunked_prefill = True
logger.warning(
"Chunked prefill is enabled by default for models with "
Expand Down

0 comments on commit 00c1bde

Please sign in to comment.