Remove redundant cudagraph dispatcher warning (#25841)

This commit is contained in:
Michael Goin
2025-09-28 17:12:42 -04:00
committed by GitHub
parent 471997adf6
commit 0307428d65

View File

@ -4,9 +4,6 @@ from typing import Optional
from vllm.config import CUDAGraphMode, VllmConfig
from vllm.forward_context import BatchDescriptor
from vllm.logger import init_logger
logger = init_logger(__name__)
class CudagraphDispatcher:
@ -102,8 +99,6 @@ class CudagraphDispatcher:
"""
# if not initialized, just skip dispatching.
if not self.keys_initialized:
logger.warning_once("cudagraph dispatching keys are not "
"initialized. No cudagraph will be used.")
return CUDAGraphMode.NONE, None
non_uniform_key = batch_descriptor.non_uniform