[Benchmark] Add Responses API backend to vllm bench serve (#54628)

Signed-off-by: QHarshil <harshil_c@hotmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Chauncey <chaunceyjiang@gmail.com>
This commit is contained in:
Harshil
2026-09-28 05:04:11 +00:00
committed by GitHub
co-authored by Claude Chauncey
parent 0da126676e
commit af7f9488c2
5 changed files with 682 additions and 2 deletions
+5
View File
@@ -2216,6 +2216,11 @@ async def main_async(args: argparse.Namespace) -> dict[str, Any]:
"Sampling parameters are only supported by openai-compatible backends."
)
# The Responses API accepts every sampling parameter above except
# min_p, which it would silently drop as an unknown field.
if args.backend == "openai-responses" and "min_p" in sampling_params:
raise ValueError("--min-p is not supported by the Responses API.")
if "temperature" not in sampling_params:
print(
"WARNING: vllm bench serve no longer sets temperature==0 (greedy) "