News for hackers. Stuff that matters.
Re:HipKittens: Fast and Furious AMD Kernels by WithinReason on Saturday November 15, 2025 @04:43AM (#45936259)
How far is Tinygrad from being able to represent/search the kind of optimisations listed in the article? i.e.:

  1. data layouts to avoid local memory bank conflicts
  2. read patterns from global memory to optimize L2 cache reuse
  3. warp specialisation
How complex is it to add these into tinygrad?
Re:HipKittens: Fast and Furious AMD Kernels by georgehotz on Saturday November 15, 2025 @12:22PM (#45938961)
1 and 2 are supported, 1 you need to specify, 2 will be found with BEAM. We are working on reimplementing HipKittens in tinygrad, all the stuff is there to do it. See the amd_uop_matmul example.

tinygrad doesn't support 3 yet, it's not needed on any AMD GPUs, and not needed on NVIDIA consumer. It wouldn't be hard to add, but it's important to figure out how it best fits with the existing abstractions. I think everything will eventually move to a more producer-consumer model.

Re:HipKittens: Fast and Furious AMD Kernels by 0-_-0 on Saturday November 15, 2025 @02:27PM (#45939927)
Good luck with the AMD contract! I imagine HipKittens came at just the right time.