Unofficial Hacker News companion — get notified on comment replies, and more.

The matrix multiplication exponent is nine fourths [pdf] (opens external site)

1076 points by E-Reverance 6 days ago | github.com | 618 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (1)

  1. The optimal matrix multiplication algorithms are generally not used anyway due to the constants in front. I think maybe Strassens might be used but they also typically have numerical stability problems. I think for the most part the n^3 solution is what’s used in data centers since it’s easy to parallelize to be faster.

    I don’t know what the closed weight models are like but the n required for the open weight ones aren’t typically that large (something like n=10k or so).