Ayaka Mikazuki retweeted
Reminder: anthropic admitted that they secretly sabotage your work when you are doing ML research
Actual demons
Inspired by TensorLean (GPU PTX -> Lean 4), I open-sourced PallasLean: formal verification for production Google Cloud TPU v7x Pallas / Mosaic kernels using Lean 4 + Z3 + SymPy.
Takes unmodified JAX/Pallas kernels, verifies them end-to-end, compiles offline to real TPU v7x LLO via libtpu, and emits machine-checked Lean 4 proof certificates.
Repo: github.com/pengchengneo/Pall…
Ayaka Mikazuki retweeted
OpenAI claims the matrix multiplication exponent is exactly 2.25
The textbook method for multiplying two n × n matrices takes roughly n³ arithmetic operations. In October, OpenAI reported a way to bring the exponent down to 2.25. That left open whether someone could find an even faster algorithm
Today’s paper claims to rule out every exponent below 2.25
Read here: alphaxiv.org/abs/2611.matrix…
Ayaka Mikazuki retweeted
Other TPU folks at Google just published a great public guide on TPUs:
If you’re curious about TPUs and hardware-friendly model co-design this is a great resource to check out!
Attaching some graphics from the docs, all work is by the authors(not me)
github.com/AI-Hypercomputer/…
I have a counterexample on TPU v7x. In a matmul kernel, issuing matmuls in bursts triggers power-management throttling, which in turn stalls weight delivery. Spacing out the matmuls yields a 25.9% speedup over an issue-when-ready greedy scheduler and 26.4% over vanilla Pallas.
Anyone who worked with wide instruction bundles / static scheduling on TPU, Hexagon, or AMD AI Engine — curious how close a greedy scheduler gets to optimal on your machines.
I measured this on Elbrus (classic VLIW). Greedy is already optimal in 94% of cases, 0.51% cycle loss. Small neural net recovers most of the rest and never makes it worse.
CLI that shows greedy vs exact optimum vs model on any .s file:
github.com/smworklair/NEX-CL…
@PatrickToulme @NormJouppi @adityazero_ @AminVahdat @JeffDean @Qualcomm @QCOMResearch @AMDembedded
Ayaka Mikazuki retweeted
standwithjensen.com/
Please sign
You know your implementation of SC prefetching into TC IMEM is getting a bit too advanced when Opus 5.5's safeguards flag it as a cyberattack and stop the response
1
21
2,229
Ayaka Mikazuki retweeted
Google just published "XLA from the Trenches" paper so I decided to poke around XLA for a bit.
It's a serious investment in correctness so I wanted to see what commonly available tools and AI could find.
I found bugs that fall in familiar categories like index overflow, trig functions on tiny inputs, NaN handling etc. I've filed 9 new bugs (github.com/openxla/xla/issue…, github.com/jax-ml/jax/issues…)
Based on yesterday's exercise I'd draw 4 lessons:
1. Bugs tend to replicate: A negative-padding convolution bug was fixed in the Eigen path, but the same convolution still segfaults when routed to YNNPACK.
2. Fuzzing has limitations as it is mostly relying on good luck. A little bit of creativity goes a long way.
3. The lattice has to match the numbers. XLA's IsNonNegative is a sign analysis but NaN tests this to the limit. That isn't lost precision. It's unsoundness. I wrote about sign analysis and Galois connections a while back: hiraditya.github.io/posts/la…
4. Claude Opus 5.5 >> Gemini/Argon: Imagine swarm of agents missing these bugs.
Here is my full write-up with reproducers: hiraditya.github.io/posts/te…
Google's Paper: arxiv.org/abs/2611.00624
PS: If you ship on XLA:CPU, add `run_hlo_module --reference_platform=interpreter` to CI.
Speaking of TPU performance optimization, we all know by now that it's all about spinning up agent swarms and working at lower levels. It's just a matter of how determined we are to keep token-maxxing down there before our agents give up and fall back to vanilla Pallas.
If you really want to boost your TPU performance, keep in mind that data isn't fetched immediately after a DMA is issued, which means that on TPU v7x you can technically issue your output DMA about 280 cycles before the data is ready.
5
79
4,858
Ayaka Mikazuki retweeted
Closed source is dead.
REA lets Claude Code or Codex take apart any app, all the way down to the binary, and explain exactly how a feature works.
- Native apps, Electron apps, websites, APKs, firmware, even smart contract bytecode
- Shows the evidence for every claim
- Then builds its own version of the feature
25,000+ GitHub stars in a single day. 100% open-source.
github.com/morluto/rea
Pallas TPU's top-k implementation keeps a known bug because the fix was deemed expensive, but I made it bitwise correct and faster.
doi.org/10.5281/zenodo.23287…
claude and I rewrote xprof in rust: github.com/Locamage/xprof-rs, after seeing @ayaka14732's tweet about something similar. Significantly faster for all of the pages/tasks, with both server/cli support. Super helpful for speeding up kernel optimization loops
Love how folks from some mysterious orgs casually start a Pallas TPU bug report with "tested on TPU 7x" while those of us living off TRC are still treasuring our TPU v4 quota
Ayaka Mikazuki retweeted
I'm really disappointed in OpenAI, recently codex has gotten way less reliable and lots of other issues.
First, I thought they "had compute" and now 20x plans are still paused while Anthropic the company with "not enough compute" lets people still buy them.
Second, I have multiple codex accounts and each single one of them keeps facing problems. I run agents for long periods of times, and it sucks when I come back to a error saying "Servers overloaded" and my entire agent gets paused. This has gotten to the point where at the worst times (around 10pm ET) I'm receiving this every 5-10 minutes.
Third, GPT 6 Sol is disappointing. It's either nerfed or something else is up, as this model can't understand basic things I say. And before the GPT 6 Sol & Luna launch, Astra got nerfed to the ground. Astra basically couldn't do anything meaningful.
Fourth, Anthropic gives better limits. I never thought I'd say this but Anthropic gives you higher limits than OpenAI if you use Opus 5.5. GPT 6 Sol burns through my limits 3x faster than Opus 5.5 does.
@thsottiaux I don't know what is happening at OpenAI but this is not a good look, the entire community likes you and the team at OpenAI. But this is really not ok, we need some clarification, fixes to these issues, and resets to compensate.




















