[Frontend] Add --logprobs argument to benchmark_serving.py (#8191)

This commit is contained in:
afeldman-nm
2024-09-06 12:01:14 -04:00
committed by GitHub
parent baa5467547
commit e5cab71531
3 changed files with 19 additions and 1 deletions

View File

@@ -57,7 +57,7 @@ def test_multi_step_llm(
GPU -> CPU output transfer
num_prompts: number of example prompts under test
num_logprobs: corresponds to the `logprobs` argument to the OpenAI
completions endpoint; `None` -> no logprobs
completions endpoint; `None` -> 1 logprob returned.
"""
prompts = example_prompts