Skip to content

Commit 176161a

Browse files
committed
revert: remove misc changes
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
1 parent a49f180 commit 176161a

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

tests/v1/kv_connector/unit/utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,7 @@ def create_scheduler(
107107
vllm_config=vllm_config,
108108
kv_cache_config=kv_cache_config,
109109
log_stats=True,
110-
structured_output_manager=StructuredOutputManager(
111-
vllm_config=vllm_config),
110+
structured_output_manager=StructuredOutputManager(vllm_config),
112111
)
113112

114113

vllm/v1/core/sched/scheduler.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import time
88
from collections import defaultdict
99
from collections.abc import Iterable
10-
from typing import TYPE_CHECKING, Any, Optional, Union
10+
from typing import Any, Optional, Union
1111

1212
from vllm.config import VllmConfig
1313
from vllm.distributed.kv_events import EventPublisherFactory, KVEventBatch
@@ -33,9 +33,7 @@
3333
from vllm.v1.outputs import ModelRunnerOutput
3434
from vllm.v1.request import Request, RequestStatus
3535
from vllm.v1.spec_decode.metrics import SpecDecodingStats
36-
37-
if TYPE_CHECKING:
38-
from vllm.v1.structured_output import StructuredOutputManager
36+
from vllm.v1.structured_output import StructuredOutputManager
3937

4038
logger = init_logger(__name__)
4139

vllm/v1/engine/core.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ def __init__(self,
8686
self.collective_rpc("initialize_cache",
8787
args=(num_gpu_blocks, num_cpu_blocks))
8888

89-
self.structured_output_manager = StructuredOutputManager(
90-
vllm_config=vllm_config)
89+
self.structured_output_manager = StructuredOutputManager(vllm_config)
9190

9291
# Setup scheduler.
9392
if isinstance(vllm_config.scheduler_config.scheduler_cls, str):

0 commit comments

Comments
 (0)