Fix unit tests (#11503)

This commit is contained in:
Lianmin Zheng
2025-10-12 07:45:57 -07:00
committed by GitHub
parent 6a653bb11b
commit 5a6ec8f999
6 changed files with 38 additions and 15 deletions

View File

@@ -13,7 +13,7 @@ class TestFile:
# NOTE: please sort the test cases alphabetically by the test file name
suites = {
"per-commit": [
"per-commit-1-gpu": [
TestFile("function_call/test_json_schema_constraint.py", 30),
TestFile("hicache/test_hicache.py", 116),
TestFile("hicache/test_hicache_eagle.py", 150),
@@ -179,6 +179,9 @@ suites = {
TestFile("test_vllm_dependency.py", 185),
# TestFile("test_gguf.py", 96),
],
# If the test cases take too long, considering adding them to nightly tests instead of per-commit tests
"nightly-1-gpu": [],
"nightly-8-gpu": [],
}
# Add AMD tests

View File

@@ -72,7 +72,8 @@ class TestDeepseekV3MTPChannelInt8(CustomTestCase):
"16",
"--enable-torch-compile",
"--torch-compile-max-bs",
"2" "--speculative-algorithm",
"2",
"--speculative-algorithm",
"EAGLE",
"--speculative-draft-model-path",
"sgl-project/sglang-ci-dsv3-channel-int8-test-NextN",
@@ -177,7 +178,8 @@ class TestDeepseekV3MTPBlockInt8(CustomTestCase):
"16",
"--enable-torch-compile",
"--torch-compile-max-bs",
"2" "--speculative-algorithm",
"2",
"--speculative-algorithm",
"EAGLE",
"--speculative-num-steps",
"2",