[mypy] Enable mypy type checking for vllm/core (#7229)

This commit is contained in:
Jonathan Berkhahn
2024-08-28 07:11:14 +08:00
committed by GitHub
parent 5340a2dccf
commit 9c71c97ae2
9 changed files with 31 additions and 18 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ class CpuGpuBlockAllocator(DeviceAwareBlockAllocator):
def allocate_immutable_blocks(self, prev_block: Optional[Block],
block_token_ids: List[List[int]],
device: Optional[Device]) -> List[Block]:
device: Device) -> List[Block]:
"""Allocates a new group of immutable blocks with the provided block
token IDs on the specified device.