Pinned Tweet
⚡ Towards the Next FlashAttention
🧪 Squeezing out performance from GPUs now requires programming at the assembly level (like in FlashAttention/MLA/KDA etc). Can AI agents do it?
📏 That’s the question behind 𝗣𝗧𝗫𝗕𝗲𝗻𝗰𝗵. On H100 and B200, we ask models to write matrix multiplication and attention kernels using architecture-specific PTX: assembly-like instructions that expose each GPU’s specialized hardware (tensor cores, TMA, TMEM, ...).
🔍 PTXBench check three things:
• Is the answer right?
• Is the kernel fast?
• Did the requested instructions actually run?
🔴 The gap exists. An LLM can use the right instructions but still produce a slow kernel. Attention backward is especially hard, and no model we tested consistently matches expert libraries across the suite.
🛠️ We also built 𝗙𝗶𝘅𝗶𝘁, an SFT recipe that trains on the model’s own failures. Each example pairs a broken kernel and profiler feedback with a teacher repair and synthesized reasoning.
🟢 After Fixit, Qwen3.6-27B solves Hopper GEMM and attention tasks it couldn’t solve before. New shapes and attention variants are still hard.
🧠 Big questions remain:
• Should agents write PTX directly, or will GPU DSLs scale better?
• Correct, fast PTX kernels are hard to collect. What’s the minimal supervision required to train a PTX expert?
• Can a model trained on one GPU architecture generalize to another?
• How do we get from the right instructions ran to this thing is actually fast?
🚀 Getting PTX right is step one. Making it fly is what's next.
📖 Paper & Blog: arxiv.org/pdf/2608.17379 & zhang677.github.io/blog_md/p…
💻 Code: github.com/zhang677/PTXBench
🍾 Weights + data: huggingface.co/collections/G…
Amazing collaboration with @yi_xin_dong Chengze Fan @zz30gs Yueming Yuan @ShaoweiZhu95pu and @KunleOlukotun! Huge thanks to the generous support from @sgl_project @tinkerapi and Gemini Academic Program Award!
RSI is accelerating AI Infra!
We scaled Recursive Self-Improvement (RSI) to production AI infrastructure with SGLang-Omni, shipping 14 upstream-merged PRs across 8 speech & omni models with 7.6%–344.3% throughput gains.
Blog: index.openrsi.foundation/blo…
4
99
Genghan Zhang retweeted
Introducing RSI-top: a framework that helps autonomous research agents explore new directions when progress stalls 🧭
On Anthropic’s kernel optimization task, RSI-top outperforms OpenEvolve and ShinkaEvolve by up to 15%. On MLE-bench Lite, it achieves a 77.3% medal rate, outperforming the strongest baseline by 11.4 percentage points.
RSI-top tackles this problem from two angles: context management and diversity control 🔍
A compact metric dashboard helps agents selectively retrieve useful past trajectories, while three diversity control mechanisms encourage fresh perspectives, new ideas, and different starting points when progress stalls.
More details in the thread below 🧵
Genghan Zhang retweeted
Introducing Next-Concept Models (NCMs), a new paradigm for language generation that is significantly faster and more data efficient than diffusion models.
How it works:
1) First we learn a series of compressed representations of text from coarse to fine-grained, aka ‘concepts’. This step is done once, similar to training a tokenizer.
2) At inference, we generate text going from a coarse to fine hierarchy via these ‘concepts’. A transformer predicts each level of the hierarchy sequentially, but the codes within each level are generated in parallel.
Compared to strong diffusion language models, NCM achieves:
Up to 31× faster generation on downstream tasks like summarization and machine translation.
10-21× faster generation across TinyStories, LM1B, and OpenWebText, using 3-5× fewer training data.
On reasoning tasks like Sudoku, NCM outperforms both autoregressive and diffusion baselines with fewer sampling steps.
Lead authors: @KumbongHermann & @ishanskhare, together with a great team!
🚀 Introducing Next-Concept Modeling (NCM): our new paradigm for fast, parallel, coarse-to-fine text generation.
Compared to strong diffusion language models (DLMs) at similar parameter size, NCM achieves:
⚡ Up to 31× faster generation on downstream tasks like summarization and machine translation with comparable or better quality.
🏎️ 10–21× faster unconditional generation across TinyStories, LM1B, and OpenWebText, with comparable or better generative perplexity and using 3–5× fewer training tokens.
🧩 Better performance on reasoning tasks like Sudoku, outperforming both AR and diffusion baselines with fewer sampling steps.
With @ishanskhare, @IddahMlauzi, @ekellbuch, @simran_s_arora, @Azaliamirh, and @HazyResearch.
More details in the thread 🧵👇
Token efficiency matters for AutoResearch. Please check out our latest Stateless Language Agents!
AutoResearch agents keep burning tokens after they stop making progress. 💰😭
From authors of ACE and Meta-Harness: Introducing Stateless Language Agents (SLAs). Stateful search, stateless agents. Advancing the performance-cost Pareto frontier of RSI.
Across 9 tasks, up to 1B tokens:
- Best final result on every task 📈
- 14.5× fewer tokens to match the best kernel baseline 🚀
- Advisor (the “coordinator”) uses < 0.6% of total tokens 🫣
📑 Paper: arxiv.org/abs/2610.07625
NOT JUST HIGHER NUMBERS. Some more surprising findings in the thread below! 🧵 #LLM #AI #RSI #Agent
Great collaboration, and excited to build KCoral together! 🚀 Robust and scalable evaluation is essential for building better kernel agents. Excited to bring what we’ve learned from building PTXBench into KCoral and push this space forward together.
Kernel agents can already beat hand-tuned kernels. Spinning up more agents is easy, but scaling GPU evaluation is still hard and expensive.
What happens when the agents scale faster than the GPUs?
Meet KCoral 🪸: a lightweight shared GPU benchmark environment for agentic kernel development.
🧑💻 Agents keep writing and revising code in their own workspace.
⚡ Evaluation is sent to KCoral, which schedules a shared GPU pool and returns correctness and timing.
🌐 Scale across multiple GPUs and nodes through a unified API endpoint.
🔒 Per-request isolation with only milliseconds of execution overhead.
By overlapping CPU compilation with GPU work across requests, KCoral further speeds up kernel evaluation. On a single NVIDIA B200, this translates to 2.58× the throughput of sequential local execution.
We used @tinkerapi to SFT Qwen3.6-27B on a pretty unusual domain: GPU kernels written in architecture-specific CUDA-PTX.
Our recipe: turn the model’s failed kernels + compiler/runtime feedback together with the kernel fixed by a teacher model and synthetic reasoning into SFT trajectories, then train with Tinker’s supervised learning recipe using LoRA.
Turns out the SFT recipe matters a lot: data coverage, balance, and reasoning supervision all had a big impact on generalization.
More in PTXBench: arxiv.org/abs/2608.17379
Genghan Zhang retweeted
Excited to share that our paper, “Quokka: Accelerating Program Verification with LLMs via Invariant Synthesis,” has been accepted to #COLM2026! 🎉
Paper: arxiv.org/pdf/2509.21629
Code: github.com/Anjiang-Wei/Quokk…
👏
We've heard the community's feedback. Our intent was to make sure the credits reached the people who supported SGLang along the way, and we couldn't be here without you. We're updating the offer to better reflect that.
RadixArk's platform is open for beta, and we're offering $200 in compute credits to get you started
→ Sign up at platform.radixark.com and repost this so we can get you set up.
→ Limited spots, first come first serve. Open through May 13, 2026 (AoE).
→ Credits will be granted after we verify the repost.
(If you already reposted our earlier announcement, that counts too; no need to do it again.)
And if SGLang has been useful in your work, consider giving it a star on GitHub. It's a small gesture that means a lot to the people maintaining it. We're in this together, and we're grateful to be building it with you 🧡
Thrilled to share three big updates on AccelOpt 🚀
1) New best results on AWS Trainium (NKI, Trn1)
2) Extended to NVIDIA H100 (Triton)
3) Our AccelOpt paper was accepted to MLSys 2026 🎉 See you in Seattle!
All the related links are in the comments below!
Posts:
X: teapawt.net/zhang677/status/199192…
LinkedIn:
linkedin.com/feed/update/urn…
linkedin.com/feed/update/urn…
🚀 AccelOpt, a self-improving LLM agentic system for AI accelerator kernel optimization.
📈 Boosts utilization from 49→61% on Trainium1 and 45→59% on Trainium2 using open-source models, matching Claude Sonnet 4 while being 26× cheaper
Paper: arxiv.org/pdf/2511.15915
65
Code: github.com/zhang677/AccelOpt
Paper: arxiv.org/pdf/2511.15915
Blogs:
- Part I: zhang677.github.io/blog_md/a…
- Part II: zhang677.github.io/blog_md/a…
73
AccelOpt achieves 1.5× speedup over FlashInfer on a GQA paged decode kernel, and 1.38× on a GQA paged prefill kernel. Kernels here: github.com/zhang677/AccelOpt…
1
79
AccelOpt beats the best public human-expert implementations—1.04× faster for Mamba and 1.4× faster for RoPE. Kernels here: github.com/zhang677/AccelOpt…
108
Genghan Zhang retweeted
We constructed NKIBench with manually curated kernels commonly used in modern networks (RoPE, Mamba block, Group Query Attention, etc.). The code and benchmark release will come soon. Follow @zhang677, the project lead, for updates!
Tweet: teapawt.net/zhang677/status/199192… 📈🧵6/6
🚀 AccelOpt, a self-improving LLM agentic system for AI accelerator kernel optimization.
📈 Boosts utilization from 49→61% on Trainium1 and 45→59% on Trainium2 using open-source models, matching Claude Sonnet 4 while being 26× cheaper
Paper: arxiv.org/pdf/2511.15915
🚀 AccelOpt, a self-improving LLM agentic system for AI accelerator kernel optimization.
📈 Boosts utilization from 49→61% on Trainium1 and 45→59% on Trainium2 using open-source models, matching Claude Sonnet 4 while being 26× cheaper
Paper: arxiv.org/pdf/2511.15915
This is the follow-up to our ICML 2025 paper: Adaptive Self-improvement LLM Agentic System for ML Library Development (arxiv.org/pdf/2502.02534).
Major upgrades:
⚡️Performance, not just correctness
💰Cost efficiency
🧠Reusable memory of optimization insights
1
152
Amazing collaboration with @ShaoweiZhu95pu @anjiangw @sunny_szy @allenainie @ Zhen Jia @nanditav17 @ Yida Wang @KunleOlukotun and Amazon Neuron Science Team!
171





















