File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -238,18 +238,14 @@ def check_and_update_config(cls, vllm_config: VllmConfig) -> None:
238238 vllm_config .compilation_config .init_with_cudagraph_sizes (
239239 sp_aclgraph_sizes )
240240
241- # TODO: Full graph is fully supported later, and the default value will be set to full graph.
242- if compilation_config .cudagraph_mode == CUDAGraphMode .FULL_AND_PIECEWISE :
243- compilation_config .cudagraph_mode = CUDAGraphMode .PIECEWISE
244-
245241 if vllm_version_is ("0.11.0" ):
246242 if compilation_config .cudagraph_mode == CUDAGraphMode .NONE :
247243 compilation_config .level = CompilationLevel .NO_COMPILATION
248244 elif compilation_config .cudagraph_mode == CUDAGraphMode .PIECEWISE or \
249245 compilation_config .cudagraph_mode == CUDAGraphMode .FULL_AND_PIECEWISE :
250246 logger .info (
251- "PIECEWISE compilation enabled on NPU. use_inductor not supported - "
252- "using only ACL Graph mode" )
247+ f" { compilation_config . cudagraph_mode } compilation enabled on NPU. use_inductor not supported - "
248+ f "using only ACL Graph mode" )
253249 assert compilation_config .level == CompilationLevel .PIECEWISE , \
254250 "When enabling piecewise aclgraph, please make sure compilation_config.level == CompilationLevel.PIECEWISE and compilation_config.cudagraph_mode == CUDAGraphMode.PIECEWISE"
255251 compilation_config .set_splitting_ops_for_v1 ()
You can’t perform that action at this time.
0 commit comments