Files
tinygrad/test/external/process_replay/reset.py
qazal 5ad2f95d01 process replay diff stats (#6736)
* process replay diff stats

* fix tuples
2024-09-25 15:19:56 +08:00

8 lines
328 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_diff_{VERSION}")
if os.path.exists(fp:=__file__.replace("reset", "master_schedule")):
os.system(f"rm -rf {fp}")