vllm: set VLLM_NIXL_SIDE_CHANNEL_HOST to node's routable IP#158
Open
esmeetu wants to merge 1 commit into
Open
Conversation
vLLM defaults VLLM_NIXL_SIDE_CHANNEL_HOST to 0.0.0.0/localhost, which breaks the NIXL side-channel handshake across multiple nodes — workers advertise an unreachable address and KV transfer setup fails. Stamp the per-process host to the node's routable IP (same resolution already used for distributed-init leader IPs) whenever the process has a nixl_port allocated. Originally landed on the sa-submission-q2-2026 branch via NVIDIA#11 but never forward-ported to main; cherry-picking the minimal one-line behavior change here with an updated test.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
vLLM defaults
VLLM_NIXL_SIDE_CHANNEL_HOSTto0.0.0.0/localhost, which breaks the NIXL side-channel handshake when prefill and decode workers live on different nodes — the advertised host is unreachable and KV-transfer setup fails.Set the per-process host to the node's routable IP (the same resolution
build_worker_commandalready uses for the distributed-init leader) whenever a process has anixl_portallocated.Background
This fix originally landed in #11 ("Add Kimi-K2.5 vLLM recipes and fix NIXL side channel host"), but PR #11 was merged into the
sa-submission-q2-2026branch and never forward-ported tomain. Multi-node vLLM disaggregated runs againstmainstill hit the handshake failure today.Changes
src/srtctl/backends/vllm.py— whenprocess.nixl_port is not None, also stampVLLM_NIXL_SIDE_CHANNEL_HOST = get_hostname_ip(process.node)inget_process_environment().tests/test_configs.py— extendtest_vllm_get_process_environmentto assert the new env var (patchesget_hostname_ip) and add the negative assertion totest_vllm_get_process_environment_none_ports.make checkclean (718 passed, 2 skipped).Test plan
make checkpassesWORKERS_READY(no NIXL handshake errors in worker logs)