10 comments

[ 6.1 ms ] story [ 27.5 ms ] thread
Obligatory: Either written by AI or by a human who has spent so much time with AI that they adopted its writing style. Anyways.

> Over 35 hours it performed 432 kernel evaluations. Each cycle meant writing code, compiling it, running it, reading the profiling output, deciding what to change, and trying again. The model diagnosed compilation failures it hadn’t seen before, identified performance bottlenecks through runtime feedback rather than prior knowledge, and redesigned the kernel architecture multiple times when incremental improvements stopped working.

Anyone remember genetic algorithms? This might be an improvement, but it still feels a little like deja vu.

At this point the models should just start improving themselves.
I don't doubt that it did it but I wouldn't want to maintain whatever it ended up spewing after 35 hrs.

In my experience, AI fixes problems by mostly adding more code.

It's a short term gain for a long term hurt.

Don´t give up on native agents, best logic will prevail. The open weights will show the real deal.
what a nonsense, generated, article.

> For context: GLM 5.1 ran the same task and reached 7.3x. Kimi K2.6 reached 5x. DeepSeek V4 Pro reached 3.3x. The models that stopped early did so because they issued no tool calls for five consecutive rounds, they concluded they couldn’t make further progress and stopped. Qwen3.7-Max didn’t stop.

By this reasoning I could release a model that lacks all the basic optimisations. Have it optimise itself for hours to reach 20x the throughput and then claim that the model is superior to the others?

I am not saying that is what happened here, but the reporting is abysmal.

I've had a very similar experience optimising a hidden markov model prediction tool I work on. I wanted to experiment with an alternative architecture and data structures. Opus 4.7 did the refactor, and eventually the only hot spot became the maths kernel. Over the course of an hour or two it iteratively rewrote that code using all the usual optimisations to improve branching, cache usage, vectorisation, etc. It reviewed the disassembly and the hardware counters with perf to verify that the changes were working as intended. It could have taken me several days to cover that much ground doing low level optimisations - and I would have spent most of it grappling with gcc, perf, searching for information about particular SIMD instructions, etc.
so basically just brute force the kernel.

there are more elegant ways to leverage an LLM, see AlphaEvolve: https://arxiv.org/abs/2506.13131

it's difficult to frame most coding tasks in such a way where you can trivially verify correctness.

The article gives no mention of what exactly was done to achieve the speedup and whether or not the kernel is still able to perform the same function as before.

I’m doubtful this is a meaningful result. Kernel contains a lot of legacy code and generalizations to support different hardware etc.; removing that would result in a speedup. Next are all the mitigations for hardware vulnerabilities and attacks. If removed would give a nice speedup as well at the cost of security. And then finally, just specializing the Kernel in whatever the benchmark is measuring, making it useless as a general piece of software would also make it fast.