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

This commit is contained in:
Liangsheng Yin
2026-06-23 18:37:52 -07:00
committed by GitHub
parent 20b2817bdf
commit b448b08401
4 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1616,7 +1616,7 @@ def run_bench_offline_throughput(model, other_args):
command = [
"python3",
"-m",
"sglang.bench_offline_throughput",
"sglang.benchmark.offline_throughput",
"--num-prompts",
"1",
"--dataset-name",
@@ -31,7 +31,7 @@ class TestBenchOneBatch1GPU(CustomTestCase):
command = [
"python3",
"-m",
"sglang.bench_offline_throughput",
"sglang.benchmark.offline_throughput",
"--num-prompts",
"1",
"--dataset-name",
+1 -1
View File
@@ -10,7 +10,7 @@ import unittest
import torch
import sglang as sgl
from sglang.bench_offline_throughput import BenchArgs, throughput_test
from sglang.benchmark.offline_throughput import BenchArgs, throughput_test
from sglang.srt.server_args import ServerArgs
from sglang.srt.utils.hf_transformers_utils import get_tokenizer
from sglang.test.ci.ci_register import register_amd_ci, register_cuda_ci