[Benchmark] Remove re-exports from bench_serving.py (#19130)

This commit is contained in:
Liangsheng Yin
2026-02-21 14:30:30 -08:00
committed by GitHub
parent f158869c2c
commit 1f2da824dd
16 changed files with 28 additions and 69 deletions
+2 -2
View File
@@ -11,13 +11,13 @@ from nextqa import NExTQALoader
from tqdm.asyncio import tqdm
from transformers import PreTrainedTokenizerBase
from sglang.bench_serving import (
from sglang.benchmark.datasets import (
SHAREGPT_FILENAME,
SHAREGPT_REPO_ID,
download_and_cache_hf_file,
gen_prompt,
get_gen_prefix_cache_path,
)
from sglang.benchmark.utils import download_and_cache_hf_file
from sglang.lang.chat_template import get_chat_template, get_chat_template_by_model_path
from sglang.srt.entrypoints.openai.protocol import ChatCompletionMessageContentPart
from sglang.utils import encode_video_base64