Skip to content

Commit 7f62b02

Browse files
committed
up
Signed-off-by: Rui Qiao <ruisearch42@gmail.com>
1 parent 5fc987a commit 7f62b02

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

vllm/v1/engine/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ def _perform_handshake(
431431

432432
yield addresses
433433

434-
# Send ready message
434+
# Send ready message.
435435
num_gpu_blocks = vllm_config.cache_config.num_gpu_blocks
436436
handshake_socket.send(
437437
msgspec.msgpack.encode({

vllm/v1/engine/core_client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from concurrent.futures import Future
1212
from dataclasses import dataclass
1313
from threading import Thread
14-
from types import NoneType
1514
from typing import Any, Callable, Optional, TypeVar, Union
1615

1716
import msgspec.msgpack
@@ -492,7 +491,7 @@ def _wait_for_engine_startup(self, handshake_socket: zmq.Socket,
492491
coordinator.get_engine_socket_addresses())
493492

494493
proc_manager = self.resources.engine_manager
495-
assert isinstance(proc_manager, (NoneType, CoreEngineProcManager)), (
494+
assert isinstance(proc_manager, (type(None), CoreEngineProcManager)), (
496495
"_wait_for_engine_startup should only be "
497496
"called with CoreEngineProcManager")
498497

0 commit comments

Comments
 (0)