mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-22 21:51:24 +08:00
Remove redundant cudagraph dispatcher warning (#25841)
This commit is contained in:
parent
471997adf6
commit
0307428d65
@ -4,9 +4,6 @@ from typing import Optional
|
|||||||
|
|
||||||
from vllm.config import CUDAGraphMode, VllmConfig
|
from vllm.config import CUDAGraphMode, VllmConfig
|
||||||
from vllm.forward_context import BatchDescriptor
|
from vllm.forward_context import BatchDescriptor
|
||||||
from vllm.logger import init_logger
|
|
||||||
|
|
||||||
logger = init_logger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class CudagraphDispatcher:
|
class CudagraphDispatcher:
|
||||||
@ -102,8 +99,6 @@ class CudagraphDispatcher:
|
|||||||
"""
|
"""
|
||||||
# if not initialized, just skip dispatching.
|
# if not initialized, just skip dispatching.
|
||||||
if not self.keys_initialized:
|
if not self.keys_initialized:
|
||||||
logger.warning_once("cudagraph dispatching keys are not "
|
|
||||||
"initialized. No cudagraph will be used.")
|
|
||||||
return CUDAGraphMode.NONE, None
|
return CUDAGraphMode.NONE, None
|
||||||
|
|
||||||
non_uniform_key = batch_descriptor.non_uniform
|
non_uniform_key = batch_descriptor.non_uniform
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user