update unit test (#3636)

This commit is contained in:
Yineng Zhang
2025-02-17 21:06:10 +08:00
committed by GitHub
parent 32b44d2fca
commit e319153be8
3 changed files with 7 additions and 6 deletions

View File

@@ -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 }}

View File

@@ -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",

View File

@@ -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",