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
e319153b
"tests/vscode:/vscode.git/clone" did not exist on "1b15f0222027604a5e7d8b55bd3bab23e383f18f"
Unverified
Commit
e319153b
authored
Feb 17, 2025
by
Yineng Zhang
Committed by
GitHub
Feb 17, 2025
Browse files
update unit test (#3636)
parent
32b44d2f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
.github/workflows/pr-test.yml
.github/workflows/pr-test.yml
+2
-0
test/srt/run_suite.py
test/srt/run_suite.py
+2
-2
test/srt/test_mla.py
test/srt/test_mla.py
+3
-4
No files found.
.github/workflows/pr-test.yml
View file @
e319153b
...
...
@@ -107,6 +107,8 @@ jobs:
bash scripts/ci_install_dependency.sh
-
name
:
Run test
env
:
HF_TOKEN
:
${{ secrets.HF_TOKEN }}
timeout-minutes
:
30
run
:
|
RANGE=${{ matrix.range }}
...
...
test/srt/run_suite.py
View file @
e319153b
...
...
@@ -21,11 +21,11 @@ suites = {
"test_eval_accuracy_mini.py"
,
"test_gguf.py"
,
"test_input_embeddings.py"
,
"test_mla.py"
,
"test_mla_fp8.py"
,
"test_json_constrained.py"
,
"test_large_max_new_tokens.py"
,
"test_metrics.py"
,
"test_mla.py"
,
"test_mla_fp8.py"
,
"test_no_chunked_prefill.py"
,
"test_no_overlap_scheduler.py"
,
"test_openai_server.py"
,
...
...
test/srt/test_mla.py
View file @
e319153b
...
...
@@ -58,7 +58,7 @@ class TestMLA(unittest.TestCase):
class
TestDeepseekV3
(
unittest
.
TestCase
):
@
classmethod
def
setUpClass
(
cls
):
cls
.
model
=
"
lmzheng
/sglang-ci-dsv3-test"
cls
.
model
=
"
sgl-project
/sglang-ci-dsv3-test"
cls
.
base_url
=
DEFAULT_URL_FOR_TEST
other_args
=
[
"--trust-remote-code"
]
if
torch
.
cuda
.
is_available
()
and
torch
.
version
.
cuda
:
...
...
@@ -93,13 +93,12 @@ class TestDeepseekV3(unittest.TestCase):
class
TestDeepseekV3MTP
(
unittest
.
TestCase
):
@
classmethod
def
setUpClass
(
cls
):
cls
.
model
=
"
lmzheng
/sglang-ci-dsv3-test"
cls
.
model
=
"
sgl-project
/sglang-ci-dsv3-test"
cls
.
base_url
=
DEFAULT_URL_FOR_TEST
other_args
=
[
"--trust-remote-code"
]
if
torch
.
cuda
.
is_available
()
and
torch
.
version
.
cuda
:
other_args
.
extend
(
[
"--enable-torch-compile"
,
"--cuda-graph-max-bs"
,
"2"
,
"--disable-radix"
,
...
...
@@ -109,7 +108,7 @@ class TestDeepseekV3MTP(unittest.TestCase):
"--speculative-algorithm"
,
"NEXTN"
,
"--speculative-draft"
,
"
SGLang
/sglang-ci-dsv3-test-NextN"
,
"
sgl-project
/sglang-ci-dsv3-test-NextN"
,
"--speculative-num-steps"
,
"2"
,
"--speculative-eagle-topk"
,
...
...
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