mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-01-13 22:18:36 +08:00
[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:
parent
711016c799
commit
fd3d3a553d
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user