You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[tritonbench] Report tflops by default for gemm; fix exception handling
Summary: TFLOPS is the core metric for gemm. Along the way I hit some bugs and weirdness:
- You couldn't Ctrl-C out of tritonbench, because the `finally` clause contained a return, which [suppresses the exception](https://docs.python.org/3/tutorial/errors.html#defining-clean-up-actions)
- In generally I don't think the framework should catch RuntimeErrors, it makes it really hard to debug stuff because the desired result just ends up missing
- In fact we had a typo (`metric` instead of `metrics` in the framework code that was never caught because it was caught and suppressed
Test Plan:
```
python run_benchmark.py triton --op gemm --splitk
```
0 commit comments