-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
[CI/Build] Disable flaky test_structured_output tests #24404
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] Disable flaky test_structured_output tests #24404
Conversation
Signed-off-by: 22quinn <[email protected]>
There was a problem hiding this 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 disables several flaky tests in test_structured_output
to improve CI stability, which is a reasonable temporary measure. The associated tracking issue is correctly referenced. However, I've identified a latent bug in one of the commented-out test configurations that should be fixed to prevent future errors.
#FIXME: This tests are flaky on CI thus disabled. Tracking in Issue #24402 | ||
# ("mistralai/Ministral-8B-Instruct-2410", "outlines", "auto", None), | ||
# ("mistralai/Ministral-8B-Instruct-2410", "outlines", "mistral", None), | ||
#("Qwen/Qwen2.5-1.5B-Instruct", "guidance", "auto"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commented-out test case tuple is malformed. It has 3 elements, but the pytest.mark.parametrize
for test_structured_output
expects 4 elements (model_name
, guided_decoding_backend
, tokenizer_mode
, speculative_config
). If this test is uncommented in the future, it will cause a ValueError
during test collection. Please add None
as the fourth element to represent the speculative_config
.
#("Qwen/Qwen2.5-1.5B-Instruct", "guidance", "auto"), | |
#("Qwen/Qwen2.5-1.5B-Instruct", "guidance", "auto", None), |
…4404) Signed-off-by: 22quinn <[email protected]> Signed-off-by: JasonZhu1313 <[email protected]>
…4404) Signed-off-by: 22quinn <[email protected]>
…4404) Signed-off-by: 22quinn <[email protected]>
…4404) Signed-off-by: 22quinn <[email protected]> Signed-off-by: LopezCastroRoberto <[email protected]>
…4404) Signed-off-by: 22quinn <[email protected]>
Purpose
Mitigate #24402
Test Plan
CI
Test Result
Essential Elements of an Effective PR Description Checklist
supported_models.md
andexamples
for a new model.