mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-02-07 05:05:13 -05:00
8 lines
394 B
Python
Executable File
8 lines
394 B
Python
Executable File
#!/usr/bin/env python3
|
|
from tinygrad.helpers import db_connection, VERSION, getenv, os
|
|
cur = db_connection()
|
|
cur.execute(f"drop table if exists process_replay_{getenv('GITHUB_RUN_ID', 'HEAD')}_{getenv('GITHUB_RUN_ATTEMPT')}_{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}")
|