Commit b268a95
committed
fix(multimodal): gate vLLM RDMA emit on exporter presence, not request mode
resolve_mm_rdma_enabled required the per-request transport mode to be `rdma`,
but the exporter is built whenever the lane is enabled — including via the
legacy `SMG_MM_PIXEL_RDMA` flag, which leaves the mode at the default `inline`.
That combination built the exporter and let the worker advertise
supports_rdma_pull=true, yet the gateway never emitted `remote` payloads.
Gate purely on the exporter being present plus the worker's capability label,
matching TokenSpeed (which emits whenever the exporter is up) and honoring every
way the lane is enabled. The capability label is the per-worker opt-out. Drop
the bogus `_mode` label from the test (mode is no longer read; the exporter gate
is now exercised directly). (Codex, CodeRabbit)
Signed-off-by: Simo Lin <25425177+slin1237@users.noreply.github.com>1 parent fca7eb8 commit b268a95
1 file changed
Lines changed: 11 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
163 | 167 | | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
| 168 | + | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| |||
666 | 666 | | |
667 | 667 | | |
668 | 668 | | |
669 | | - | |
670 | | - | |
| 669 | + | |
671 | 670 | | |
672 | 671 | | |
673 | 672 | | |
| |||
0 commit comments