You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`--save-total-throughput-timeseries`: Save calculated TOTAL throughput for each 1 second window inside peak throughput calculation during the run (default: off).
178
178
-`--save-all-throughput-timeseries`: Save calculated throughput timeseries for EACH individual request (default: off).
179
+
-`--exit-on-first-fail`: Stop execution on first failed test and exit with non-zero status.
180
+
-`--no-results-on-fail`: Prevent saving/printing any results when error is experienced, turns on --exit-on-first-fail as well.
Copy file name to clipboardExpand all lines: src/llama_benchy/config.py
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,8 @@ class BenchmarkConfig(BaseModel):
27
27
result_format: str=Field("md", description="Output format (md, json, csv)")
28
28
save_total_throughput_timeseries: bool=Field(False, description="Save calculated TOTAL throughput for each 1 second window inside peak throughput calculation during the run.")
29
29
save_all_throughput_timeseries: bool=Field(False, description="Save calculated throughput timeseries for EACH individual request.")
30
+
exit_on_first_fail: bool=Field(False, description="Stop execution on first failed test and exit with non-zero status")
31
+
no_results_on_fail: bool=Field(False, description="Prevent saving/printing results when error is experienced, turns on --exit-on-first-fail as well")
parser.add_argument("--save-total-throughput-timeseries", action="store_true", help="Save calculated TOTAL throughput for each 1 second window inside peak throughput calculation during the run.")
57
59
parser.add_argument("--save-all-throughput-timeseries", action="store_true", help="Save calculated throughput timeseries for EACH individual request.")
60
+
parser.add_argument("--exit-on-first-fail", action="store_true", help="Stop execution on first failed test and exit with non-zero status")
61
+
parser.add_argument("--no-results-on-fail", action="store_true", help="Prevent saving/printing results when error is experienced, turns on --exit-on-first-fail as well")
0 commit comments