[UT for RL] Add UT to cover release/resume memory case for moe model (#8803)
This commit is contained in:
@@ -7,7 +7,7 @@ import requests
|
||||
from sglang.srt.utils import is_cuda, kill_process_tree
|
||||
from sglang.test.run_eval import run_eval
|
||||
from sglang.test.test_utils import (
|
||||
DEFAULT_SMALL_MOE_MODEL_NAME_FOR_TEST,
|
||||
DEFAULT_SMALL_MOE_MODEL_NAME_FOR_TEST_BASE,
|
||||
DEFAULT_TIMEOUT_FOR_SERVER_LAUNCH,
|
||||
DEFAULT_URL_FOR_TEST,
|
||||
CustomTestCase,
|
||||
@@ -18,7 +18,7 @@ from sglang.test.test_utils import (
|
||||
class TestTorchCompileMoe(CustomTestCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
cls.model = DEFAULT_SMALL_MOE_MODEL_NAME_FOR_TEST
|
||||
cls.model = DEFAULT_SMALL_MOE_MODEL_NAME_FOR_TEST_BASE
|
||||
cls.base_url = DEFAULT_URL_FOR_TEST
|
||||
cls.process = popen_launch_server(
|
||||
cls.model,
|
||||
|
||||
Reference in New Issue
Block a user