ROCm / triton

Development repository for the Triton language and compiler
MIT License
80 stars 23 forks source link

refine tolerance in checking GEMM correctness #478

Closed scxiao closed 6 months ago

scxiao commented 6 months ago

Reduce the tolerance used to checking correctness. Previous big difference is mainly caused by the format fp8e4m3b8, which introduced big rounding error in converting subnormal values. The change is to avoid subnormal values when generating inputs. With that workaround, we can use much less tolerance in checking the correctness.