heretic/tests/README.md
2026-06-27 13:22:32 +05:30

502 B

Run the tests with

uv run run_tests.py

To update the hashes after a logic change, run the tests, then execute

cd TEST_DIR/model
sha256sum -b * > ../SHA256SUMS.LABEL

where LABEL describes the type of system you are running the tests on. Since PyTorch does not guarantee exact cross-system reproducibility regardless of configuration, multiple valid hashes can be provided for each output file. The above update must be performed for each TEST_DIR and on each type of system.