Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
0fe7c13b
Unverified
Commit
0fe7c13b
authored
Mar 08, 2025
by
Mingshan
Committed by
GitHub
Mar 08, 2025
Browse files
Fix bench_serving flush cache not recognizing OPENAI_API_KEY (#4181)
Signed-off-by:
Mingshan
<
git@brighill.com
>
parent
08c4d764
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/bench_serving.py
python/sglang/bench_serving.py
+1
-1
No files found.
python/sglang/bench_serving.py
View file @
0fe7c13b
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment