[doc] improve debugging code (#10206)
Signed-off-by: youkaichao <youkaichao@gmail.com>
This commit is contained in:
parent
ad9a78bf64
commit
f0f2e5638e
@ -75,6 +75,9 @@ If GPU/CPU communication cannot be established, you can use the following Python
|
|||||||
|
|
||||||
print("PyTorch GLOO is successful!")
|
print("PyTorch GLOO is successful!")
|
||||||
|
|
||||||
|
if world_size <= 1:
|
||||||
|
exit()
|
||||||
|
|
||||||
# Test vLLM NCCL, with cuda graph
|
# Test vLLM NCCL, with cuda graph
|
||||||
from vllm.distributed.device_communicators.pynccl import PyNcclCommunicator
|
from vllm.distributed.device_communicators.pynccl import PyNcclCommunicator
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user