Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
04b86b3c
Unverified
Commit
04b86b3c
authored
Oct 03, 2025
by
Liangsheng Yin
Committed by
GitHub
Oct 03, 2025
Browse files
[hot-fix] Fix CI break which caused by adding `thinking_mode` in eval (#11192)
parent
d6777a70
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
python/sglang/test/run_eval.py
python/sglang/test/run_eval.py
+6
-5
No files found.
python/sglang/test/run_eval.py
View file @
04b86b3c
...
@@ -17,13 +17,14 @@ from sglang.test.simple_eval_common import (
...
@@ -17,13 +17,14 @@ from sglang.test.simple_eval_common import (
def
get_thinking_kwargs
(
args
):
def
get_thinking_kwargs
(
args
):
if
args
.
thinking_mode
in
THINKING_MODE_CHOICES
:
thinking_mode
=
getattr
(
args
,
"thinking_mode"
,
None
)
thinking_param
=
(
if
thinking_mode
in
THINKING_MODE_CHOICES
:
"thinking"
if
args
.
thinking_mode
==
"deepseek-v3"
else
"enable_thinking"
if
thinking_mode
==
"deepseek-v3"
:
)
thinking_param
=
"thinking"
else
:
thinking_param
=
"enable_thinking"
return
{
return
{
"chat_template_kwargs"
:
{
thinking_param
:
True
},
"chat_template_kwargs"
:
{
thinking_param
:
True
},
"separate_reasoning"
:
True
,
}
}
return
{}
return
{}
...
...
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