Skip to content

[Voxtral] Add more tests #21010

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 16, 2025
Merged

Conversation

patrickvonplaten
Copy link
Collaborator

@patrickvonplaten patrickvonplaten commented Jul 15, 2025

Follow up of: #20970

Copy link

👋 Hi! Thank you for contributing to the vLLM project.

💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels.

Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run fastcheck CI which starts running only a small and essential subset of CI tests to quickly catch errors. You can run other CI tests on top of those by going to your fastcheck build on Buildkite UI (linked in the PR checks section) and unblock them. If you do not have permission to unblock, ping simon-mo or khluu to add you in our Buildkite org.

Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging.

To run CI, PR reviewers can either: Add ready label to the PR or enable auto-merge.

🚀

@mergify mergify bot added the multi-modality Related to multi-modality (#4194) label Jul 15, 2025
@patrickvonplaten patrickvonplaten changed the title clean [Voxtral] Add more tests Jul 15, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request enables and adds tests for the Voxtral model. The changes are mostly in test files. I've found one high-severity issue in a test helper function that could lead to an IndexError due to an unsafe list access. I've provided a suggestion to fix it.

patrickvonplaten and others added 2 commits July 15, 2025 21:17
Signed-off-by: Patrick von Platen <[email protected]>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Patrick von Platen <[email protected]>
Signed-off-by: Patrick von Platen <[email protected]>
@simon-mo simon-mo enabled auto-merge (squash) July 15, 2025 20:10
@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Jul 15, 2025
@@ -440,7 +440,7 @@ def check_available_online(
tokenizer="Isotr0py/Florence-2-tokenizer", # noqa: E501
trust_remote_code=True), # noqa: E501
"MllamaForConditionalGeneration": _HfExamplesInfo("meta-llama/Llama-3.2-11B-Vision-Instruct"), # noqa: E501
"VoxtralForConditionalGeneration": _HfExamplesInfo("mistralai/Voxtral-Mini-3B-2507", is_available_online=False, tokenizer_mode="mistral"), # noqa: E501
"VoxtralForConditionalGeneration": _HfExamplesInfo("mistralai/Voxtral-Mini-3B-2507", tokenizer_mode="mistral"), # noqa: E501
Copy link
Member

Choose a reason for hiding this comment

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

Doesn't this also need --config_format mistral --load_format mistral?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah actually that'd be safer - good point. It doesn't need it if there are only "mistral" format weights, but as soon as we add transformers weights to the repo it probably breaks. Will open a quick fix

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ah but can't set config_format or load_format - hmm should I add config_format and load_format then also to the _HfExamplesInfo object?

Copy link
Member

Choose a reason for hiding this comment

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

Yeah but you need to also update a bunch of tests where HF_EXAMPLE_MODELS is being used to ensure the settings are being forwarded correctly to vLLM

Copy link
Contributor

@huydhn huydhn Jul 19, 2025

Choose a reason for hiding this comment

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

This test starts failing for everyone on CI, i.e. https://buildkite.com/vllm/ci/builds/24375#01981fb2-e37e-44e5-a313-b157a4ffd669/8532-9390, after https://huggingface.co/mistralai/Voxtral-Mini-3B-2507/commit/c63c83ed2e3bbb75da6f2bf67f9a499690c1e689#d2h-457069 was committed to HF today. It looks like a new transformers package is needed, but it's not public yet 4.54.0.dev0. Would there be any short-term mitigation to keep CI sane until we have that?

@vllm-bot vllm-bot merged commit cfbcb9e into vllm-project:main Jul 16, 2025
58 of 60 checks passed
hj-mistral pushed a commit to hj-mistral/vllm that referenced this pull request Jul 19, 2025
Signed-off-by: Patrick von Platen <[email protected]>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Himanshu Jaju <[email protected]>
LyrisZhong pushed a commit to LyrisZhong/vllm that referenced this pull request Jul 23, 2025
Signed-off-by: Patrick von Platen <[email protected]>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
avigny pushed a commit to avigny/vllm that referenced this pull request Jul 31, 2025
Signed-off-by: Patrick von Platen <[email protected]>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: avigny <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

6 participants