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
b783c1cb
"awq/modules/vscode:/vscode.git/clone" did not exist on "8c78db4da72950714b3dbc52cd638d9766d24608"
Unverified
Commit
b783c1cb
authored
Jun 17, 2025
by
Binyao Jiang
Committed by
GitHub
Jun 17, 2025
Browse files
Fix hicache benchmark script bug - some sampled input_request is [] (#7300)
parent
094c116f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
benchmark/hicache/data_processing.py
benchmark/hicache/data_processing.py
+3
-2
No files found.
benchmark/hicache/data_processing.py
View file @
b783c1cb
...
@@ -83,6 +83,7 @@ def common_filter_chat(
...
@@ -83,6 +83,7 @@ def common_filter_chat(
input_tokens
+=
prompt_len
input_tokens
+=
prompt_len
output_tokens
+=
output_len
output_tokens
+=
output_len
processed
.
append
((
prompt
,
prompt_len
,
output_len
))
processed
.
append
((
prompt
,
prompt_len
,
output_len
))
if
len
(
processed
)
!=
0
:
filtered_dataset
.
append
(
processed
)
filtered_dataset
.
append
(
processed
)
l
+=
1
l
+=
1
...
...
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