Matmul speedup likely comes from more values collapsing to inf and 0

gordic_aleksa · x · 2026-07-27

The reply argues that infinities can also make matmuls faster, so simply remapping the inf -> 0 subset would not fully explain the speedup.

Instead, the likely explanation is that the transformation increased the fraction of values landing at the extremes, especially inf and 0, which may change the compute pattern more broadly.

Original post →

More from Research

Research channel →