Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
2dbfed89
"lib/runtime/vscode:/vscode.git/clone" did not exist on "a7fed3295d1a14f90c26bdfdc8c94ad8337080ac"
Unverified
Commit
2dbfed89
authored
Jan 26, 2026
by
Alec
Committed by
GitHub
Jan 26, 2026
Browse files
test: consolidate guided decoding vLLM configs (#5670)
parent
8d9ccdfb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
23 deletions
+5
-23
tests/serve/test_vllm.py
tests/serve/test_vllm.py
+5
-23
No files found.
tests/serve/test_vllm.py
View file @
2dbfed89
...
...
@@ -576,8 +576,8 @@ vllm_configs = {
completion_payload_default
(),
],
),
"guided_decoding
_json
"
:
VLLMConfig
(
name
=
"guided_decoding
_json
"
,
"guided_decoding"
:
VLLMConfig
(
name
=
"guided_decoding"
,
directory
=
vllm_dir
,
script_name
=
"agg.sh"
,
marks
=
[
pytest
.
mark
.
gpu_1
,
pytest
.
mark
.
pre_merge
],
...
...
@@ -599,16 +599,7 @@ vllm_configs = {
"required"
:
[
"name"
,
"age"
],
}
},
)
],
),
"guided_decoding_regex"
:
VLLMConfig
(
name
=
"guided_decoding_regex"
,
directory
=
vllm_dir
,
script_name
=
"agg.sh"
,
marks
=
[
pytest
.
mark
.
gpu_1
,
pytest
.
mark
.
pre_merge
],
model
=
"Qwen/Qwen3-0.6B"
,
request_payloads
=
[
),
chat_payload
(
"Generate a color name (red, blue, or green)"
,
repeat_count
=
1
,
...
...
@@ -616,16 +607,7 @@ vllm_configs = {
temperature
=
0.0
,
max_tokens
=
20
,
extra_body
=
{
"guided_regex"
:
r
"(red|blue|green)"
},
)
],
),
"guided_decoding_choice"
:
VLLMConfig
(
name
=
"guided_decoding_choice"
,
directory
=
vllm_dir
,
script_name
=
"agg.sh"
,
marks
=
[
pytest
.
mark
.
gpu_1
,
pytest
.
mark
.
pre_merge
],
model
=
"Qwen/Qwen3-0.6B"
,
request_payloads
=
[
),
chat_payload
(
"Generate a color name (red, blue, or green)"
,
repeat_count
=
1
,
...
...
@@ -633,7 +615,7 @@ vllm_configs = {
temperature
=
0.0
,
max_tokens
=
20
,
extra_body
=
{
"guided_choice"
:
[
"red"
,
"blue"
,
"green"
]},
)
)
,
],
),
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment