Fix bench_serving flush cache not recognizing OPENAI_API_KEY (#4181)
Signed-off-by: Mingshan <git@brighill.com>
This commit is contained in:
1 parent
08c4d764a5
commit
0fe7c13be1
1 file changed
+1
-1
@@ -1006,7 +1006,7 @@ async def benchmark(
|
||||
|
||||
# Flush cache
|
||||
if "sglang" in backend:
|
||||
requests.post(base_url + "/flush_cache")
|
||||
requests.post(base_url + "/flush_cache", headers=get_auth_headers())
|
||||
|
||||
time.sleep(1.0)
|
||||
|
||||
|
||||
Reference in new issue
Block a user