Skip to content

Commit 937d325

Browse files
committed
add log, remove a check
Signed-off-by: Kunshang Ji <[email protected]>
1 parent 95d8ef3 commit 937d325

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
# lazy import to avoid circular import
10194
from vllm.config import CUDAGraphMode
10295
compilation_config = vllm_config.compilation_config
@@ -187,4 +180,6 @@ def get_global_graph_pool(self) -> Any:
187180
"""
188181
Currently xpu does NOT support Graph model.
189182
"""
183+
logger.warning("XPU does not support graph pool. This may be unsafe "
184+
"if you enable graphmode on XPU currently.")
190185
return None

0 commit comments

Comments
 (0)