File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed
Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 7676
7777TEMPLATE = """
7878Expected figures for this experiment.
79- Wall time: {runtime:.2f } hours
79+ Wall time: {runtime:.5f } hours
8080 Number of Samples:
81- Samples per minute: {num_samples_per_minute:.2f }
82- Design runtime of 10 min: {num_samples_10min:.2f }
83- Design runtime of 1h: {num_samples_1h:.2f }
81+ Samples per minute: {num_samples_per_minute:.5f }
82+ Design runtime of 10 min: {num_samples_10min:.5f }
83+ Design runtime of 1h: {num_samples_1h:.5f }
8484 Number of iterations
85- Design runtime of 10 min: {num_iterations_10min:.2f }
86- Design runtime of 1h: {num_iterations_1h:.2f }
85+ Design runtime of 10 min: {num_iterations_10min:.5f }
86+ Design runtime of 1h: {num_iterations_1h:.5f }
8787"""
8888
8989
@@ -443,7 +443,7 @@ def parse_arguments():
443443 "--cpu_budget" ,
444444 type = int ,
445445 metavar = "<int>" ,
446- default = int ( np . floor ( cpu_count () / 2 )) ,
446+ default = None ,
447447 help = "CPU Hours" ,
448448 )
449449 parser .add_argument (
@@ -669,6 +669,8 @@ def sweep():
669669
670670def main ():
671671 args = parse_arguments ()
672+ print (args )
673+ exit ()
672674
673675 # Read config and original files before handling where to run in case we
674676 # need to upload the files.
Original file line number Diff line number Diff line change @@ -18,14 +18,15 @@ def setUp(self):
1818 )
1919 self .experiment = f"smoke-test-timeout-{ self .platform } "
2020
21- # 0.01 hour translates to 36 seconds, which will definitely cause failure.
22- timeout_flags = ["--timeout 0.05 " , "--timeout_per_trial 0.05 " ]
21+ # 0.001 hour translates to 3.6 seconds, which will definitely cause failure.
22+ timeout_flags = ["--timeout 0.001 " , "--timeout_per_trial 0.001 " ]
2323 self .commands = [
2424 "python3 distributed.py"
2525 f" --design { self .design } "
2626 f" --platform { self .platform } "
2727 f" --experiment { self .experiment } "
2828 f" --config { self .config } "
29+ f" --cpu_budget None"
2930 f" --yes"
3031 f" { flag } "
3132 f" tune --samples 1"
You can’t perform that action at this time.
0 commit comments