GPU-Accelerated Search for Fast Matrix Multiplication over
Abstract
We present a GPU-accelerated algorithm for searching for ways to multiply matrices with few scalar multiplications. Our algorithm searches the matrix multiplication flip graph and, on an NVIDIA H200, performs over a billion search steps per second for matrix sizes up to , a roughly improvement over previous GPU-accelerated search on the tensor for matrix multiplication. We also prove that, over , the directed matrix multiplication flip graph is strongly connected with only flip and plus edges. This removes the need for computationally expensive reduction edges in the connectivity argument used by previous work. Using this GPU-accelerated search procedure on our simplified flip graph, we find a way to multiply matrices over using 245 multiplications, a three-multiplication improvement over the previous record.
Create a lesson
Metadata
- Categories
- cs.SC, cs.DS
Related papers
Fast matrix multiplication via recursive \langle 4x4x4:48 \rangle algorithms into practice
Shared title terminologycs.SCJean-Guillaume Dumas, Clément Pernet, Alexandre Sedoglavic et al.
A catalog of fast matrix multiplication algorithms with exhaustive derivations
Shared title terminologycs.SCBenoit Chatain Lacelle
Meta Flip Graph meets Serendipitous Product: new Fast Matrix Multiplication results
Shared title terminologycs.SCA. I. Perminov
Fast Matrix Multiplication in Small Formats: Discovering New Schemes with an Open-Source Flip Graph Framework
Shared title terminologycs.SCA. I. Perminov
Parallel Heuristic Exploration for Additive Complexity Reduction in Fast Matrix Multiplication
Shared title terminologycs.SCA. I. Perminov
Fast Matrix Multiplication via Ternary Meta Flip Graphs
Shared title terminologycs.SCA. I. Perminov