"""Run the bundled experimental D5-Final driver.""" import os from pathlib import Path import runpy import sys ROOT = Path(__file__).resolve().parents[1] RUNTIME = ROOT / 'neuro_compiler' / 'runtime' sys.path.insert(0, str(RUNTIME)) os.environ['NEUROCC_RELEASE'] = str(RUNTIME / 'release') os.environ['NEUROCC_SSA_MEMORY'] = str(RUNTIME / 'runs' / 'hyperopt_h1_h3' / 'ssa_memory.pt') os.chdir(RUNTIME) runpy.run_path(str(RUNTIME / 'ast_native_phase_d5_final.py'), run_name='__main__')