[CI] Bump mypy version to 1.19.1 (#36104)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Harry Mellor
2026-03-10 09:18:28 -07:00
committed by GitHub
parent 82f3f30e26
commit f83b933b84
14 changed files with 76 additions and 35 deletions
+2
View File
@@ -1964,6 +1964,7 @@ def in_the_same_node_as(
if rank == source_rank:
# create a shared memory segment
shm = shared_memory.SharedMemory(create=True, size=128)
assert shm.buf is not None, "Buffer was not created"
shm.buf[: len(magic_message)] = magic_message
if isinstance(pg, ProcessGroup):
torch.distributed.broadcast_object_list(
@@ -1990,6 +1991,7 @@ def in_the_same_node_as(
lambda *args, **kwargs: None,
):
shm = shared_memory.SharedMemory(name=name)
assert shm.buf is not None, "Buffer was not opened"
if shm.buf[: len(magic_message)] == magic_message:
is_in_the_same_node[rank] = 1
except Exception as e: