[DLLM] Add initial cuda graph support (#14203)
This commit is contained in:
@@ -2050,10 +2050,16 @@ class ServerArgs:
|
||||
if self.dllm_algorithm is None:
|
||||
return
|
||||
if not self.disable_cuda_graph:
|
||||
logger.warning(
|
||||
"Cuda graph is disabled because of using diffusion LLM inference"
|
||||
)
|
||||
self.disable_cuda_graph = True
|
||||
if self.cuda_graph_bs != [1]:
|
||||
logger.warning(
|
||||
"Cuda graph bs is set to [1] because of using diffusion LLM inference"
|
||||
)
|
||||
self.cuda_graph_bs = [1]
|
||||
if self.attention_backend != "flashinfer":
|
||||
logger.warning(
|
||||
"Attention backend is set to flashinfer because of enabling cuda graph in diffusion LLM inference"
|
||||
)
|
||||
self.attention_backend = "flashinfer"
|
||||
if not self.disable_overlap_schedule:
|
||||
logger.warning(
|
||||
"Overlap schedule is disabled because of using diffusion LLM inference"
|
||||
|
||||
Reference in New Issue
Block a user