Skip to content

Commit f0f2e56

Browse files
authored
[doc] improve debugging code (#10206)
Signed-off-by: youkaichao <[email protected]>
1 parent ad9a78b commit f0f2e56

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)