tinygrad/test/external/process_replay
qazal d13c100981
don't sort dims in verify_sink_dims [pr] (#10059)
* don't sort dims in verify_sink_dims [pr]

* 1 can exist with n

* put process_replay warn last

* assert shape is the same

* bring that back
2025-04-26 23:24:30 +08:00
..
local.sh process replay kernel asts in toposort order [pr] (#9869) 2025-04-13 17:20:34 +08:00
process_replay.py don't sort dims in verify_sink_dims [pr] (#10059) 2025-04-26 23:24:30 +08:00
README.md script for local process_replay + fix viz name [pr] (#9837) 2025-04-11 00:39:18 +08:00
reset.py rip out old scheduler process replay stuff, diff pure UOps [pr] (#6927) 2024-10-07 13:20:35 +08: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

For reference, see test/external/process_replay/local.sh.