[CI] Slim JIT kernel unit tests (#36887)
This commit is contained in:
@@ -395,6 +395,7 @@ def run_a_suite(args):
|
||||
enable_retry=args.enable_retry,
|
||||
max_attempts=args.max_attempts,
|
||||
retry_wait_seconds=args.retry_wait_seconds,
|
||||
fork_worker_batch_size=args.fork_worker_batch_size,
|
||||
)
|
||||
|
||||
|
||||
@@ -487,8 +488,20 @@ def main():
|
||||
default=None,
|
||||
help="Path to sglang-ci-stats model.json for live LPT est; missing/malformed -> in-source est_time fallback.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--fork-worker-batch-size",
|
||||
type=int,
|
||||
default=1,
|
||||
help=(
|
||||
"Preload common modules, then run this many files in isolated fork "
|
||||
"children (default: 1, preserving one exec per file)."
|
||||
),
|
||||
)
|
||||
args = parser.parse_args()
|
||||
|
||||
if args.fork_worker_batch_size <= 0:
|
||||
parser.error("--fork-worker-batch-size must be positive")
|
||||
|
||||
# Validate auto-partition arguments
|
||||
if (args.auto_partition_id is not None) != (args.auto_partition_size is not None):
|
||||
parser.error(
|
||||
|
||||
Reference in New Issue
Block a user