Skip to content

Commit f2a12c2

Browse files
youkaichaoweilong.yu
authored andcommitted
[doc] improve debugging code (vllm-project#10206)
Signed-off-by: youkaichao <[email protected]>
1 parent cd39c6a commit f2a12c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/source/getting_started/debugging.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ If GPU/CPU communication cannot be established, you can use the following Python
7575
7676
print("PyTorch GLOO is successful!")
7777
78+
if world_size <= 1:
79+
exit()
80+
7881
# Test vLLM NCCL, with cuda graph
7982
from vllm.distributed.device_communicators.pynccl import PyNcclCommunicator
8083

0 commit comments

Comments
 (0)