[mypy] Fix wrong type annotations related to tuple (#25660)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
@@ -178,7 +178,7 @@ class RayPPCommunicator(Communicator):
|
||||
|
||||
def recv(
|
||||
self,
|
||||
shape: tuple[int],
|
||||
shape: tuple[int, ...],
|
||||
dtype: "torch.dtype",
|
||||
peer_rank: int,
|
||||
allocator: TorchTensorAllocator,
|
||||
|
||||
Reference in New Issue
Block a user