Skip to content

[Model] Enable --mm-encoder-tp-mode data for MiMo-V2.6 - #64179

Merged
DarkLight1337 merged 2 commits into
vllm-project:mainfrom
EmbeddedLLM:mimo-encoder-tp-data
Nov 2, 2026
Merged

DarkLight1337 merged 2 commits into
vllm-project:mainfrom
EmbeddedLLM:mimo-encoder-tp-data

Conversation

@vllmellm

@vllmellm vllmellm commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Overview

Using --mm-encoder-tp-mode data on MimoV2.6 exposed a bug - under data parallel the vision attention collapsed tp_size to 1 but kept the process's tensor-parallel rank, so on any rank > 0 the per-head slice started past the end of the head range and the sink effect was silently dropped.

Claims

  • advertise supports_encoder_tp_data, and collapse the rank together with the size.

Validation

pytest tests/models/multimodal/test_mimo_v2_omni.py   # 4 passed, 2 skipped here; 3 of the 4 fail on main

End to end, TP4, MiMo-V2.6-Flash-MOPD, one boot per mode:

--mm-encoder-tp-mode data default (weights)
image probes 6/6 6/6
4-digit OCR, 24 images 24/24 24/24
multi-image conversation 8/8 8/8

Details

This change is a correctness and availability fix, we do not claimed any performance gain.


Pull Request Checklist
  • I used vLLM's /pr-checklist skill. (Mandatory for agents, optional for humans).

  • AI assistance was used during the creation of this PR.

  • Design Fit: Minimizes impact on core components, reuses existing functionality, and justifies added complexity.

  • Testing and Validation: Validates the change and ensures any added tests are meaningful and reliable, with CI coverage or documented CI resource constraints and validation performed outside CI.

  • Code Quality and Style: Keeps code and comments clear and concise, and updates relevant documentation and examples.

  • Pull Request Contents: Includes a brief summary and relevant links, supports claims with evidence, explains root causes and implementation trade-offs, and follows the contributing guide.

@vllmellm
vllmellm requested a review from a team October 28, 2026 01:49

@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.

@mergify mergify Bot added ci/build multi-modality Related to multi-modality (#4194) labels Oct 28, 2026
@DarkLight1337

Copy link
Copy Markdown
Member

/ci run

@DarkLight1337
DarkLight1337 enabled auto-merge (squash) October 28, 2026 04:25
@github-actions github-actions Bot added the ready ONLY add when PR is ready to merge/full CI is needed label Oct 28, 2026
@github-actions

Copy link
Copy Markdown

✅ Triggered Buildkite CI #97865 for commit 95dd82ea1043.

@vllmellm
vllmellm force-pushed the mimo-encoder-tp-data branch from 95dd82e to ce83d0b Compare October 29, 2026 02:55
@vllmellm

Copy link
Copy Markdown
Contributor Author

/ci run

@github-actions

Copy link
Copy Markdown

✅ Triggered Buildkite CI #98183 for commit ce83d0b27918.

@mergify

mergify Bot commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

This pull request has merge conflicts that must be resolved before it can be
merged. Please rebase the PR, @vllmellm.

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork

@mergify mergify Bot added the needs-rebase label Oct 30, 2026
Signed-off-by: vllmellm <vllm.ellm@embeddedllm.com>
@vllmellm
vllmellm force-pushed the mimo-encoder-tp-data branch from ce83d0b to 197031f Compare November 2, 2026 03:02
@mergify mergify Bot removed the needs-rebase label Nov 2, 2026
@vllmellm

vllmellm commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

/ci run

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown

✅ Triggered Buildkite CI #99057 for commit 097de020f46c.

@DarkLight1337
DarkLight1337 enabled auto-merge (squash) November 2, 2026 06:06

@khluu khluu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

stamped for CI changes

@DarkLight1337
DarkLight1337 merged commit 0e5b2ba into vllm-project:main Nov 2, 2026
114 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/build multi-modality Related to multi-modality (#4194) 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.

3 participants