mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-06-24 02:14:17 +00:00
* limit pickled objects * delete uop from the list * debug metal * need self.opts for TC * dont need device * [run_process_replay] * minor |
||
|---|---|---|
| .. | ||
| process_replay.py | ||
| README.md | ||
| reset.py | ||
Process replay tests
Process replay is a tool for creating a diff of generated kernels between two commits.
Refactor and speedup PRs need a green process replay check.
Behavior change PRs can use process replay with ASSERT_PROCESS_REPLAY=0 to check the diff is what was expected. It's also an indirect test coverage checker.
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 - Checkout master
- Run
test/external/process_replay/process_replay.py