Skip to content

Commit 4b1c7ef

Browse files
committed
add log, remove a check
Signed-off-by: Kunshang Ji <[email protected]>
1 parent ddd14c5 commit 4b1c7ef

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

vllm/platforms/xpu.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,6 @@ def check_and_update_config(cls, vllm_config: VllmConfig) -> None:
9090
if cache_config and cache_config.block_size is None:
9191
cache_config.block_size = 64
9292

93-
# FIXME: Temporarily forcing eager mode
94-
# remove after t.compile support stabilizes.
95-
if (envs.VLLM_USE_V1 and model_config is not None
96-
and not vllm_config.model_config.enforce_eager):
97-
from vllm.config import CompilationLevel
98-
vllm_config.compilation_config.level = CompilationLevel.NO_COMPILATION # noqa: E501
99-
10093
# Instances created using VllmConfig() typically have model_config as
10194
# None by default. The modification involves adding a check to prevent
10295
# potential null exceptions check and update model config.
@@ -202,4 +195,6 @@ def get_global_graph_pool(self) -> Any:
202195
"""
203196
Currently xpu does NOT support Graph model.
204197
"""
198+
logger.warning("XPU does not support graph pool. This may be unsafe "
199+
"if you enable graphmode on XPU currently.")
205200
return None

0 commit comments

Comments
 (0)