Auto balance CI tests (#4238)

This commit is contained in:
Lianmin Zheng
2025-03-09 21:05:55 -07:00
committed by GitHub
parent 730d084f2a
commit fbd560028a
5 changed files with 151 additions and 84 deletions

View File

@@ -1,11 +1,19 @@
import argparse
import glob
from dataclasses import dataclass
from sglang.test.test_utils import run_unittest_files
@dataclass
class TestFile:
name: str
estimated_time: float = 60
suites = {
"per-commit": [
"test_srt_backend.py",
TestFile("test_srt_backend.py"),
# Skip this due to some OPENAI_API_KEY issues
# "test_openai_backend.py",
],