mirror of https://github.com/commaai/tinygrad.git
hotfix: bring COMPARE_SCHEDULE=0 back (#6657)
This commit is contained in:
parent
e945fa9c5c
commit
6be1bf09f1
|
@ -20,6 +20,7 @@ logging.basicConfig(level=logging.INFO, format="%(message)s")
|
|||
# user config
|
||||
ASSERT_DIFF = getenv("ASSERT_PROCESS_REPLAY", int((k:="[run_process_replay]") in os.getenv("COMMIT_MESSAGE", k) or k in os.getenv("PR_TITLE", k)))
|
||||
SKIP_PROCESS_REPLAY = (k:="[skip_process_replay]") in os.getenv("COMMIT_MESSAGE", "") or k in os.getenv("PR_TITLE", "")
|
||||
COMPARE_SCHEDULE = getenv("COMPARE_SCHEDULE", 1)
|
||||
if REF == "master": SKIP_PROCESS_REPLAY = True
|
||||
|
||||
# *** differs
|
||||
|
@ -127,11 +128,12 @@ if __name__ == "__main__":
|
|||
logging.info("skipping process replay.")
|
||||
exit(0)
|
||||
|
||||
logging.info("***** schedule diff")
|
||||
try: process_replay_schedule()
|
||||
except Exception as e:
|
||||
if ASSERT_DIFF: raise e
|
||||
logging.error(f"schedule diff err {e}")
|
||||
if COMPARE_SCHEDULE:
|
||||
logging.info("***** schedule diff")
|
||||
try: process_replay_schedule()
|
||||
except Exception as e:
|
||||
if ASSERT_DIFF: raise e
|
||||
logging.error(f"schedule diff err {e}")
|
||||
|
||||
logging.info("***** kernel diff")
|
||||
try: process_replay_kernel()
|
||||
|
|
Loading…
Reference in New Issue