[Log] Optimize Startup Log (#26601)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
Wentao Ye
2025-10-14 02:06:57 +08:00
committed by GitHub
parent afc47e4de7
commit e251e457c5
6 changed files with 17 additions and 16 deletions
@@ -105,11 +105,10 @@ class PyNcclCommunicator:
self.disabled = False
self.nccl_version = self.nccl.ncclGetRawVersion()
logger.info("vLLM is using nccl==%s", self.nccl.ncclGetVersion())
if self.rank == 0:
# get the unique id from NCCL
self.unique_id = self.nccl.ncclGetUniqueId()
logger.info("vLLM is using nccl==%s", self.nccl.ncclGetVersion())
else:
# construct an empty unique id
self.unique_id = ncclUniqueId()