File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -614,6 +614,10 @@ def main(args: argparse.Namespace):
614614 dimensions_json ["date" ] = current_dt
615615 dimensions_json ["model_id" ] = model_id
616616 dimensions_json ["tokenizer_id" ] = tokenizer_id
617+ dimensions_json = {
618+ ** dimensions_json ,
619+ ** json .loads (args .additional_metadata_metrics_to_save ),
620+ }
617621 metrics_json ["num_prompts" ] = args .num_prompts
618622
619623 # Traffic
@@ -739,6 +743,14 @@ def main(args: argparse.Namespace):
739743 action = "store_true" ,
740744 help = "Specify to save benchmark results to a json file" ,
741745 )
746+ parser .add_argument (
747+ "--additional-metadata-metrics-to-save" ,
748+ type = str ,
749+ help = (
750+ "Additional metadata about the workload. Should be a dictionary in"
751+ " the form of a string."
752+ ),
753+ )
742754 parser .add_argument (
743755 "--priority" ,
744756 type = int ,
You can’t perform that action at this time.
0 commit comments