[misc] Add sglang.bench_offline_throughput deprecation shim (#29085)

This commit is contained in:
Liangsheng Yin
2026-06-23 18:39:58 -07:00
committed by GitHub
parent b448b08401
commit f76c6c95be
3 changed files with 30 additions and 3 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ warnings.warn(
"release; use `sglang.benchmark.one_batch` instead "
"(e.g. `python -m sglang.benchmark.one_batch`).",
DeprecationWarning,
stacklevel=2,
stacklevel=1,
)
if __name__ == "__main__":