[None][chore] Modify python ipc_util to align with C++ path (#9894)

Signed-off-by: yufeiwu <230315618+yufeiwu-nv@users.noreply.github.com>
Co-authored-by: ruodil <200874449+ruodil@users.noreply.github.com>
This commit is contained in:
yufeiwu-nv 2025-12-12 15:55:22 +08:00 committed by GitHub
parent 711016c799
commit fd3d3a553d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,7 +47,9 @@ def can_access_peer(mapping: Mapping) -> bool:
# Early exit if devices are on different nodes
if mapping.get_node_rank(rank) != mapping.node_rank:
logger.info(f"Detect inter-node TP between rank {mapping.rank} and rank {rank}")
logger.info(
f"Detect inter-node TP between rank {mapping.rank} and rank {rank}, fail to access peer GPU memory"
)
return False
# Skip if same device