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
e2e909f3
Unverified
Commit
e2e909f3
authored
Aug 21, 2025
by
ishandhanani
Committed by
GitHub
Aug 21, 2025
Browse files
fix: set functional tests to use qwen (#2617)
parent
70769902
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
tests/serve/test_sglang.py
tests/serve/test_sglang.py
+2
-3
No files found.
tests/serve/test_sglang.py
View file @
e2e909f3
...
...
@@ -156,7 +156,7 @@ def test_sglang_deployment(request, runtime_services, sglang_config_test):
response
=
requests
.
post
(
f
"http://localhost:
{
server
.
port
}
/v1/chat/completions"
,
json
=
{
"model"
:
"
deepseek-ai/DeepSeek-R1-Distill-Llama-8
B"
,
"model"
:
"
Qwen/Qwen3-0.6
B"
,
"messages"
:
[
{
"role"
:
"user"
,
...
...
@@ -172,7 +172,6 @@ def test_sglang_deployment(request, runtime_services, sglang_config_test):
assert
"choices"
in
result
assert
len
(
result
[
"choices"
])
>
0
content
=
result
[
"choices"
][
0
][
"message"
][
"content"
]
assert
len
(
content
)
>
0
responses
.
append
(
content
)
logger
.
info
(
f
"SGLang
{
config
.
name
}
response:
{
content
}
"
)
...
...
@@ -194,7 +193,7 @@ def test_sglang_deployment(request, runtime_services, sglang_config_test):
response
=
requests
.
post
(
f
"http://localhost:
{
server
.
port
}
/v1/completions"
,
json
=
{
"model"
:
"
deepseek-ai/DeepSeek-R1-Distill-Llama-8
B"
,
"model"
:
"
Qwen/Qwen3-0.6
B"
,
"prompt"
:
"Roger Federer is the greatest tennis player of all time"
,
"max_tokens"
:
30
,
},
...
...
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