Repository navigation
[Docs][EC Connector] CPU EC Connector usage Docs - #54522
Merged
ywang96 merged 4 commits intoSep 9, 2026
Merged
Conversation
Signed-off-by: omerpaz95 <omerpaz95@gmail.com>
Contributor
|
Documentation preview: https://vllm--54522.org.readthedocs.build/en/54522/ |
Signed-off-by: omerpaz95 <omerpaz95@gmail.com>
gty111
reviewed
Sep 8, 2026
| }' | ||
| ``` | ||
|
|
||
| `ec_role="ec_producer"` alone already sets `vllm_config.is_encoder_only=True` (skips the language model, sampler, and pooler); add `--mm-encoder-only` only if you need encoder-only execution independent of `ec_transfer_config`. |
Collaborator
There was a problem hiding this comment.
This is now vllm_config.is_mm_encoder_only on main.
| | `ec_connector` | `str \| None` | `None` | Connector class name. Use `"ECCPUConnector"`. | | ||
| | `ec_role` | `"ec_producer" \| "ec_consumer" \| "ec_both" \| None` | `None` | Required whenever `ec_connector` is set. `ec_producer` offloads GPU→CPU only, `ec_consumer` reloads CPU→GPU only, `ec_both` does both in the same process. | | ||
| | `ec_connector_extra_config` | `dict[str, Any]` | `{}` | Connector-specific settings, including `ec_enable_nixl` — see [`ec_connector_extra_config` Reference](#ec_connector_extra_config-reference). | | ||
| | `engine_id` | `str \| None` | random UUID4 | Names the shared mmap file: `/dev/shm/vllm_ec_{engine_id}_dp{dp_rank}.mmap`. Also seeds the NIXL agent name when `ec_enable_nixl=True`. | |
Collaborator
There was a problem hiding this comment.
The mmap filename now uses vllm_config.instance_id, not ec_transfer_config.engine_id. The latter is still used for the NIXL agent name.
Signed-off-by: omerpaz95 <omerpaz95@gmail.com>
Collaborator
|
/ci run |
|
✅ @omerpaz95, CI is now available for this PR.
|
|
✅ Triggered Buildkite CI #87798 for commit |
ywang96
approved these changes
Sep 9, 2026
ItsRoy69
pushed a commit
to ItsRoy69/vllm
that referenced
this pull request
Sep 10, 2026
Signed-off-by: omerpaz95 <omerpaz95@gmail.com> Signed-off-by: Jyotirmoy Roy <jyotirmoyroy649@gmail.com>
1 task done
michael-gpu
pushed a commit
to practical-inference/vllm-ampere-extended
that referenced
this pull request
Oct 20, 2026
Signed-off-by: omerpaz95 <omerpaz95@gmail.com>
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
Introducing a basic usage manual to the CPU EC Connector.
This includes feature flags, environment variables, basic setup, NIXL-based EC sharing setup, protocol description.