Skip to content

Commit d0e0f6d

Browse files
committed
at: move memory_limit arg to be for both modes
Signed-off-by: Vitor Bandeira <[email protected]>
1 parent 68564ef commit d0e0f6d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tools/AutoTuner/src/autotuner/distributed.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -380,13 +380,6 @@ def parse_arguments():
380380
default=42,
381381
help="Random seed. (0 means no seed.)",
382382
)
383-
tune_parser.add_argument(
384-
"--memory_limit",
385-
type=float,
386-
metavar="<float>",
387-
default=None,
388-
help="Maximum memory in GB that each trial job can use, process will be killed and not retried if it exceeds.",
389-
)
390383

391384
# Workload
392385
parser.add_argument(
@@ -403,6 +396,13 @@ def parse_arguments():
403396
default=16,
404397
help="Max number of threads openroad can use.",
405398
)
399+
parser.add_argument(
400+
"--memory_limit",
401+
type=float,
402+
metavar="<float>",
403+
default=None,
404+
help="Maximum memory in GB that each trial job can use, process will be killed and not retried if it exceeds.",
405+
)
406406
parser.add_argument(
407407
"--server",
408408
type=str,

0 commit comments

Comments
 (0)