[Fix] Fix clean_up_tokenization_spaces in tokenizer (#1510)
This commit is contained in:
@@ -30,7 +30,7 @@ from typing import List
|
||||
import torch
|
||||
|
||||
from sglang.test.runners import DEFAULT_PROMPTS, HFRunner, SRTRunner
|
||||
from sglang.test.test_utils import calculate_rouge_l
|
||||
from sglang.test.test_utils import calculate_rouge_l, is_in_ci
|
||||
|
||||
|
||||
@dataclasses.dataclass
|
||||
@@ -132,6 +132,9 @@ class TestGenerationModels(unittest.TestCase):
|
||||
)
|
||||
|
||||
def test_others(self):
|
||||
if is_in_ci():
|
||||
return
|
||||
|
||||
for model_case in ALL_OTHER_MODELS:
|
||||
if (
|
||||
"ONLY_RUN" in os.environ
|
||||
|
||||
Reference in New Issue
Block a user