[Test] Stage-a sanity kits; consolidate core/ + models_e2e/ tests (#25831)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"""Archived test classes split out of test/registered/models/test_nvidia_nemotron_3_nano.py.
|
||||
"""Archived test classes split out of test/registered/models_e2e/test_nvidia_nemotron_3_nano.py.
|
||||
|
||||
Originally registered with `register_cuda_ci(...)`. Moved here as part of
|
||||
the per-commit pruning effort to keep the code reachable manually.
|
||||
|
||||
Reference in New Issue
Block a user