Files
tinygrad/test/external/process_replay/reset.py
2024-09-21 16:53:34 +08:00

8 lines
338 B
Python
Executable File

#!/usr/bin/env python3
from tinygrad.helpers import db_connection, VERSION, os
cur = db_connection()
cur.execute(f"drop table if exists kernel_process_replay_{VERSION}")
cur.execute(f"drop table if exists schedule_process_replay_{VERSION}")
if os.path.exists(fp:=__file__.replace("reset", "master_schedule")):
os.system(f"rm -rf {fp}")