Skip to content

Conversation

Isotr0py
Copy link
Member

@Isotr0py Isotr0py commented Aug 9, 2025

Essential Elements of an Effective PR Description Checklist

  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan, such as providing test command.
  • The test results, such as pasting the results comparison before and after, or e2e results
  • (Optional) The necessary documentation update, such as updating supported_models.md and examples for a new model.

Purpose

  • The connection to picsum.photos on CI is too flaky, I uploaded them to HF to avoid annoying failed downloading:
RuntimeError: Error downloading the image from https://picsum.photos/id/27/500/500: 525 Server Error: <none> for url: https://picsum.photos/id/27/500/500.

Test Plan

Test Result

(Optional) Documentation Update

Copy link

github-actions bot commented Aug 9, 2025

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

🚀

@Isotr0py Isotr0py changed the title [Misc] Replace flaky images in pixtral test [Misc] Replace flaky image urls in pixtral test Aug 9, 2025
@mergify mergify bot added the multi-modality Related to multi-modality (#4194) label Aug 9, 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 aims to improve the reliability of the pixtral test by replacing image URLs from picsum.photos with more stable ones hosted on Hugging Face. While this is a positive change for CI stability, it introduces a potential issue with the existing test fixtures. The test_chat test relies on fixture files with pre-computed logprobs, which are sensitive to the exact pixel data of the input images. Any change in the images, including re-encoding, will likely cause these tests to fail. The fixture files may need to be regenerated and included in this PR.

Comment on lines +32 to +35
"https://huggingface.co/datasets/Isotr0py/mistral-test-images/resolve/main/237-400x300.jpg",
"https://huggingface.co/datasets/Isotr0py/mistral-test-images/resolve/main/231-200x300.jpg",
"https://huggingface.co/datasets/Isotr0py/mistral-test-images/resolve/main/27-500x500.jpg",
"https://huggingface.co/datasets/Isotr0py/mistral-test-images/resolve/main/17-150x600.jpg",
Copy link
Contributor

Choose a reason for hiding this comment

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

critical

Replacing the flaky picsum.photos URLs is a good step for test reliability. However, this change will likely break the test_chat test, which validates model outputs against fixture files with pre-computed logprobs (pixtral_chat.json and mistral_small_3_chat.json).

Unless the new images are byte-for-byte identical to the originals, the model's output will differ, causing the logprob comparison to fail. The corresponding fixture files must be regenerated using the new images and included in this pull request to ensure the tests pass.

Copy link
Member Author

Choose a reason for hiding this comment

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

Have verified that test_chat test can still pass locally after replacing image urls.

Copy link
Member

@DarkLight1337 DarkLight1337 left a comment

Choose a reason for hiding this comment

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

I think we need to regenerate the expected results which are stored under FIXTURE_LOGPROBS_CHAT

@Isotr0py
Copy link
Member Author

Isotr0py commented Aug 9, 2025

Hmmm, they are still same images, so I think the results are still same unless these images lost quality during transferring. Anyway, let me double check it locally tomorrow.

Copy link
Member

@DarkLight1337 DarkLight1337 left a comment

Choose a reason for hiding this comment

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

Let's also defer the _create_engine_inputs calls. I just realized the tests in this file are not actually being run in CI, so it makes no sense for the CI to be broken because of it

Signed-off-by: Isotr0py <[email protected]>
name_1="output")


@large_gpu_test(min_gb=48)
Copy link
Member Author

Choose a reason for hiding this comment

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

There is no need to load the complete model for this test, because we only compare the Placeholder. We can use a quite samll dummy model to run this test on CI.

Comment on lines +32 to +35
"https://huggingface.co/datasets/Isotr0py/mistral-test-images/resolve/main/237-400x300.jpg",
"https://huggingface.co/datasets/Isotr0py/mistral-test-images/resolve/main/231-200x300.jpg",
"https://huggingface.co/datasets/Isotr0py/mistral-test-images/resolve/main/27-500x500.jpg",
"https://huggingface.co/datasets/Isotr0py/mistral-test-images/resolve/main/17-150x600.jpg",
Copy link
Member Author

Choose a reason for hiding this comment

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

Have verified that test_chat test can still pass locally after replacing image urls.

@DarkLight1337 DarkLight1337 enabled auto-merge (squash) August 10, 2025 06:47
@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Aug 10, 2025
@vllm-bot vllm-bot merged commit 049c245 into vllm-project:main Aug 10, 2025
21 of 29 checks passed
@Isotr0py Isotr0py deleted the flaky-images branch August 10, 2025 16:26
paulpak58 pushed a commit to paulpak58/vllm that referenced this pull request Aug 13, 2025
diegocastanibm pushed a commit to diegocastanibm/vllm that referenced this pull request Aug 15, 2025
Signed-off-by: Isotr0py <[email protected]>
Signed-off-by: Isotr0py <[email protected]>
Signed-off-by: Diego-Castan <[email protected]>
yiliu30 pushed a commit to yiliu30/vllm-fork that referenced this pull request Aug 19, 2025
epwalsh pushed a commit to epwalsh/vllm that referenced this pull request Aug 28, 2025
xiao-llm pushed a commit to xiao-llm/vllm that referenced this pull request Aug 28, 2025
zhewenl pushed a commit to zhewenl/vllm that referenced this pull request Aug 28, 2025
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.

3 participants