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
"...ssh:/git@developer.sourcefind.cn:2222/OpenDAS/dynamo.git" did not exist on "5a3fa1fdfd656b92e6b6f55cb2ebb9776163a178"
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
Hide 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):
...
@@ -156,7 +156,7 @@ def test_sglang_deployment(request, runtime_services, sglang_config_test):
response
=
requests
.
post
(
response
=
requests
.
post
(
f
"http://localhost:
{
server
.
port
}
/v1/chat/completions"
,
f
"http://localhost:
{
server
.
port
}
/v1/chat/completions"
,
json
=
{
json
=
{
"model"
:
"
deepseek-ai/DeepSeek-R1-Distill-Llama-8
B"
,
"model"
:
"
Qwen/Qwen3-0.6
B"
,
"messages"
:
[
"messages"
:
[
{
{
"role"
:
"user"
,
"role"
:
"user"
,
...
@@ -172,7 +172,6 @@ def test_sglang_deployment(request, runtime_services, sglang_config_test):
...
@@ -172,7 +172,6 @@ def test_sglang_deployment(request, runtime_services, sglang_config_test):
assert
"choices"
in
result
assert
"choices"
in
result
assert
len
(
result
[
"choices"
])
>
0
assert
len
(
result
[
"choices"
])
>
0
content
=
result
[
"choices"
][
0
][
"message"
][
"content"
]
content
=
result
[
"choices"
][
0
][
"message"
][
"content"
]
assert
len
(
content
)
>
0
responses
.
append
(
content
)
responses
.
append
(
content
)
logger
.
info
(
f
"SGLang
{
config
.
name
}
response:
{
content
}
"
)
logger
.
info
(
f
"SGLang
{
config
.
name
}
response:
{
content
}
"
)
...
@@ -194,7 +193,7 @@ def test_sglang_deployment(request, runtime_services, sglang_config_test):
...
@@ -194,7 +193,7 @@ def test_sglang_deployment(request, runtime_services, sglang_config_test):
response
=
requests
.
post
(
response
=
requests
.
post
(
f
"http://localhost:
{
server
.
port
}
/v1/completions"
,
f
"http://localhost:
{
server
.
port
}
/v1/completions"
,
json
=
{
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"
,
"prompt"
:
"Roger Federer is the greatest tennis player of all time"
,
"max_tokens"
:
30
,
"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