docs for running process replay locally (#5083)

This commit is contained in:
qazal
2024-06-21 16:55:08 +03:00
committed by GitHub
parent fb1bf48cfe
commit 8aa786232d
5 changed files with 26 additions and 4 deletions

View File

@@ -174,6 +174,6 @@ python3 -m pytest test/ # whole test suite
#### Process replay tests
[Process replay](https://github.com/tinygrad/tinygrad/blob/master/test/external/replay_codegen.py) detects changes in the generated kernels of CI tests by comparing them against tinygrad master. If your PR is a refactor or speedup without any expected behavior change, it should include a green process replay pass to get merged.
[Process replay](https://github.com/tinygrad/tinygrad/blob/master/test/external/process_replay/process_replay.py) detects changes in the generated kernels of CI tests by comparing them against tinygrad master. If your PR is a refactor or speedup without any expected behavior change, it should include a green process replay pass to get merged.
You can enable process replay by adding [run_process_replay] to your PR title. [example](https://github.com/tinygrad/tinygrad/pull/4995). Note that you should keep your branch up-to-date with master.