Files
tinygrad/test/external/process_replay
George Hotz 4df5c7a4ef move lazy to engine [pr] (#6886)
* move lazy to engine [pr]

* engine.lazy
2024-10-04 23:19:26 +08:00
..
2024-10-01 18:48:44 +08:00
2024-10-01 18:48:44 +08:00
2024-09-25 15:19:56 +08:00
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 [pr] in the pull request 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