ci: decouple stage and runner for cuda registry (#25197)
This commit is contained in:
@@ -18,7 +18,7 @@ from sglang.test.test_utils import (
|
||||
popen_launch_server,
|
||||
)
|
||||
|
||||
register_cuda_ci(est_time=302, suite="stage-b-test-1-gpu-small")
|
||||
register_cuda_ci(est_time=302, stage="stage-b", runner_config="1-gpu-small")
|
||||
|
||||
|
||||
class TestDFlashServerBase(CustomTestCase, MatchedStopMixin, GSM8KMixin):
|
||||
|
||||
@@ -18,7 +18,7 @@ from sglang.test.test_utils import (
|
||||
popen_launch_server,
|
||||
)
|
||||
|
||||
register_cuda_ci(est_time=76, suite="stage-b-test-1-gpu-large")
|
||||
register_cuda_ci(est_time=76, stage="stage-b", runner_config="1-gpu-large")
|
||||
|
||||
HIGH_ACCEPT_PROMPT = (
|
||||
"Output exactly 128 new lines. "
|
||||
|
||||
@@ -16,7 +16,7 @@ from sglang.test.test_utils import (
|
||||
write_github_step_summary,
|
||||
)
|
||||
|
||||
register_cuda_ci(est_time=420, suite="stage-b-test-4-gpu-b200")
|
||||
register_cuda_ci(est_time=420, stage="stage-b", runner_config="4-gpu-b200")
|
||||
|
||||
FULL_DEEPSEEK_V3_FP4_MODEL_PATH = "nvidia/DeepSeek-V3-0324-FP4"
|
||||
SERVER_LAUNCH_TIMEOUT = 1200
|
||||
|
||||
@@ -14,7 +14,7 @@ from sglang.test.test_utils import (
|
||||
popen_launch_server,
|
||||
)
|
||||
|
||||
register_cuda_ci(est_time=116, suite="stage-b-test-1-gpu-large")
|
||||
register_cuda_ci(est_time=116, stage="stage-b", runner_config="1-gpu-large")
|
||||
|
||||
|
||||
class TestEagleConstrainedDecoding(
|
||||
|
||||
@@ -21,7 +21,7 @@ from sglang.test.test_utils import (
|
||||
)
|
||||
|
||||
# EAGLE3 with DP attention (tp=2, dp=2, requires 4 GPUs)
|
||||
register_cuda_ci(est_time=99, suite="stage-c-test-4-gpu-h100")
|
||||
register_cuda_ci(est_time=99, stage="stage-c", runner_config="4-gpu-h100")
|
||||
register_amd_ci(est_time=200, suite="stage-c-test-4-gpu-amd")
|
||||
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ from sglang.test.test_utils import (
|
||||
CustomTestCase,
|
||||
)
|
||||
|
||||
register_cuda_ci(est_time=357, suite="stage-b-test-1-gpu-large")
|
||||
register_cuda_ci(est_time=357, stage="stage-b", runner_config="1-gpu-large")
|
||||
|
||||
|
||||
class TestEAGLEEngine(CustomTestCase):
|
||||
|
||||
@@ -22,7 +22,7 @@ from sglang.test.run_eval import run_eval
|
||||
from sglang.test.server_fixtures.eagle_fixture import EagleServerBase
|
||||
from sglang.test.test_utils import DEFAULT_TARGET_MODEL_EAGLE, run_logprob_check
|
||||
|
||||
register_cuda_ci(est_time=847, suite="stage-b-test-1-gpu-large")
|
||||
register_cuda_ci(est_time=847, stage="stage-b", runner_config="1-gpu-large")
|
||||
|
||||
|
||||
class TestEAGLEServerBasic(EagleServerBase):
|
||||
|
||||
@@ -19,7 +19,7 @@ from sglang.test.test_utils import (
|
||||
popen_launch_server,
|
||||
)
|
||||
|
||||
register_cuda_ci(est_time=369, suite="stage-b-test-1-gpu-small")
|
||||
register_cuda_ci(est_time=369, stage="stage-b", runner_config="1-gpu-small")
|
||||
|
||||
|
||||
class TestEagle3ServerBase(CustomTestCase, MatchedStopMixin):
|
||||
|
||||
@@ -17,7 +17,7 @@ from sglang.test.test_utils import (
|
||||
)
|
||||
|
||||
# EAGLE with DP attention on B200 (tp=2, dp=2, requires 4 B200 GPUs)
|
||||
register_cuda_ci(est_time=123, suite="stage-c-test-4-gpu-b200")
|
||||
register_cuda_ci(est_time=123, stage="stage-c", runner_config="4-gpu-b200")
|
||||
|
||||
|
||||
def test_gsm8k(base_url: str, model: str):
|
||||
|
||||
@@ -14,7 +14,7 @@ from sglang.test.test_utils import (
|
||||
)
|
||||
|
||||
# Constrained decoding with EAGLE3 speculative reasoning (tp=2)
|
||||
register_cuda_ci(est_time=137, suite="stage-b-test-2-gpu-large")
|
||||
register_cuda_ci(est_time=137, stage="stage-b", runner_config="2-gpu-large")
|
||||
|
||||
|
||||
class ServerWithGrammar(CustomTestCase):
|
||||
|
||||
@@ -14,7 +14,7 @@ from sglang.test.test_utils import (
|
||||
popen_launch_server,
|
||||
)
|
||||
|
||||
register_cuda_ci(est_time=254, suite="stage-b-test-1-gpu-large")
|
||||
register_cuda_ci(est_time=254, stage="stage-b", runner_config="1-gpu-large")
|
||||
|
||||
GSM_DATASET_PATH = None
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ from sglang.test.test_utils import (
|
||||
)
|
||||
|
||||
# Standalone speculative decoding tests (FA3, Triton, FlashInfer backends)
|
||||
register_cuda_ci(est_time=406, suite="stage-b-test-1-gpu-large")
|
||||
register_cuda_ci(est_time=406, stage="stage-b", runner_config="1-gpu-large")
|
||||
|
||||
GSM_DATASET_PATH = None
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ from sglang.srt.speculative.eagle_utils import (
|
||||
from sglang.srt.utils import get_device
|
||||
from sglang.test.ci.ci_register import register_amd_ci, register_cuda_ci
|
||||
|
||||
register_cuda_ci(est_time=6, suite="stage-b-test-1-gpu-small")
|
||||
register_cuda_ci(est_time=6, stage="stage-b", runner_config="1-gpu-small")
|
||||
register_amd_ci(est_time=3, suite="stage-b-test-1-gpu-small-amd")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user