[Misc] Move disable_nccl_for_dp_synchronization init logic into VllmConfig (#30161)

Signed-off-by: Nick Hill <nhill@redhat.com>
This commit is contained in:
Nick Hill
2025-12-05 20:59:04 -08:00
committed by GitHub
parent b12f4a9830
commit 4026ae31e9
2 changed files with 9 additions and 6 deletions
+9
View File
@@ -586,6 +586,15 @@ class VllmConfig:
else:
self.scheduler_config.async_scheduling = True
if (
self.scheduler_config.async_scheduling
and not self.parallel_config.disable_nccl_for_dp_synchronization
):
logger.info(
"Disabling NCCL for DP synchronization when using async scheduling."
)
self.parallel_config.disable_nccl_for_dp_synchronization = True
from vllm.platforms import current_platform
if (