Skip to content

Commit

Permalink
remove time limit for ground truth
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrantq committed Nov 8, 2024
1 parent 2d2a415 commit 608ff24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions experiments/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def generate_example_txt(tmp_dir, prefix):
with open(output, "w") as f:
print(f"=== Running {exe} to generate {output} ===")
try:
subprocess.check_call([exe], stdout=f, timeout=300)
subprocess.check_call([exe], stdout=f)
except subprocess.TimeoutExpired:
print(f"Execution of {exe} timed out.")
if os.path.exists(exe):
Expand Down Expand Up @@ -338,7 +338,7 @@ def generate_golden_values(tmp_dir, prefix):

exe = os.path.join(tmp_dir, f"{prefix}golden.exe")
cmd = [exe, "--output-path", output_values_file]
run_command(cmd, f"Generating golden values with PREC={cur_prec}", verbose=False, timeout=300)
run_command(cmd, f"Generating golden values with PREC={cur_prec}", verbose=False)

if not os.path.exists(output_values_file):
print(f"Failed to generate golden values at PREC={cur_prec} due to timeout.")
Expand Down

0 comments on commit 608ff24

Please sign in to comment.