Skip to content
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

[CI/Build] fix flaky test #3602

Merged
merged 1 commit into from
Mar 25, 2024
Merged

Conversation

youkaichao
Copy link
Member

When the random batchsize is 1, 2, 3, 4, we will pad them into 1, 2, 4, 4, i.e. _get_graph_batch_size(original_size), instead of aligning them to be a multiple of 8.

That's why the test is flaky. The code is good, but the test is wrong.

Since these tests are quite cheep, I use pytest.mark.parametrize to run all of the possibilities.

Copy link
Member

@zhuohan123 zhuohan123 left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the fix!

@youkaichao youkaichao merged commit 837e185 into vllm-project:main Mar 25, 2024
32 checks passed
@youkaichao youkaichao deleted the fix_flaky_test branch March 25, 2024 00:43
Temirulan pushed a commit to Temirulan/vllm-whisper that referenced this pull request Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants