Skip to content

Commit ce7a89e

Browse files
youkaichaoLeiWang1999
authored andcommitted
[doc] improve debugging code (vllm-project#10206)
Signed-off-by: youkaichao <[email protected]> Signed-off-by: LeiWang1999 <[email protected]>
1 parent 0b1909e commit ce7a89e

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)