🧀 BigCheese.ai

Social

What Shapes Do Matrix Multiplications Like?

🧀

Horace He's article discusses the impact of matrix shapes on the performance of matrix multiplication, revealing that factors like compute intensity, tiling, and wave quantization greatly influence execution time. Understanding these concepts might unlock additional performance from GPU computations.

  • Karpathy's tweet suggested larger matmuls can be faster.
  • Matrix shape divisibility by powers of 2 affects performance.
  • Memory layout is crucial for efficiency in tiling.
  • Wave quantization impacts latency and performance.
  • New technologies may overcome wave quantization effects.