[DLLM] Remove cuda graph batch size limitation (#17458)
This commit is contained in:
@@ -2600,11 +2600,6 @@ class ServerArgs:
|
|||||||
)
|
)
|
||||||
self.attention_backend = "triton"
|
self.attention_backend = "triton"
|
||||||
elif not self.disable_cuda_graph:
|
elif not self.disable_cuda_graph:
|
||||||
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":
|
if self.attention_backend != "flashinfer":
|
||||||
logger.warning(
|
logger.warning(
|
||||||
"Attention backend is set to flashinfer because of enabling cuda graph in diffusion LLM inference"
|
"Attention backend is set to flashinfer because of enabling cuda graph in diffusion LLM inference"
|
||||||
|
|||||||
Reference in New Issue
Block a user