Skip to content

Commit a5bb16f

Browse files
committed
fix timeout
Signed-off-by: Jack Luar <[email protected]>
1 parent 38dd51f commit a5bb16f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/AutoTuner/src/autotuner/distributed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ def parse_arguments():
516516

517517
# Calculate timeout based on cpu_budget
518518
if args.cpu_budget is not None:
519-
args.timeout = args.cpu_budget / os.cpu_count()
519+
args.timeout = round(args.cpu_budget / os.cpu_count() * 3600)
520520
template = calculate_expected_numbers(args.timeout, args.samples)
521521
print(template)
522522
if not args.yes:

0 commit comments

Comments
 (0)