Yi Pan (@conlesspan) header
Yi Pan (@conlesspan) profile picture

PhD Student @BerkeleySky | Systems & AI | https://nitter.gq/t.co/ryX6Lxhbft Prev. BS @sjtu1896, RA @UWSyFI

Joined August 2019
Photo by Yi Pan (@conlesspan)Photo by Yi Pan (@conlesspan)Photo by Yi Pan (@conlesspan)Photo by Yi Pan (@conlesspan)Photo by Yi Pan (@conlesspan)Photo by Yi Pan (@conlesspan)Photo by Yi Pan (@conlesspan)Photo by Yi Pan (@conlesspan)
๐Ÿš€ Qwen, Kimi, GLM are all betting on linear attention. But it's still slow: the recurrent state is read & rewritten every token. Meet LeapQuant: the first training-free method to make 8-bit or 4-bit recurrent states work. ๐Ÿ“ˆ Across Qwen, Kimi, and GLM models: โ€ข Matches FP32 accuracy โ€ข 4.25ร— faster linear attention kernels โ€ข Up to 2ร— higher inference throughput โ€ข Cuts memory by up to 56%
36
127
18
872
109,269
Agents writing specialized inference engines from scratch and actually beating general-purpose systems like vLLM is pretty wild ๐Ÿ”ฅ Itโ€™s cool to see coding agents pushed this far on real systems work. Congrats @ste_veng and the team on HLS!
Would you bet that an agent could write an inference engine from scratch in 12 hrs and beat vLLM? We find that it can ๐Ÿ˜Ž Introducing Humanity Last System, a benchmark that tests how well agents can build hyperspecialized serving engines for text, agentic, and multimodal workloads
3
1
24
1,472
Yi Pan retweeted
Ray tracing without ray tracing cores. We set out to double an H100's score on Blender's benchmark, just enough to beat an RTX 5090. It ended at almost 3x the 5090, on a GPU with no RT cores that most people would say isn't meant for rendering. Turns out we don't need hardware built for one job. We need hardware that's general enough, and agents strong enough to rewrite the renderer for it. That's big for graphics in the AI era. Robots and world models will need rendering at datacenter scale, on exactly these general GPUs. We were aiming to barely pass a 5090. Next time, the target is whatever looks impossible.
3
6
24
1,326
With the success of KDA (kernel design agent), we release QDA (quantization design agent):
Agent loops need fast feedback, and LLM quantization doesn't have it: evaluations of reasoning models are slow, and PTQ methods are hard to port and combine. Meet QDA. A coding agent designs the quantization recipe for each model and precision, with a KL score that takes minutes and a library of 20+ stackable PTQ methods. ๐Ÿ“ˆ Beats the best public recipe on 11 of 12 model-precision pairs: +0.9 / +1.4 / +2.2 pts at W4A16 / W4A8 / W3A16 ๐Ÿ”ฅ GLM-5.3-Flash (320B) at NVFP4: 98.3% of FP8 accuracy, vs 96.9% for NVIDIA's release ๐Ÿ’ฐ Only $19โ€“75 of Claude Code tokens per search โšก Runs on stock vLLM, SGLang and llama.cpp, zero inference overhead Blog, paper, code and checkpoints below ๐Ÿงต
2
16
1
171
11,451
Congrats to @XYLi_Bruce and the team on QDA! It turns PTQ recipe design into a real closed-loop search and beats the best public recipes on multiple settings ๐Ÿš€
Agent loops need fast feedback, and LLM quantization doesn't have it: evaluations of reasoning models are slow, and PTQ methods are hard to port and combine. Meet QDA. A coding agent designs the quantization recipe for each model and precision, with a KL score that takes minutes and a library of 20+ stackable PTQ methods. ๐Ÿ“ˆ Beats the best public recipe on 11 of 12 model-precision pairs: +0.9 / +1.4 / +2.2 pts at W4A16 / W4A8 / W3A16 ๐Ÿ”ฅ GLM-5.3-Flash (320B) at NVFP4: 98.3% of FP8 accuracy, vs 96.9% for NVIDIA's release ๐Ÿ’ฐ Only $19โ€“75 of Claude Code tokens per search โšก Runs on stock vLLM, SGLang and llama.cpp, zero inference overhead Blog, paper, code and checkpoints below ๐Ÿงต
1
2
13
871
Iโ€™m beyond excited about this. When I first started working on on-device personal agents, this was the dreamโ€”and now itโ€™s real. We built a real-time visual indexing method and brought it to life in a working product. The idea is wild: you shouldnโ€™t have to remember every little thing youโ€™ve seen or done on your computer. Your agent should remember it for you. ๐Ÿคฏ Itโ€™s already helped me dig up an old Golden State Warriors ticket and find the GEN vs. BLG recap video I was watching over lunch yesterday. Those โ€œwait, where did I see that?โ€ moments? Just ask your agent. Multimodal. Multilingual. Real-time. All running quietly on your computer, private, lightweight, and ready when you need it. Incredible work led by @dayoon12161, and an amazing collaboration as always with @sewon__min ๐Ÿš€ ๐Ÿ’ป Code github.com/StarTrail-org/Strโ€ฆ ๐Ÿ“„ Paper arxiv.org/abs/2611.18516
Wait, what was that paper I saw last week with the pink and blue Pareto curves? ๐Ÿค” Keep screenshots of your screen, and you can find it again, right on your laptop. ๐Ÿ’ป ๐Ÿ”ฅ Introducing ๐‘บ๐’•๐’“๐’†๐’‚๐’Ž๐‘ฌ๐’Ž๐’ƒ๐’†๐’…: real-time visual indexing of your screen history, fully on-device. โš–๏ธ The latencyโ€“accuracy trade-off OCR text index: fast, but loses what only pixels show Screenshot index: accurate, but 2.3s per screenshot on a laptop GPU ๐‘บ๐’•๐’“๐’†๐’‚๐’Ž๐‘ฌ๐’Ž๐’ƒ๐’†๐’… gets both: ๐˜‚๐—ฝ ๐˜๐—ผ ๐Ÿฏ.๐Ÿณร— ๐—ณ๐—ฎ๐˜€๐˜๐—ฒ๐—ฟ than full-screenshot encoding at matched accuracy, and +๐Ÿฒ.๐Ÿฏ ๐—ฅ๐—ฒ๐—ฐ๐—ฎ๐—น๐—น@๐Ÿญ๐Ÿฌ over OCR. ๐Ÿ’ซ How? (1) ๐—ฆ๐—ฐ๐—ฟ๐—ฒ๐—ฒ๐—ป๐˜€ ๐—ฏ๐—ฎ๐—ฟ๐—ฒ๐—น๐˜† ๐—ฐ๐—ต๐—ฎ๐—ป๐—ด๐—ฒ. Often, only a handful of blocks differ. (2) ๐—ฆ๐—ผ ๐˜„๐—ฒ ๐˜€๐˜๐—ผ๐—ฝ ๐—ฟ๐—ฒ๐—ฐ๐—ผ๐—บ๐—ฝ๐˜‚๐˜๐—ถ๐—ป๐—ด ๐˜๐—ต๐—ฒ๐—บ. Spatial token pruning drops blocks that repeat a neighbor; temporal KV reuse recomputes only what changed: 57โ€“71% less compute. (3) ๐—” ๐˜๐—ถ๐—ป๐˜† ๐—ฎ๐—ฑ๐—ฎ๐—ฝ๐˜๐—ฒ๐—ฟ keeps the embedding faithful to the full screenshot. ๐Ÿ“ ๐—ง๐—ฎ๐—ธ๐—ฒ๐—ฎ๐˜„๐—ฎ๐˜†: keeping your entire screen history as pixels is now practical on a laptop. Next: fully local visual agents with memory. You can try it on your laptop right now: ๐™ฅ๐™ž๐™ฅ ๐™ž๐™ฃ๐™จ๐™ฉ๐™–๐™ก๐™ก ๐™จ๐™ฉ๐™ง๐™š๐™–๐™ข๐™š๐™ข๐™—๐™š๐™™ ๐Ÿ’ป Code: github.com/StarTrail-org/Strโ€ฆ ๐Ÿ“„ Paper: arxiv.org/abs/2611.18516
6
7
1
65
138,510
The age of bespoke serving engines is upon us! To build them, having a principled understanding of the performance characteristics before you build is super important. Check out @KanZhu854772โ€™s work on building a bespoke prefill engine for GLM 5.3 using ServingStudio!
๐Ÿ”ฅ Serving coding agents well needs a high-performance prefill engine, but existing systems fall short. ๐Ÿš€ Introducing SSEngine-GLM5.3-Flash: an open-source prefill engine for GLM-5.3-Flash on four B200 GPUs. It combines pipeline parallelism, a tiered prefix cache across GPU memory, DRAM and SSD, and a shortest-remaining-prefill-first scheduler. ๐Ÿ“ˆ On real hardware, it sustains 3.1ร— (AgentX) and 3.2ร— (TraceLab) the request rate of any vLLM or SGLang setup we tested. ๐Ÿงต More in the thread below (1/8)
4
4
422
Yi Pan retweeted
Pipeline parallelism, custom prefix caches, and thoughtful schedulers really do boost peformance of LLM serving for coding agents! With ServingStudio to predict how a design performs, we were able to build a bespoke prefill engine for GLM 5.3-Flash that kills the competition! Work led by our own @KanZhu854772!
๐Ÿ”ฅ Serving coding agents well needs a high-performance prefill engine, but existing systems fall short. ๐Ÿš€ Introducing SSEngine-GLM5.3-Flash: an open-source prefill engine for GLM-5.3-Flash on four B200 GPUs. It combines pipeline parallelism, a tiered prefix cache across GPU memory, DRAM and SSD, and a shortest-remaining-prefill-first scheduler. ๐Ÿ“ˆ On real hardware, it sustains 3.1ร— (AgentX) and 3.2ร— (TraceLab) the request rate of any vLLM or SGLang setup we tested. ๐Ÿงต More in the thread below (1/8)
2
7
247
Kan is on a tear ๐Ÿ”ฅ Weโ€™re already building bespoke systems for specific models and chips. Go one level deeper: prefill and decode each deserve their own serving stack. Kanโ€™s GLM-5.3-Flash prefill engine hits 3.2ร— vLLMโ€™s peak throughput replaying coding-agent traces on four B200s. ๐Ÿ‘‡
๐Ÿ”ฅ Serving coding agents well needs a high-performance prefill engine, but existing systems fall short. ๐Ÿš€ Introducing SSEngine-GLM5.3-Flash: an open-source prefill engine for GLM-5.3-Flash on four B200 GPUs. It combines pipeline parallelism, a tiered prefix cache across GPU memory, DRAM and SSD, and a shortest-remaining-prefill-first scheduler. ๐Ÿ“ˆ On real hardware, it sustains 3.1ร— (AgentX) and 3.2ร— (TraceLab) the request rate of any vLLM or SGLang setup we tested. ๐Ÿงต More in the thread below (1/8)
1
1
35
1,702
Solid work from @KanZhu854772 on SSEngine ๐Ÿ”ฅ๐Ÿš€ Open-source prefill engine for GLM-5.3-Flash on four B200s, hitting 3.1โ€“3.2ร— higher request throughput than vLLM/SGLang on coding-agent traces ๐Ÿ“ˆ Pipeline parallelism + tiered prefix cache + shortest-remaining-prefill-first scheduling really moved the needle here. Great example of how much specialized prefill stacks can outperform general serving frameworks.
๐Ÿ”ฅ Serving coding agents well needs a high-performance prefill engine, but existing systems fall short. ๐Ÿš€ Introducing SSEngine-GLM5.3-Flash: an open-source prefill engine for GLM-5.3-Flash on four B200 GPUs. It combines pipeline parallelism, a tiered prefix cache across GPU memory, DRAM and SSD, and a shortest-remaining-prefill-first scheduler. ๐Ÿ“ˆ On real hardware, it sustains 3.1ร— (AgentX) and 3.2ร— (TraceLab) the request rate of any vLLM or SGLang setup we tested. ๐Ÿงต More in the thread below (1/8)
1
14
980
Coding agents now write a growing share of ML compiler code. Which language should they write it in: Rust, Python, or C++? Each language has different strengths, so why pick just one? Meet TIRx Rust ๐Ÿš€: a Rust-native, cross-language ML compiler foundation for agents, with: ๐Ÿ”— Fine-grained access to shared IR objects: Rust natively uses objects from any language, no bindings. ๐Ÿฆ€ Ergonomic Rust APIs: write passes natively in Rust, as easily as in C++ or Python. ๐Ÿงฉ Dynamic extension: add new objects and functions as standalone modules, with zero changes to the core. How does it work under the hood? Full post ๐Ÿ‘‡ blog link: tvm.apache.org/2026/11/16/ruโ€ฆ
4
20
2
49
31,084
Yi Pan retweeted
Reasoning models can now drive robots. But the robot sits still while the model thinks. SpecPilot now speeds up agentic robotics. On PEAR (Qwen3.8-27B as a robot policy), the same LIBERO task finishes in 49 s instead of 189 s. 3.84ร— faster task completion 71 โ†’ 241 tok/s decode No training ๐Ÿค–
RSI starts with infra ๐Ÿ” mlsys is in a golden age. agents are great researchers now. with tokens, "low-hanging fruit" is everywhere. agents optimize speculative decoding for parallel drafters (DFlash2, DSpark) without training or quality loss. their 12-bit format beats cuBLAS.
13
21
4
214
16,814
Beyond Score Centering: what else can we fix in async RL? ๐Ÿงต Score centering (SC) is the hot new trick for off-policy LLM RL. We stress-tested it under real async staleness (every batch up to 127 steps old) and found what it fixes, what it doesn't, and two cheap wins on top ๐Ÿ” What SC actually fixes โ€ข Without SC, a trajectory's gradient norm grows ~linearly with its age: at age 64 it's 3.2ร— an on-policy one. With SC: 1.5ร— โ€ข The culprit is a hidden drift term, an uncontrolled โˆ’AยทKL(ฮผโ€–ฯ€) baked into the policy gradient. SC removes it โš ๏ธ What SC + IS gets wrong โ€ข SC then IS โ†’ adds a new drift โ€ข IS then SC โ†’ a no-op without truncation; with truncation it centers on a distribution with no guarantee of being closer to ฯ€ โ€ข So "IS and SC are orthogonal" (from the SC paper) doesn't hold Two wins on top of SC 1๏ธโƒฃ State-level KL mask: drop states where KL(ฮผโ€–ฯ€) > ฯ„, instead of masking by token-level ratios. It depends only on the state, so SC's baseline property survives. At age 127: 3/3 seeds climb steadily, while TIS+SC and MIS+SC spike and crash 2๏ธโƒฃ Random buffer sampling, a free lunch from the system: same buffer, sample at random instead of FIFO. Mean age 127 โ†’ 52, better for every method at equal wall-clock Recipe = SC + KL penalty + KL mask. At lr 4e-2 (w/ SGD), MIS+SC and DPPO collapse and TIS+SC swings, while every recipe seed trains and learns faster early ๐Ÿค” So far, weโ€™ve only tested on Countdown with Qwen3-0.6B (wants to scale it up!). When staleness is low, all the fixes perform similarly, but the differences become clearer as staleness increases. We also havenโ€™t compared against sequence-level masking (which might already be enough!) or isolated kernel mismatch from async lag. Both are worth looking into next. #LLM #RL #AsyncRL #ReinforcementLearning
23
42
3
356
310,013
We breathed life into LLM system. Introducing Evolving Infraโš™๏ธ: an inference framework that adapts diverse and dynamic agent workload purely online and retires fixed PD disaggregation. vs. NVIDIA Dynamo on up to 256 GB300 GPUs: โžก๏ธ Up to 4.1ร— lower latency โžก๏ธ Up to 14ร— lower P95 TTFT โžก๏ธUp to 2.36ร— more revenue on real agent traces(Computer Use, Coding and math agents) and opensource models. ๐ŸŒ Website: inference-rsi.com ๐Ÿ“„ Tech report: alphaxiv.org/en/abs/2611.123โ€ฆ ๐Ÿ’ป Code: github.com/mit-han-lab/Evolvโ€ฆ Which agent(e.g. Pi/Openhands) do you want us to accelerate next? Tell us below ๐Ÿ‘‡
21
60
15
272
56,687
FrontierCS 2: A Benchmark for Computer Science R&D
28
26
12
380
42,216
Everyone's been showing Fable and GPT-6 Astra driving robot arms. We trained an open 27B Qwen model to do it, purely from its own attempts in simulation, with zero demonstrations. And it can run locally at 220+ tok/s on an RTX 5090. On a real robot it had never touched, it now succeeds in 18 of 30 tests, up from 0 before training. It also copies a painting and designs its own chemistry experiment. It generalizes and follows instructions better than ฯ€0.5, and on LIBERO it comes close to Astra max. All without losing its general capabilities, like math and coding. Built on Qwen3.8-27B. We've open-sourced the model weights, code, and full training infra! Check out our blog at mit-han-lab.github.io/pear-bโ€ฆ.
54
170
52
1,256
118,696
So glad to have the opportunity to share our team's recent work of rebuilding a training framework at #SGLangSummit. We'll share blog posts and open source the project very soon. Stay tuned ๐Ÿ˜œ
5
5
1
53
2,884
SyFI is hiring a postdoc or research engineer (~$100K/year) to lead our work on the NSF AI Efficiency Challenge. Build AI infrastructure with us! Reach out to me or @thepadawang. Please repost or tag a colleague!
2
15
26
2,274
Checkout LeapQuant from @conlesspan and @HaochengXiUCB! Training free quantization for recurrent states of linear attention ๐Ÿš€๐Ÿš€๐Ÿš€
๐Ÿš€ Qwen, Kimi, GLM are all betting on linear attention. But it's still slow: the recurrent state is read & rewritten every token. Meet LeapQuant: the first training-free method to make 8-bit or 4-bit recurrent states work. ๐Ÿ“ˆ Across Qwen, Kimi, and GLM models: โ€ข Matches FP32 accuracy โ€ข 4.25ร— faster linear attention kernels โ€ข Up to 2ร— higher inference throughput โ€ข Cuts memory by up to 56%
2
11
1,010
For Linear Attention models, the recurrent state itself becomes the next bottleneck. LeapQuant makes 8/4-bit linear states work in a training-free way, incurring no accuracy degradation, and improves throughput by 2ร—๐Ÿš€
๐Ÿš€ Qwen, Kimi, GLM are all betting on linear attention. But it's still slow: the recurrent state is read & rewritten every token. Meet LeapQuant: the first training-free method to make 8-bit or 4-bit recurrent states work. ๐Ÿ“ˆ Across Qwen, Kimi, and GLM models: โ€ข Matches FP32 accuracy โ€ข 4.25ร— faster linear attention kernels โ€ข Up to 2ร— higher inference throughput โ€ข Cuts memory by up to 56%
9
43
3,415
Amazing work! So fortunate to have watched this grow from a neat observation into a full paper. Congrats to the whole team!
Replying to @conlesspan
Amazing collaboration with @HaochengXiUCB @KanZhu854772 @XYLi_Bruce @BetaGamma20 @MayankMish98 @zhangho72245693 @WilliamXinze @songhan_mit @KurtKeutzer @rishiyer @istoica05 ! Huge thanks to @shulynnliu @yhfchitanda @YichuanM @melissapan for insightful discussions and helpful feedback! Feel free to check out the paper, code, and demo. We'd love to hear your feedback! ๐Ÿ™Œ (7/7)
1
1
5
464