[CI Test] Mark batch invariance test flaky - #46530
Conversation
Signed-off-by: yewentao256 <zhyanwentao@126.com>
Signed-off-by: Wentao Ye <44945378+yewentao256@users.noreply.github.com>
mgoin
left a comment
There was a problem hiding this comment.
Thanks! Let's clear up CI for now
Signed-off-by: yewentao256 <zhyanwentao@126.com> Signed-off-by: Wentao Ye <44945378+yewentao256@users.noreply.github.com>
Signed-off-by: yewentao256 <zhyanwentao@126.com> Signed-off-by: Wentao Ye <44945378+yewentao256@users.noreply.github.com>
Signed-off-by: yewentao256 <zhyanwentao@126.com> Signed-off-by: Wentao Ye <44945378+yewentao256@users.noreply.github.com>
|
@yewentao256 you wrote "maybe worth a deep dive, but let's fix CI first". Here is the deep What the marker costs, from the test's own parametersThe test runs
To be reported half the time, a violation has to appear in 30.8% of trials instead of 12.9%. Measurements, including the one that cuts against the argumentNeedle protocol reproduced faithfully — same prompt,
The bottom four rows are the counterweight to the table above. Every violation I could So the masking is not a general cost. It is specific to intermittent violations, and the I could not reproduce that node's behaviour: on this 4090 the intact arms are clean to within Why it is worth resolving either waySince this merged, 19 batch-invariance PRs have landed, including kernel bugfixes whose Two options that keep CI green without that
Happy to open the PR for whichever you prefer, or to drop this if you would rather keep the |
|
Following up on my own comment, because I read #46531 afterwards and it changes what I should What is left after that is narrower than my first comment, and it is about how #46531 was The issue was closed on two things. One is @drisspg's non-reproduction — on Blackwell and The suspected fix does not close the gap either. The hunch points at #46564, which is The argument against me, which I want on the record: I could not construct a violation with So I am not claiming something is broken. The concrete suggestion is smaller: since the cause Happy to open that one-line PR if you want it, or to leave it if you would rather keep the |
Purpose
Thanks for the context from @mgoin , this batch invariance test seems to be flaky in certain node.
https://buildkite.com/vllm/ci/builds/73785#019ef524-b3b6-442c-9e0c-cb4ee887c1e5/L3930, rerun passes.
Locally test passes as well
pytest tests/v1/determinism/test_batch_invariance.py::test_v1_generation_is_deterministic_across_batch_sizes_with_needle[FLEX_ATTENTION]============================ 1 passed, 19 warnings in 46.96s =============================
Maybe worth a deep dive, but let's fix CI first