Open awf opened 3 years ago
Just a pytest-benchmark note: I think multiple calls to benchmark.*
are not permitted.
We can do the same time probing separately.
I had a discussion with @dcrc2 separately and we think a solution to this might also solve our issue of not wanting to run the nice/slow PyTorch style against larger examples but we need to for the fast/GPU/Knossos optimised ones.
We need pseudocode like this at https://github.com/microsoft/knossos-ksc/blob/edb05342ad5f664fc2b406c456c345e6b327fab6/src/bench/test_run_bench.py#L34
By "wrapping with our own timer" I mean this code, which is maybe perfectly fine: