Send mm_payload with return_mm_kwargs on vLLM render copies #3455
All Vouch review confidence checks passed
Residual risk 0.27 = Change Risk (0.67) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.67 · 262 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.333
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.067
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #3455"
general
weight: 0.35
ahg-g
What type of PR is this?
/kind bug
What this PR does / why we need it:
vllm.omitMMKwargsadds"mm_payload": "none"next to"return_mm_kwargs": falseon the render copy.vllm-project/vllm#61427 replaced the
return_mm_kwargsrender option withmm_payloadand keptreturn_mm_kwargsas a deprecated alias that vLLM ignores whenmm_payloadis set. With onlyreturn_mm_kwargson the render copy, a client that sends"mm_payload": "tensors"overrides the option on vLLMmain, so the render response carries the processed tensors again. Routing stays correct; render time goes back to the full-tensor cost.The vLLM v0.32 release branch has
return_mm_kwargsonly, so the render copy carries both fields: v0.32 readsreturn_mm_kwargs, and versions with vllm-project/vllm#61427 readmm_payload. Both are spliced after the client's fields, and the later duplicate key wins in vLLM's parser, so client values for either field are overridden. v0.32 logs the unknownmm_payloadat debug level only.omitMMKwargs: falsesends the render copy without either field, as before.Which issue(s) this PR fixes:
Part of #1552
Test plan
prefillOnly, the render copy keeps the output-budget rewrite and carries both fieldsomitMMKwargsfor chat, completions, Responses and Messages, validated with vLLM's request models fromreleases/v0.32.0(7960eeb9de) andmain(a97d19d792): v0.32 resolvesreturn_mm_kwargs=falseandmainresolvesmm_payload="none", including when the client sent"return_mm_kwargs": true, "mm_payload": "tensors"; no warnings loggedmake presubmitandmake test-unitRelease note _(write
NONEif no user-facing change)_:``
release-note
vllm.omitMMKwargsalso sends vLLM'smm_payloadrender field, so render responses stay free of multimodal tensors on vLLM versions withmm_payloadwhen a client sends its own value.
``