Skip to content

Commit de68d2a

Browse files
aarnphmxuebwang-amd
authored andcommitted
[CI][Fix] deterministic seed for flaky CI runs on structured outputs (vllm-project#24380)
Signed-off-by: Aaron Pham <[email protected]> Signed-off-by: xuebwang-amd <[email protected]>
1 parent 17e26cb commit de68d2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/v1/entrypoints/llm/test_struct_output_generate.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@
4141
PARAMS_MODELS_BACKENDS_TOKENIZER_MODE = [
4242
("mistralai/Ministral-8B-Instruct-2410", "xgrammar", "auto", None),
4343
("mistralai/Ministral-8B-Instruct-2410", "guidance", "auto", None),
44-
#FIXME: This test is flaky on CI thus disabled
45-
#("mistralai/Ministral-8B-Instruct-2410", "lm-format-enforcer", "auto",
46-
# None),
44+
("mistralai/Ministral-8B-Instruct-2410", "lm-format-enforcer", "auto",
45+
None),
4746
("mistralai/Ministral-8B-Instruct-2410", "xgrammar", "mistral", None),
4847
("Qwen/Qwen2.5-1.5B-Instruct", "xgrammar", "auto", None),
4948
("Qwen/Qwen2.5-1.5B-Instruct", "lm-format-enforcer", "auto", None),
@@ -123,6 +122,7 @@ def test_structured_output(
123122
guided_decoding_backend=guided_decoding_backend,
124123
guided_decoding_disable_any_whitespace=(guided_decoding_backend
125124
in {"xgrammar", "guidance"}),
125+
seed=120,
126126
tokenizer_mode=tokenizer_mode,
127127
speculative_config=speculative_config)
128128

0 commit comments

Comments
 (0)