Vehicle Researcher 8eb8330d95 openpilot v0.9.9 release
date: 2025-03-08T09:09:29
master commit: ce355250be726f9bc8f0ac165a6cde41586a983d
2025-03-08 09:09:31 +00:00

18 lines
705 B
Markdown

# 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.](https://github.com/tinygrad/tinygrad/pull/5480).
## 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`