From 09269b31274952bc5fff73023d108e00eb891068 Mon Sep 17 00:00:00 2001 From: Li Wang Date: Fri, 14 Mar 2025 15:02:05 +0800 Subject: [PATCH] [BugFix]Fix performance serving benchmark when enable profiling (#14737) Signed-off-by: wangli --- benchmarks/backend_request_func.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/backend_request_func.py b/benchmarks/backend_request_func.py index d53428d219e7..6a7db920b5b6 100644 --- a/benchmarks/backend_request_func.py +++ b/benchmarks/backend_request_func.py @@ -333,7 +333,7 @@ async def async_request_openai_chat_completions( ) -> RequestFuncOutput: api_url = request_func_input.api_url assert api_url.endswith( - "chat/completions" + ("chat/completions", "profile") ), "OpenAI Chat Completions API URL must end with 'chat/completions'." async with aiohttp.ClientSession(trust_env=True,