Add retry for flaky tests in CI (#4755)
This commit is contained in:
@@ -21,7 +21,7 @@ import torch
|
||||
from utils import TORCH_DTYPES, LoRAAdaptor, LoRAModelCase
|
||||
|
||||
from sglang.test.runners import HFRunner, SRTRunner
|
||||
from sglang.test.test_utils import calculate_rouge_l, is_in_ci
|
||||
from sglang.test.test_utils import CustomTestCase, calculate_rouge_l, is_in_ci
|
||||
|
||||
CI_LORA_MODELS = [
|
||||
LoRAModelCase(
|
||||
@@ -69,7 +69,7 @@ PROMPTS = [
|
||||
BACKEND = "triton"
|
||||
|
||||
|
||||
class TestLoRATP(unittest.TestCase):
|
||||
class TestLoRATP(CustomTestCase):
|
||||
def run_tp(
|
||||
self,
|
||||
prompt: str,
|
||||
|
||||
Reference in New Issue
Block a user