[Test] Stage-a sanity kits; consolidate core/ + models_e2e/ tests (#25831)

This commit is contained in:
Liangsheng Yin
2026-05-20 01:58:48 -07:00
committed by GitHub
parent 24d27c2035
commit 614672fea5
36 changed files with 570 additions and 637 deletions
+13 -4
View File
@@ -3,7 +3,7 @@
import unittest
from sglang.srt.utils import kill_process_tree
from sglang.test.kits.server_sanity_kit import ServerSanityMixin
from sglang.test.kits.basic_decode_correctness_kit import BasicDecodeCorrectnessMixin
from sglang.test.test_utils import (
DEFAULT_TIMEOUT_FOR_SERVER_LAUNCH,
DEFAULT_URL_FOR_TEST,
@@ -46,7 +46,10 @@ _EAGLE_SPEC_ARGS = [
]
class TestDSV4FlashTP4DP4(ServerSanityMixin, CustomTestCase):
class TestDSV4FlashTP4DP4(
BasicDecodeCorrectnessMixin,
CustomTestCase,
):
"""TP4 + DP4 + deepep + EAGLE MTP."""
@classmethod
@@ -79,7 +82,10 @@ class TestDSV4FlashTP4DP4(ServerSanityMixin, CustomTestCase):
kill_process_tree(cls.process.pid)
class TestDSV4FlashTP4EP(ServerSanityMixin, CustomTestCase):
class TestDSV4FlashTP4EP(
BasicDecodeCorrectnessMixin,
CustomTestCase,
):
"""TP attn + EP MoE (no DP attn) — exercises the DeepEP + TP-attn path."""
@classmethod
@@ -112,7 +118,10 @@ class TestDSV4FlashTP4EP(ServerSanityMixin, CustomTestCase):
kill_process_tree(cls.process.pid)
class TestDSV4FlashTP4DP4ChunkedPrefillLarge(ServerSanityMixin, CustomTestCase):
class TestDSV4FlashTP4DP4ChunkedPrefillLarge(
BasicDecodeCorrectnessMixin,
CustomTestCase,
):
"""TP4 + DP4 with --chunked-prefill-size 16384 — large chunked prefill."""
@classmethod
@@ -3,7 +3,7 @@
import unittest
from sglang.srt.utils import kill_process_tree
from sglang.test.kits.server_sanity_kit import ServerSanityMixin
from sglang.test.kits.basic_decode_correctness_kit import BasicDecodeCorrectnessMixin
from sglang.test.test_utils import (
DEFAULT_TIMEOUT_FOR_SERVER_LAUNCH,
DEFAULT_URL_FOR_TEST,
@@ -19,7 +19,10 @@ DSV4_FLASH_ENV = {
}
class TestDSV4FlashTP8NoSpec(ServerSanityMixin, CustomTestCase):
class TestDSV4FlashTP8NoSpec(
BasicDecodeCorrectnessMixin,
CustomTestCase,
):
"""TP8, no spec decoding."""
@classmethod