Skip to content

Commit a61fb77

Browse files
committed
add type hint on metadata
Signed-off-by: Kero Liang <[email protected]>
1 parent 8558ab9 commit a61fb77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/distributed/device_communicators/shm_object_storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def __init__(
157157

158158
if create:
159159
# we are creating a buffer
160-
self.metadata = {} # monotonic_id -> start address
160+
self.metadata: dict[int, int] = {} # monotonic_id -> start address
161161
self.shared_memory = shared_memory.SharedMemory(
162162
create=True, size=self.data_buffer_size, name=name
163163
)

0 commit comments

Comments
 (0)