ci: run Stage A CUDA tests as stage-a-test-small-1-gpu on 5090 (#20988)
This commit is contained in:
@@ -25,7 +25,7 @@ from sglang.srt.utils import get_device
|
||||
from sglang.test.ci.ci_register import register_amd_ci
|
||||
|
||||
# Wave attention kernel unit tests (AMD only - requires wave_lang)
|
||||
register_amd_ci(est_time=60, suite="stage-a-test-1-amd")
|
||||
register_amd_ci(est_time=60, suite="stage-a-test-small-1-gpu-amd")
|
||||
|
||||
|
||||
class TestWaveAttention(unittest.TestCase):
|
||||
|
||||
@@ -12,7 +12,7 @@ from sglang.test.ci.ci_register import register_cuda_ci
|
||||
|
||||
register_cuda_ci(
|
||||
est_time=10,
|
||||
suite="stage-a-test-1",
|
||||
suite="stage-a-test-small-1-gpu",
|
||||
disabled="Manual only: triggers intentional CUDA crash for coredump verification",
|
||||
)
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ from sglang.srt.utils import get_device
|
||||
from sglang.test.ci.ci_register import register_amd_ci
|
||||
from sglang.test.test_utils import CustomTestCase
|
||||
|
||||
register_amd_ci(est_time=2, suite="stage-a-test-1-amd")
|
||||
register_amd_ci(est_time=2, suite="stage-a-test-small-1-gpu-amd")
|
||||
|
||||
device = get_device()
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import torch.nn.functional as F
|
||||
from sglang.test.ci.ci_register import register_amd_ci
|
||||
from sglang.test.test_utils import CustomTestCase
|
||||
|
||||
register_amd_ci(est_time=10, suite="stage-a-test-1-amd")
|
||||
register_amd_ci(est_time=10, suite="stage-a-test-small-1-gpu-amd")
|
||||
|
||||
|
||||
def _fp8_available() -> bool:
|
||||
|
||||
@@ -19,8 +19,8 @@ from sglang.test.test_programs import (
|
||||
)
|
||||
from sglang.test.test_utils import DEFAULT_MODEL_NAME_FOR_TEST, CustomTestCase
|
||||
|
||||
register_cuda_ci(est_time=80, suite="stage-a-test-1")
|
||||
register_amd_ci(est_time=120, suite="stage-a-test-1-amd")
|
||||
register_cuda_ci(est_time=80, suite="stage-a-test-small-1-gpu")
|
||||
register_amd_ci(est_time=120, suite="stage-a-test-small-1-gpu-amd")
|
||||
|
||||
|
||||
class TestSRTBackend(CustomTestCase):
|
||||
@@ -29,7 +29,9 @@ class TestSRTBackend(CustomTestCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
cls.backend = sgl.Runtime(
|
||||
model_path=DEFAULT_MODEL_NAME_FOR_TEST, cuda_graph_max_bs=4
|
||||
model_path=DEFAULT_MODEL_NAME_FOR_TEST,
|
||||
cuda_graph_max_bs=4,
|
||||
mem_fraction_static=0.7,
|
||||
)
|
||||
sgl.set_default_backend(cls.backend)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user