Top
Best
New

Posted by frozenseven 4 hours ago

AutoKernel: Autoresearch for GPU Kernels(github.com)
34 points | 5 comments
ademeure 1 hour ago|
This is very cool!

I've been working on something somewhat similar over the last few weeks, but trying to be much more general and arguably over-engineered! I like the scope of this project, keeping it limited to Triton and specific kinds of kernels makes it quite simple and efficient.

I'm confused by the progress graph though; it looks like it's benchmarking a 4096x4096x4096 fp16 matmul rather than a full repo, and it claims a 1.31x improvement vs cuBLAS... while running at 187 TFLOPS which is 18.9% of peak utilization? cuBLAS definitely gets much closer to peak than that - most likely it's limited by CPU overhead or something else? Benchmarking is hard!

Either way I'm excited to see other people working on this, I think it's an extremely promising area over the next 6 months.

aviinuo 18 minutes ago||
Something seems off. For the 4kx4kx4k fp16 GEMM, cutlass is like 3x faster than this.
veselin 1 hour ago||
I guess we will have a lot more benefits if we can get this to work on something like llama.cpp - since it really has a lot of kernels for different quantizations, a lot of home users, high hardware diversity - so it is a likely place with highest bang for the buck.

I guess they can be a contributor there.

sspehr 2 hours ago||
Have you benchmarked this against autoscheduling like with TVMs Ansor?
NitpickLawyer 3 hours ago||
... and so it begins.

For a bit of context, goog already did something like this two generations of models ago, as announced in this blog post[1] from May '25:

> AlphaEvolve is accelerating AI performance and research velocity. By finding smarter ways to divide a large matrix multiplication operation into more manageable subproblems, it sped up this vital kernel in Gemini’s architecture by 23%, leading to a 1% reduction in Gemini's training time.

We are now seeing the same thing "at home", for any model. And with how RL heavy the new training runs have become, inference speedups will directly translate in faster training as well.

[1] - https://deepmind.google/blog/alphaevolve-a-gemini-powered-co...

zacklee1988 2 hours ago|
[dead]