Upload nightly test metrics to GH artifacts (#17696)
This commit is contained in:
@@ -109,6 +109,7 @@ class BenchArgs:
|
||||
append_to_github_summary: bool = True
|
||||
seed: int = 42
|
||||
cache_hit_rate: float = 0.0
|
||||
server_args_for_metrics: Optional[List[str]] = None
|
||||
|
||||
@staticmethod
|
||||
def add_cli_args(parser: argparse.ArgumentParser):
|
||||
@@ -192,6 +193,13 @@ class BenchArgs:
|
||||
help="Cache hit rate for benchmarking (0.0-1.0). "
|
||||
"0.0 means no cache hits (flush all), 0.4 means 40%% of input tokens are cached.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--server-args-for-metrics",
|
||||
type=str,
|
||||
nargs="*",
|
||||
default=None,
|
||||
help="Server launch arguments to record in metrics output (for tracking configurations).",
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def from_cli_args(cls, args: argparse.Namespace):
|
||||
|
||||
Reference in New Issue
Block a user