File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
tools/AutoTuner/src/autotuner Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 5252and run:
5353
5454` ` ` bash
55- openroad_autotuner --yaml test.yaml
55+ openroad_autotuner --yaml test.yaml tune
5656```
5757
5858## How to generate new config files
Original file line number Diff line number Diff line change @@ -300,6 +300,11 @@ def parse_arguments():
300300 default = None ,
301301 help = "Time limit (in hours) for each trial run. Default is no limit." ,
302302 )
303+ parser .add_argument (
304+ "--yaml" ,
305+ action = jsonargparse .ActionConfigFile ,
306+ help = "Path to Overall YAML config file." ,
307+ )
303308
304309 # Sweep-specific
305310 sweep_parser .add_argument (
@@ -449,6 +454,9 @@ def parse_arguments():
449454 if args .timeout is not None :
450455 args .timeout = round (args .timeout * 3600 )
451456
457+ print (args )
458+ exit (1 )
459+
452460 return args
453461
454462
Original file line number Diff line number Diff line change @@ -410,7 +410,7 @@ def read_metrics(file_name):
410410 return ret
411411
412412
413- def read_config (file_name , mode , algorithm = None ):
413+ def read_config (file_name , mode , algorithm = None ):
414414 """
415415 Please consider inclusive, exclusive
416416 Most type uses [min, max)
You can’t perform that action at this time.
0 commit comments