Skip to content

Commit 86b7ffb

Browse files
authored
use achieved_rate in the report graph. (#232)
The current analyze plot is generated based on the expected rate. This may undercover some setup mistake while doing the analysis. Changed to `achieved_rate`
1 parent 587deb2 commit 86b7ffb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inference_perf/analysis/analyze.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ def analyze_reports(report_dir: str) -> None:
115115
report_data = json.load(f)
116116

117117
# Get QPS from report file
118-
qps = report_data.get("load_summary", {}).get("requested_rate")
118+
qps = report_data.get("load_summary", {}).get("achieved_rate")
119119
if qps is None:
120-
logger.warning(f"Could not find requested_rate in {stage_file.name}. Skipping.")
120+
logger.warning(f"Could not find achieved_rate in {stage_file.name}. Skipping.")
121121
continue
122122

123123
success_data = report_data.get("successes", {})

0 commit comments

Comments
 (0)