[misc] Add bench_serving compatibility shim (#28997)

This commit is contained in:
Alex Tumanov
2026-06-23 19:49:53 -07:00
committed by GitHub
parent 33373cbb12
commit 52b89c4948
5 changed files with 39 additions and 5 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ warnings.warn(
"`sglang.bench_one_batch` is deprecated and will be removed in a future "
"release; use `sglang.benchmark.one_batch` instead "
"(e.g. `python -m sglang.benchmark.one_batch`).",
DeprecationWarning,
FutureWarning,
stacklevel=1,
)