Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
fa45ff1f
Unverified
Commit
fa45ff1f
authored
Oct 22, 2025
by
Hongkuan Zhou
Committed by
GitHub
Oct 22, 2025
Browse files
fix: revert change to aiperf output format (#3837)
Signed-off-by:
hongkuanz
<
hongkuanz@nvidia.com
>
parent
c6b59045
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
tests/planner/utils/load_generator.py
tests/planner/utils/load_generator.py
+2
-7
No files found.
tests/planner/utils/load_generator.py
View file @
fa45ff1f
...
@@ -208,16 +208,11 @@ class LoadGenerator:
...
@@ -208,16 +208,11 @@ class LoadGenerator:
logger
.
info
(
f
"Parsing results from:
{
results_file
}
"
)
logger
.
info
(
f
"Parsing results from:
{
results_file
}
"
)
with
open
(
results_file
,
"r"
)
as
f
:
with
open
(
results_file
,
"r"
)
as
f
:
data
=
json
.
load
(
f
)
metrics
=
json
.
load
(
f
)
# aiperf now wraps metrics under "records" key
metrics
=
data
.
get
(
"records"
,
data
)
results
=
{
results
=
{
"throughput"
:
metrics
.
get
(
"output_token_throughput"
,
{}).
get
(
"avg"
,
0
),
"throughput"
:
metrics
.
get
(
"output_token_throughput"
,
{}).
get
(
"avg"
,
0
),
"ttft_mean"
:
metrics
.
get
(
"ttft"
,
{}).
get
(
"ttft_mean"
:
metrics
.
get
(
"time_to_first_token"
,
{}).
get
(
"avg"
,
0
),
"avg"
,
0
),
# Changed from "time_to_first_token"
"itl_mean"
:
metrics
.
get
(
"inter_token_latency"
,
{}).
get
(
"avg"
,
0
),
"itl_mean"
:
metrics
.
get
(
"inter_token_latency"
,
{}).
get
(
"avg"
,
0
),
"end_to_end_latency_mean"
:
metrics
.
get
(
"request_latency"
,
{}).
get
(
"end_to_end_latency_mean"
:
metrics
.
get
(
"request_latency"
,
{}).
get
(
"avg"
,
0
"avg"
,
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