[misc] Move bench_one_batch_server into sglang/benchmark/ with a back-compat shim (#28625)

This commit is contained in:
Liangsheng Yin
2026-06-19 14:19:29 -07:00
committed by GitHub
parent c9c2445146
commit d271de64fe
3 changed files with 115 additions and 104 deletions
@@ -7,13 +7,13 @@ import unittest
from pathlib import Path
from typing import ClassVar, Optional
from sglang.srt.entrypoints.http_server import launch_server
from sglang.srt.server_args import ServerArgs
from sglang.test.bench_one_batch_server_internal import (
from sglang.bench_one_batch_server import (
BenchArgs,
BenchOneCaseResult,
run_benchmark_internal,
)
from sglang.srt.entrypoints.http_server import launch_server
from sglang.srt.server_args import ServerArgs
from sglang.test.ci.ci_register import register_cuda_ci
from sglang.test.test_utils import DEFAULT_PORT_FOR_SRT_TEST_RUNNER