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
53911754
Unverified
Commit
53911754
authored
Feb 25, 2026
by
Tzu-Ling Kan
Committed by
GitHub
Feb 25, 2026
Browse files
fix: Parse the latest successful attempt (#6565)
Signed-off-by:
Tzu-Ling
<
tzulingk@nvidia.com
>
parent
73c02a0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
tests/fault_tolerance/deploy/parse_results.py
tests/fault_tolerance/deploy/parse_results.py
+9
-3
No files found.
tests/fault_tolerance/deploy/parse_results.py
View file @
53911754
...
...
@@ -370,11 +370,17 @@ def parse_aiperf_client_results(log_dir: str) -> Dict[str, Any]:
profile_json
=
None
# Check for attempt directories (attempt_0, attempt_1, etc.)
for
attempt_dir
in
sorted
(
client_dir
.
glob
(
"attempt_*"
)):
# Sort numerically by attempt number to handle attempt_10+ correctly
attempt_dirs
=
sorted
(
client_dir
.
glob
(
"attempt_*"
),
key
=
lambda
p
:
int
(
p
.
name
.
split
(
"_"
)[
1
]),
reverse
=
True
,
)
for
attempt_dir
in
attempt_dirs
:
json_path
=
attempt_dir
/
"profile_export_aiperf.json"
if
json_path
.
exists
():
profile_json
=
json_path
break
# Use the
first successful
attempt
break
# Use the
most recent
attempt
if
not
profile_json
:
logging
.
warning
(
f
"No AI-Perf results found for
{
item
}
in
{
client_dir
}
"
)
...
...
@@ -873,7 +879,7 @@ def main(
if
total_requests
>
0
:
summary_lines
.
append
(
f
"Overall Success Rate:
{
(
total_successful
/
total_requests
)
*
100
:.
2
f
}
%"
f
"Overall Success Rate:
{
(
total_successful
/
total_requests
)
*
100
:.
2
f
}
%"
)
# Check if this is an overflow/recovery pair and show timing info
...
...
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