Alex Cheema e1cb840b31 Merge commit '0870e6bfb0d46d58e29c6d5822e8bf629d03bdcc' as 'tinychat' 1 سال پیش
..
README.md e1cb840b31 Merge commit '0870e6bfb0d46d58e29c6d5822e8bf629d03bdcc' as 'tinychat' 1 سال پیش
process_replay.py e1cb840b31 Merge commit '0870e6bfb0d46d58e29c6d5822e8bf629d03bdcc' as 'tinychat' 1 سال پیش
reset.py e1cb840b31 Merge commit '0870e6bfb0d46d58e29c6d5822e8bf629d03bdcc' as 'tinychat' 1 سال پیش

README.md

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