File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -96,8 +96,8 @@ def check_and_update_config(cls, vllm_config: VllmConfig) -> None:
96
96
if compilation_config .cudagraph_mode is None or \
97
97
compilation_config .cudagraph_mode .max_cudagraph_mode () \
98
98
!= CUDAGraphMode .NONE :
99
- logger .info ("[XPU] CUDA graph is not supported on XPU, "
100
- "disabling cudagraphs." )
99
+ logger .info ("[XPU] CUDA graph is not supported on XPU, disabling "
100
+ "cudagraphs. Fallback to cudagraph_mode=NONE " )
101
101
compilation_config .cudagraph_mode = CUDAGraphMode .NONE
102
102
103
103
# check and update parallel config
@@ -180,6 +180,4 @@ def get_global_graph_pool(self) -> Any:
180
180
"""
181
181
Currently xpu does NOT support Graph model.
182
182
"""
183
- logger .warning ("XPU does not support graph pool. This may be unsafe "
184
- "if you enable graphmode on XPU currently." )
185
- return None
183
+ raise NotImplementedError ("XPU does not support Graph model." )
You can’t perform that action at this time.
0 commit comments