Skip to content

[EC] Automatically enable embedding inputs on EC/KV consumers - #56379

Merged
Isotr0py merged 2 commits into
vllm-project:mainfrom
gty111:ec-auto-enable-mm-embeds
Sep 11, 2026
Merged

Isotr0py merged 2 commits into
vllm-project:mainfrom
gty111:ec-auto-enable-mm-embeds

Conversation

@gty111

@gty111 gty111 commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

Automatically enable enable_mm_embeds for EC/KV consumers alongside allow_missing_mm_embeddings, so EPD rewrite requests are accepted without an explicit --enable-mm-embeds. Other roles are unchanged.

Consumer endpoints must remain trusted, as with explicitly enabling embedding inputs.

Extracted from #54176; the configuration change has been removed there. No other matching open PR was found.

Validation

  • .venv/bin/python -m pytest tests/config/test_multimodal_config.py -q: 46 passed.
  • Commit pre-commit hooks passed. No new tests added.
  • Model evaluation/E2E not rerun for this extraction; pending before marking ready.

AI assistance was used. Draft pending human review and validation.

Assisted-by: OpenAI Codex <codex@openai.com>
Signed-off-by: Tianyu Guo <guoty@inferact.ai>
Assisted-by: OpenAI Codex <codex@openai.com>
Signed-off-by: Tianyu Guo <guoty@inferact.ai>

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@Isotr0py
Isotr0py enabled auto-merge (squash) September 11, 2026 03:41
@github-actions github-actions Bot added the ready ONLY add when PR is ready to merge/full CI is needed label Sep 11, 2026
@Isotr0py

Copy link
Copy Markdown
Member

/ci run

@github-actions

Copy link
Copy Markdown

✅ Triggered Buildkite CI #88239 for commit 04046c061085.

@Isotr0py
Isotr0py merged commit e7edf17 into vllm-project:main Sep 11, 2026
122 checks passed
ItsRoy69 pushed a commit to ItsRoy69/vllm that referenced this pull request Sep 15, 2026
michael-gpu pushed a commit to practical-inference/vllm-ampere-extended that referenced this pull request Oct 20, 2026
ChingTsai added a commit to ChingTsai/vllm that referenced this pull request Oct 21, 2026
…-model-only mode

_resolve_mm_embedding_inputs() turns on allow_missing_mm_embeddings and
enable_mm_embeds on every EC/KV consumer (vllm-project#56379). With
--language-model-only, all modality limits are 0, but enable_mm_embeds makes
supports_multimodal_inputs() return True again, so the scheduler, frontend
and workers on a text-only KV consumer each build a MultiModalBudget and the
full HF processor, which loads a second copy of the tokenizer.

A language-model-only deployment never receives multimodal inputs, so skip
both flags there.

Assisted-by: Claude
Signed-off-by: Jimmy Tsai <jimmytsai@google.com>
ChingTsai added a commit to ChingTsai/vllm that referenced this pull request Oct 21, 2026
…-model-only mode

_resolve_mm_embedding_inputs() turns on allow_missing_mm_embeddings and
enable_mm_embeds on every EC/KV consumer (vllm-project#56379). With
--language-model-only, all modality limits are 0, but enable_mm_embeds makes
supports_multimodal_inputs() return True again, so the scheduler, frontend
and workers on a text-only KV consumer each build a MultiModalBudget and the
full HF processor, which loads a second copy of the tokenizer.

A language-model-only deployment never receives multimodal inputs, so skip
both flags there.

Assisted-by: Claude
Signed-off-by: Jimmy Tsai <jimmytsai@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants