[Feature] P2pNccl concurrent dispatch mode#167
Closed
simondanielsson wants to merge 31 commits into
Closed
Conversation
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
… service discovery Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
…mode Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
…s not support it anyways Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
…ntead of WRITRE mode Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
…mode Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
1 task
Contributor
Author
|
Closing as the perforamnce is actually worse than not using concurrent dispatch |
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.
Purpose
Fixes #168.
Add concurrent dispatch of requests to P/D instance for the P2pNcclConnector, removing from the TTFT (1) a full HTTP round-trip, and (2) scheduling overhead on D.
The bulk of this feature was already added in #157, so we mostly need to add a
--kv-connector p2pncclenum here to make it work also for P2pNccl.Note: This is branched off of #157, so the diff will be much smaller once that PR is merged.
TTFT of toy proxy vs vllm-router. Qwen3-8b, 1P1D, 1k/1k ISL/OSL, MI300X
Usage
vllm-router \ --vllm-pd-disaggregation \ --kv-connector p2pnccl \ --vllm-discovery-address "0.0.0.0:36367" \ --policy consistent_hash \ --prefill-policy consistent_hash \ --decode-policy consistent_hash \ --log-level infoand use a
--kv-transfer-configlike this for vLLM:{ "kv_connector": "P2pNcclConnector", "kv_role": "kv_producer", # kv_consumer on the D side "kv_buffer_size": "1e10", "kv_port": "21001", "kv_connector_extra_config": { "proxy_ip": "${PREFILL_IP}", "proxy_port": "36367", "http_port": "8100" } }Test Plan
Compare performance of Qwen3-8b using vllm-router vs toy proxy on 2xMI300X.
First build the router in this branch
1. Toy proxy
Following https://docs.vllm.ai/en/stable/design/p2p_nccl_connector/#run-1p3d
2. vllm-router
Test Result
Essential Elements of an Effective PR Description Checklist