tinygrad/test/external/process_replay
2024-09-14 17:00:30 +08:00
..
diff_schedule.py var_vals prereq for deleting LBScheduleItem [run_process_replay] (#6511) 2024-09-14 17:00:30 +08:00
helpers.py minor schedule differ utils [run_process_replay] (#6348) 2024-09-04 03:41:38 +08:00
process_replay.py Revert "Revert "cleanup process_replay/* namings [run_process_replay] (#6429)…" (#6442) 2024-09-10 07:00:16 +08:00
README.md process replay docs improvements (#5481) 2024-07-15 00:09:28 +03:00
reset.py refresh process replay schedule ref in reset.py (#6265) 2024-08-24 16:12:51 +03:00
restore.py add llama3 BEAM=2 failures to test_linearizer_failures (#5553) 2024-07-30 00:37:32 +03:00
test_diff_schedule.py var_vals prereq for deleting LBScheduleItem [run_process_replay] (#6511) 2024-09-14 17:00:30 +08:00
test_process_replay.py process replay rewrite (#6284) 2024-08-29 15:08:27 +03:00
test_process_replay.sh AST is UOp (#6030) 2024-08-16 22:09:00 +03:00

Process replay tests

Process replay is a tool for creating a diff of generated kernels between two commits. By default, process replay doesn't assert kernel diffs.

Refactor and speedup prs must enable the assert by including [run_process_replay] in the pr title.

Note that process replay early stops when over 20% of kernels change, for speed..

Running locally

To run process replay locally:

(optional: clear previous process replay runs with test/external/process_replay/reset.py)

  1. Run tests with RUN_PROCESS_REPLAY=1 in your branch. This will capture the kernels.
  2. Checkout master
  3. Run test/external/process_replay/process_replay.py