mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-02-10 06:35:33 -05:00
* assert process replay asserts * one ci job is fine * test: Revert "separate process replay main loop (#5734)" This reverts commit94d578396f. * mac sed needs that * Revert "test: Revert "separate process replay main loop (#5734)"" This reverts commite4ad7684d5. * disable process replay capture * save time * amd is tiny * send to /dev/null
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)
- Run tests with
RUN_PROCESS_REPLAY=1in your branch. This will capture the kernels. - Checkout master
- Run
test/external/process_replay/process_replay.py