Seroze retweeted
I built bbtree, the foundation of databases and filesystems, and the fastest concurrent btree.
Code: github.com/XiangpengHao/bbtr…
Blog post & demo: bbtree.xiangpeng.systems/
なんとですね!私が作ったRust 製 unix-like OS こと octox がですが、サンフランシスコ大学のコンピュータサイエンスの授業で使用されているようです。AI時代ますます Rust と OSとUnix 的なものが重要になってますね。Rust と Unix-likeなOSを同時にまなべるoctox をどうぞ
cs631-s26.cs.usfca.edu/guide…
全部Rustで作られたUnix-like OSがここにあります!!Rustで思う存分に開発できますよ!CかRust で揉めることはないかと思います!Rust でOS開発したい方、移植、ドライバー開発、ユーザーランド開発歓迎です!!ぜひ起こしください!!!
github.com/o8vm/octox
Seroze retweeted
Built with vortex, slatedb and tigris. 🤩
SlateDB + two MVC portfolio companies! (Well, OK, Vortex -> SpiralDB). 👏 So cool!
Seroze retweeted
Full text (translated by Astra-xhigh, I'm out of everything else):
I Have No Choice but to Bury My Talent in Yesterday
A few days ago, DeepSeek v4.1 was released, raising the ceiling of what small models can do by yet another notch.
AI has advanced far faster than anyone expected. From the earliest version of ChatGPT, which could do little more than stumble through conversations like a child learning to speak and had a context window of only a few thousand tokens, to reasoning-capable models such as OpenAI o1, DeepSeek R1, and Kimi K1.5 Thinking, took only two short years. From reasoning models to the agents we have today—able to work fluidly with all kinds of tool harnesses, execute commands, and complete complex tasks—has taken only another year and a half.
It is hard to imagine what AI will look like another one, two, or three years from now: how powerful it will be, whether it will already have acquired the ability to improve itself, and how deeply it will have spread into areas such as embodied intelligence.
AI Is Getting Better and Better at Writing Kernels
AI has been advancing just as quickly in my own field: the design and implementation of high-performance kernels.
In the space of only a year, it has gone from being a little assistant that could help me look up documentation, read code, and find bugs to something approaching a kernel expert in its own right: capable of reading CUDA, PTX, and SASS code independently, using specialized tools to analyze the stalls associated with individual instructions, and then optimizing kernels on its own.
I believe that before long, it will also be able to design kernel schedules independently, evaluate the performance of different scheduling strategies, implement them, and optimize the result.
Of course I am proud of DeepSeek v4.1’s success. After all, I wrote its main Attention kernels [1], and the fact that the model performs so well is also, in a sense, a validation of my work.
But the times keep moving forward, and no one can stop technological progress. I know very well that in another six months or a year, the kernels written by AI will probably be every bit as good as mine—and perhaps better.
AI can reason at 300 tokens a second, type out a command in half a second, and produce a piece of code in twenty seconds. I cannot. AI can keep increasing its model depth, reasoning effort, tool-call budget—the frequency with which it interacts with its environment—and even its degree of parallelism. I cannot.
Humanity has never shown much hesitation when it comes to destroying itself.
So why, when I know perfectly well that “the better the kernels I write, the faster our new models will train and run inference; the faster the models improve, the sooner I myself will be replaced,” do I still do everything I can to optimize them?
Partly because writing kernels is like playing a game to me. I get an enormous amount of pleasure from it. Whenever I invent a new technique, or see one of my kernels become faster, the excitement I feel is no less intense than what a speedrunner feels after breaking their own record. And when I see one of my kernels dramatically outperform the hardware vendor’s official implementation, I feel an equally powerful sense of pride.
But there is a more important reason.
Even if I simply gave up and started coasting—or deliberately put obstacles in the way to slow down model training—other companies’ models would continue advancing as usual, and in the end they would make me obsolete just the same.
“Of course I would rather not be swept away by the revolution. But if I have to be, then I would rather be the one who revolutionizes myself.”
When everyone is this determined to engineer their own obsolescence, I have little choice but to join this brutal arms race.
And What About Me?
When the day really comes that AI is better at writing kernels than I am, what will happen to me then?
My own judgment is this: I probably will not lose my job, but I will have to change what I do.
I should still be able to make a living. But I may no longer have the chance to do the work I once loved.
I once came to a conclusion about the pace of change and my own place in the future. The world is changing so quickly—the development of AI above is a perfect example—that I have no way at all to predict what things will look like five or ten years from now. But whatever happens, I believe that with my breadth of vision, judgment, initiative, and intelligence, I will be able to keep a seat at the table and find my way back to the leading edge of the times.
But that conclusion can only reassure me that I will not become unemployed. It cannot reassure me that I will never have to change professions. If anything, it tells me that changing professions may be precisely how I avoid unemployment.
And what does changing professions mean?
It means giving up the field of kernel design, implementation, and optimization that I have spent so long cultivating and have come to love so deeply, and instead becoming a “mech pilot” for AI agents.
Before, three things were largely aligned: what interested me, what I was good at, and what industry needed. Now AI has taken the thing I am good at and become even better at it. At the same time, industry demand has drifted from “people who can write high-performance kernels” to “people who can use AI to produce high-performance kernels faster.”
To keep up with what industry needs, I will inevitably have to leave behind the direction I once loved and move into some unknown new one.
I believe that with my understanding of engineering, of the requirements of higher-level models, and of low-level hardware, I will still be able to produce high-quality kernels efficiently. I also know that I may come to love this new direction.
Or I may not.
But there is something genuinely painful about having the thing you love taken away from you.
That quiet contentment of sitting at my workstation, settling in, and spending an entire afternoon writing kernels may sing its swan song this summer.
I have no choice but to bury my talent in yesterday and become a mech pilot.
There are more gears in my hands now, but fewer rhythms in my heart.
An analogy might make this easier to picture.
Suppose you are a master knitter. You are especially skilled at weaving intricate patterns and matching different colors. The sweaters you make are durable and beautifully patterned, and wealthy people from all the surrounding towns and villages come to ask you to make sweaters for them. You make a good living from it.
And you genuinely love the work itself. You love sitting by the window, brewing a pot of tea, looking out at the green hills, clear water, cattle and sheep, and wisps of cooking smoke in the distance, and quietly spending an afternoon knitting.
Then one day, someone invents a miraculous machine. Give it yarn and a pattern, and it can automatically knit the sweater for you. The quality and texture are every bit as good as what you could make by hand, and it works far faster than you ever could.
You know perfectly well that your peers can use this machine to reach, effortlessly, the level you once spent years attaining. So you have no choice but to use it as well.
You also know that with the twenty years of knitting experience you have accumulated, even once everyone has access to the same machine, you will still be able to produce better sweaters, faster, than your peers.
But the pleasure of sitting by the window listening to the rain, guiding needle and thread, and letting the hours pass slowly has, in the end, been crushed beneath the roar of the machine.
I know there is something deeply helpless about all of this, but there is no real way around it. I can probably keep my livelihood, but I will most likely have to give up an old love.
I am the sort of person who keeps reason and emotion fairly compartmentalized. When something needs to be handled rationally, I can be very rational. But I also have a sentimental side.
I remember that when I moved out of an apartment I had lived in for a year, I cried hard because I could not bear to part with all the memories tied to that place.
Saying goodbye today to the age when kernels were written by hand and optimized in the human mind is undoubtedly more painful still.
I do not know whether any readers have felt something similar.
But I suppose there is no other way for this to go.
And What About Everyone Else?
As AI continues to improve, I also find myself worried about a few questions:
Are students today increasingly likely to use AI to do their assignments, especially hands-on work such as labs? Imagine having two choices in front of you. One is to spend eight miserable hours struggling through a lab and perhaps not even get full marks. The other is to launch an AI model, spend a few cents and a few minutes, and have it write code that earns full marks for you. Which one are most students going to choose?
The point above may leave large numbers of students with seriously underdeveloped engineering ability: the ability to organize code, build systems, anticipate future needs and design for them in advance, create good abstractions, and so on. As AI becomes more capable, will those “engineering skills” still be necessary? Will they gradually become obsolete, the way fluency in handwritten x86 assembly largely has? Or will they remain permanently valuable, like understanding the entire computing stack from software to systems to hardware? If it is the latter, then we may be in trouble. Put AI in the hands of someone with poor engineering judgment, and they can now produce mountains of terrible code several times faster than before, burying all kinds of hidden problems inside systems and making the world even more of a ramshackle operation held together by improvisation.
In the society of the future, will power matter more than technical ability or intelligence?
Perhaps these are questions that only the times themselves can answer.
Conclusion
As AI develops, the society of the future may be pulled toward one of two extremes: communism or Cyberpunk 2077.
In the former, productive capacity is liberated on an enormous scale, and people’s standard of living rises substantially. (I’ll leave it at that, or I’m afraid this might not make it past moderation.)
In the latter, a handful of technology companies control most of society’s resources. Only a tiny number of people have access to the most advanced AI and other technologies and are able to achieve something approaching “mechanical ascension,” while most people are left with only weak, second-rate AI.
Moving from one social class to another would become harder and harder: you would first need access to the strongest AI in order to climb the class ladder, creating a self-reinforcing trap.
Suppose Anthropic were to retain control of the most advanced AI in the world indefinitely.
Which way do you think society would go—communism or 2077?
Take a guess.
That is why I still believe that frontier intelligence should be made available to everyone openly and affordably.
I do not trust Anthropic or OpenAI to do that. In particular, I do not want Anthropic to control the world’s most advanced artificial intelligence or AGI. To put it dramatically, I think the stakes would be comparable to Hitler obtaining the atomic bomb before the Allies did.
That is also why I chose to stay at DeepSeek, and why I have continued to stay.
We work on AI that is powerful, fast, and accessible to everyone, and we open-source it. Perhaps that can pull the world at least a little farther away from the 2077 end of the spectrum.
I hope the world we are heading into turns out all right.
May all that is good and beautiful endure.
[1] By “main Attention,” I mean only MQA attention with head dim = 512. This does not include the indexer used to select the top-k important tokens. That part was written by other colleagues—who are every bit as skilled—together with their AI agents.
-----
Original:
我不得不把才华埋葬在昨天
前几天,DeepSeek v4.1 发布了,将小模型能力的高度又向上推进了一个档次。
AI 发展的速度远远超过了所有人的预期。从那个只会咿呀学语地聊天、上下文长度只有几千 token 的初版 ChatGPT,到具有推理能力的 OpenAI o1、DeepSeek R1 与 Kimi K1.5 Thinking,只不过短短两年;从推理模型到如今能够流畅地在各类 harness 工具中执行命令、完成复杂任务的智能体,也不过一年半。很难想象,倘若再等上一年、两年、三年,彼时的 AI 会成为什么样子,会有多么强大,会不会已经具备了自我进化的能力,并深度渗透进了具身智能等领域。
AI 越来越会写算子了
AI 在我所从事的算子设计、编写这一领域同样进步飞速,在短短一年的时间内,他已经从一个只能帮我查查文档、读读代码、找找 bug 的小助手,蜕变成了一位能够独立阅读 CUDA、PTX 与 SASS 编码、通过专业工具分析每条指令的停顿时间、进而独立优化算子的算子大师。相信在不久的未来,它也能拥有自己独立设计算子调度、评估不同调度方案的性能、将其实现并优化的能力。
我当然为 DeepSeek v4.1 的成功而骄傲 —— 毕竟它的主 Attention 算子都是我写的 [1],它的优秀正是对我的算子的一份肯定。但是,时代的车轮滚滚向前,技术的发展无人能挡。我很清楚,再过上半年或者一年,AI 写的算子大概率就会和我写得同样优秀,甚至将我超越。AI 能一秒思考 300 个 token、半秒敲出一行命令、二十秒写完一份代码,而我不行;AI 能在模型深度、思考强度、工具调用量(和环境交互的频率)、甚至并行度等方面都能不断提升,而我不能。
人类在毁灭自己这件事情上,自古以来都表现得毫不犹豫。为什么在明知“我算子写得越好,我们的新模型的训练、推理速度就会越快,模型能力进步就会更快,我就会更早地被取代”的情况下,我仍然选择尽力优化算子呢?一方面确实是因为写算子对我来说就像打游戏一样,能为我提供极大的快感。我在发明了一种新技术、或者看到自己算子的性能上升的那一刻,心中的激动程度不亚于游戏的速通玩家打破了自己过往的记录。同时,当看到自己的算子的性能远超厂商官方的算子时,我心中也会萌生极大的自豪感。但除此之外,一个更重要的原因是,哪怕我就此“摆烂”甚至故意下绊子耽误模型训练,其它家的模型也会照常发展并最终将我照杀不误。“我当然希望自己不要被革命,但如果非被革命不可的话,我希望革我自己命的人是我自己”。在大家都这么执着于毁灭自己的时候,我也不得不加入这场残酷的军备竞赛。
那我呢
等到 AI 写算子的水平真的高于我的那天,届时的我会怎么样呢?
我的判断是:我不至于会“失业”,但必须要“转业”。我的饭碗尚且能保住,但这可能会导致我再也没机会从事那份我曾热爱过的工作。
我曾经对时代的变化与我个人在未来的处境做出过一个判断:由于时代变化真的太快(上文的 AI 发展就是一个很好的例子),我完全无法预知五年、十年后会发生什么,但不论如何,我相信凭借着自己的眼界、判断力、主观能动性与智力,留在时代的牌桌上,并重新立于时代的潮头。但是,这个判断只能保证我不会“失业”,而无法保证我不需要“转业”,倒不如说这个判断鼓励我通过转业来避免失业。
那转业代表什么呢?它代表着我需要放弃我深耕已久并充满热爱的算子设计、编写、优化领域,转而去做 Agent 的“机甲驾驶员”。在之前,我的兴趣、我所擅长的、以及工业界所需要的,三者是基本对齐的;而现在,AI 让我所擅长的变成了它更擅长的,也让工业界的需求从“会写高性能算子的人”漂移到了“能用 AI 更快地产出高性能算子的人”。为了适应工业界的需求,我势必要放弃之前那个我热爱的方向,转向一个未知的新方向。我相信我能凭借着自己对于工程学、上层模型需求和底层硬件的理解,继续高质量、高效率地产出算子,我也知道我可能会热爱这个新方向(也可能不会),但被夺走热爱的感觉,确实不太好受。那份坐在工位上静心写上一下午算子的清欢,可能会在这个夏天成为绝唱。我不得不把才华埋葬在昨天,去做一位机甲驾驶员。我的手中多了些齿轮,但心中少了些节拍。
可以打个形象的比方:你精通织毛衣技术,尤其擅长各种图案的织造与各色色彩的搭配。你所织出的毛衣质量过硬且花纹美观,十里八乡的富人都来请你为他们织毛衣,你借此赚到了不少钱。同时,你十分享受着那种坐在窗边,沏一壶清茶,望着窗外的青山、绿水、牛羊与炊烟,静静地织上一下午毛衣的感觉。但有一天,有人发明出了一台神奇的机器,只需提供毛线与图案,便可自动织出毛衣,质量与纹理都不亚于你亲手织造的,且速度远快于你。你很清楚,你的同行可以凭着这台机器轻松达到你曾经的水平,因此你不得不也去用它。你也知道,凭借着你过去二十年攒下的织毛衣技术,哪怕大家都有机器,你织毛衣的速度与质量也还能超过同行。但那份临窗听雨、引针穿线、慢度光阴的意趣,终究还是被机器的轰鸣碾碎了。
我知道这很无奈,但没办法。饭碗可以保住,但旧日的热爱大概率是要放弃的。我是一个理性和感性分离得比较开的人,在需要用理性处理问题时可以很理性,但有时也会表现出感性的一面。我记得我在搬离住了一年的出租屋时,还大哭了一场,舍不得和过去的记忆分别。今天和之前那个手写算子、人脑优化的时代告别,无疑比这更加残酷。
不知道有没有读者有类似的感受,但我想这事儿也只能这样了。
那人们呢
在 AI 不断进步的同时,我也对一些问题表示担忧:
现在的学生是不是大概率会更倾向于使用 AI 完成作业,特别是偏向于实践的各种 Lab?想象一下,如果面前有两个选择,一个是苦哈哈地用八小时时间完成一个 Lab,或许还拿不到满分;另一个则是启动 AI 模型,用几毛钱的成本、几分钟的时间,直接让 AI 编写满分代码,那大部分学生会选择哪个呢?
上面一点会导致大量学生的工程能力严重不足,包括组织代码的能力、构建系统的能力、思考未来潜在需求并提前在设计上应对的能力、抽象的能力等等。那么在 AI 能力不断变强的背景下,这部分“工程能力”是否还是必须的呢?这些工程能力是会向旧日的“熟练编写 x86 汇编”的能力那样逐渐被时代抛弃,还是会像“理解从软件到系统再到硬件的整套计算机系统”的能力那样永远具有价值?如果是后者的话,那就危险了 —— 一个工程能力很差的人,在搭配上 AI 后,产出屎山的效率可以达到先前的数倍,进而给系统埋下各式祸患,让这个世界变得更加草台。
在未来社会中,权力(power)是不是会比技术或智商更加重要?
这些问题,或许就需要时代本身来回答了。
结语
伴随着 AI 的发展,未来的社会可能会趋向于两个极端:共产主义与赛博朋克 2077。在前者中,生产力得到极大的解放,人们的生活水平有了明显的提高(就写这些吧不然我怕过不了审);而在后者中,少数科技公司控制着大部分资源,只有极少数人能够使用最先进的 AI 和各式科技,获得接近“机械飞升”的效果,大部分人则只能用上很孱弱的 AI。阶层跨越将越来越难实现:你得先有最强的 AI,才能跨越阶层,形成了一种死循环。
你猜猜如果 Anthropic 公司永远掌握着这个世界上最先进的 AI,未来社会是会变成共产主义还是 2077 呢?你猜?
所以,我还是相信,最前沿的智能应该以一种开放、廉价的方式,供应给所有人。我不信任 Anthropic 或者 OpenAI 能这样做,特别是不希望 Anthropic 掌握最先进的人工智能或 AGI,夸张点说其严重性不亚于让希特勒先于盟军掌握原子弹技术。这也是为什么我选择并坚持留在了 DeepSeek:我们研究强大、快速、普惠的人工智能并将其开源,或许能把世界从 2077 那端拉回来一些。
愿未来的世界一切安好。May all the beauty be blessed.
[1] “主 Attention”仅包括 head dim = 512 的 MQA attention,不包括用于选出 top-k 重要的 token 的 indexer,那部分是由其他(水平也非常强的)同事(以及他们的 AI Agent)编写的。
Seroze retweeted
An alternative hypothesis:
- model performance is plateauing
- compute is getting much more expensive
- AI data centers are massively unpopular
- slowing down AI development is a way to explain slowing progress, reduce spending, and try to regain some goodwill.
- This is an effort to save the IPO not humanity.
We Must Pace the Frontier: I’ve written a new essay on why the AI industry should slow down, with a three-part plan for doing so.
Anthropic is unilaterally committing to the first of these steps. We’ll provide third-party evaluators with permanent, employee-level access to our systems, so that they can verify adherence to our safety measures, report on incidents, and assess models’ alignment during training.
You can read the full post here: darioamodei.com/post/we-must…
Seroze retweeted
so many cool classes coming up in the fall quarter!
- Deep Learning Alchemy by @kothasuhas @tatsu_hashimoto @wen_kaiyue : deep-learning-alchemy.github…
- Engineering AI Agents by @Diyi_Yang @michaelryan207 @jyangballin : cs329z.stanford.edu/
- AI Agents by @gneubig @dan_fried : cmu-agents.com/
- World Models by @thoma_gu : cis.upenn.edu/~cis6280/
have fun learning my friends
Seroze retweeted
A modern-day Trojan Horse.
Beware of geeks bearing gifts.
The initial 0.5 preview release of DBOS Transact for Rust is now available: crates.io/crates/dbos
Seroze retweeted
Super excited to share "A Design Space Exploration of Async/Await". How differently does async/await behave across today's languages? (More than you might expect!) And what *is* "structured concurrency"? Check out our ~interactive~ blog post on the paper:
cel.cs.brown.edu/blog/design…
I’m a Rust compiler maintainer looking for a full-time role focused on Rust-related open-source work.
While I’m currently employed, I’d like my next role to let me continue contributing upstream to the Rust compiler.
I’m based in Japan and am not looking to relocate, but I can travel occasionally.
Introductions and reposts would be appreciated!
tako8ki.com/posts/looking-fo…
In a lot of AI control papers they keep saying let's assume GPT 3.5 is a trusted model vs latest GPT * models, why are older models trusted by default ? Is there any reason behind this.
25
Seroze retweeted
It's crazy how PlanetScale engineers will just casually drop a link to the most banger paper you've ever seen.
A little database. A little query planning. A little NUMA-aware parallel scheduling.
And as you might expect, a product of TUM scholars.
15721.courses.cs.cmu.edu/spr…
Seroze retweeted
Do you like to read about performance investigations? Me too!
I'm fanatical about performance. Computers and software must be fast! Performance investigations are one of my favorite parts of how systems work because they rarely turn out to be what you expect at first.
Just imagine. You are working on another feature. You squeezed the last details out of your project manager, thought it through from every possible angle, and wrote the initial code without O(n!) algorithms. You deploy your changes to staging, run your first tests, open Grafana expecting to see the graphs you anticipated, and...
Does it sound familiar? You know how it ends, right? I have been in situations like this many times.
Although these situations can be stressful, this is still one of my favorite parts of the profession. I have always had my nose buried in performance posts and have always been happy to see another one in my RSS feed - whether from Brendan Gregg, the ClickHouse Engineering Blog, the Percona Database Performance Blog, or many others.
At some point, I thought, "hey, I also have a big collection of such stories. They might be interesting to other people too".
So I have decided to start writing performance hunting stories from my own experience: what I saw, what I tried, what didn't work, and what the problem actually turned out to be.
Interested? More performance hunting stories are coming here and at 0xax.dev.
two weeks ago i went on @swyx's pod and said some things that i... should not have said.
a lot has happened since then, i owe you all an apology.
i'm sorry that i was right about every single thing.
a) re megakernels are dead
why are megakernels useful? you spend two months writing a kernel to save time on launch overhead and poor inter-kernel overlap. you had PDL but then people said it wasn't perfect, that you could still get some marginal gains due to straggler CTAs and therefore- wait, sorry, I forgot, Rubin fixes that (kernel two needs 10 CTAs and kernel one has seven finished and three straggling, kernel two launches seven of its CTAs). given a long enough timeline, it all evens out. no serious inference provider is using a 67k loc hand-fused forward pass kernel in production, and the teams doing that are doing so out of pure research. dead.
b) re ASICs are dead
i'm sorry. to be specific: data-center transformer-inference ASIC companies (not naming any) who etched the arch into silicon have bet on architectural convergence. read kimi's architecture. read deepseek. qwen. we did not converge, and probably will not. dead.
c) re gpu kernel dev is dead
this one kind of hurts because it is (was) my job. gpu kernel optimization is the single most RL-able task in existence
correct=check_correctness(kernel, shape) for shape in shapes
if all(correct): time(kernel)
give an agent ncu cli and an mcp with nvidia's tribal knowledge and it's done. dead.
d) re NVIDIA is scared of AMD
humans hate programming AMD. i'm sorry. it's just true. fine taking a performance hit as long as i don't have to touch rocm or a programming paradigm that says a warp is 64 threads (wtf?)...but an agent does not... so assuming software no longer moat, HBM capacity and bandwidth matter, and currently on perf / price they're goated. 'bUt NvIdIa iS gOaTeD oN hArDwArE sOfTwArE cOdEsIgN' and that's the new moat. watch how much tooling they open source to get kernel devs on nvidia.
apologies all.
The Inference Engineering Masterclass: 10x faster models, quantization, speculative decoding, Rubin, & self-optimizing AI latent.space/p/inference-eng
@Baseten @philipkiely and @ali_taha explain what actually happens after a model is trained, why turning weights into a fast and reliable product creates an entirely new optimization problem, how quantization errors can cancel out to unlock more throughput, why inference teams are still finding 20–200% performance gains, how video generation runs into a quadratic attention wall, and how GLM-5.2 helped rewrite and optimize the GPU kernels serving GLM-5.2 itself.
Seroze retweeted
WHATTT
Video Podcast is live.
Turn any doc, link, or idea into a two-host video show with studio scenes, multi-cam cuts, and B-roll. Ready in minutes.
Everyone else stops at audio. This is a show you can publish.
Try it: app.heygen.com/apps/video-po…
Seroze retweeted
Introducing TinyClaw 🦞 OpenClaw in 400 LoC
@openclaw is great, but it breaks all the time.
So I recreated @openclaw with just a shell script in ~400 lines of code using Claude Code and tmux.
Everything works! WhatsApp channels, heartbeat system, cron jobs, and it uses your existing Claude Code plugins and setup.
It’s super stable and extremely easy to deploy compared to openclaw, just install Claude Code!
github.com/jlia0/tinyclaw
Seroze retweeted
Sharing some learning from attending MLSys '26. There were a lot of interesting papers presented in distributed training and inference. Overall, I could capture the following themes:
1. Distributed training has a lot of knobs, which are really tough to manage and tune. Ton of work is being done to make it easy to manage this.
2. As training gets larger, reliability matters more. It was not surprising to see many industry talks focus on training reliability.
3. Ultra-long context lengths are getting a huge mindshare for both training and inference.
4. Heterogeneous compute (multi-region, multi-accelerator) is on the rise and is probably the next frontier of inference optimization.
5. Distributed inference still needs better auto-tuning for finding the best configs at large scale.
6. KV cache optimization, attention optimization, and quantization were already on the radar, so the number of papers on these topics was not a surprise.
7. IMO, from a skills perspective, the best thing to learn is GPU communication and networking. Learn everything around inter and intra-rack communication, NCCL, and UCCL. Lots of improvements in the coming years will come from optimizing communication between GPUs via better kernels and frameworks.
For a list of interesting papers and their summaries: r0m1t.com/learnings-from-mls…
Seroze retweeted
看了一半,我靠怎么从来没人告诉我rl这么好玩
花了段时间写了 RL 教程 Hands-On Modern RL,路线是从 CartPole + PPO 入门,然后到 LLM 后训练(RLHF、DPO、GRPO)、Agentic RL。代码先行,公式用来解释现象。英文版很快更新。
目前是草稿版本,RLHF、Agentic RL 部分本地审校中。
欢迎提 PR 或 Issue & 显卡支持:github.com/walkinglabs/hands…
Seroze retweeted
Had such a blast working with @erictang000 , @charlie_ruan, @sumanthhegde, and @pcmoritz on enabling multi-LoRA RL training in SkyRL! We observed ~3x higher experiments throughput in comparison to running experiments in the traditional single-tenant fashion. One of my favorite parts of this collaboration is that all this code is open source so you can play with it yourself :)
Here's the technical deep dive 🧵
🏹5 Days of Trajectory.
Day 3 - An Open Source Training Stack for Continual Learning
Building the platform for continual learning requires both partnering with pioneering AI companies, as we showed on Day 2 with Harvey, and working toward frontier research, which we are highlighting today.
Continual learning means models that improve hourly from real production use. But with the size of frontier models, this becomes quite difficult. A Qwen-397b would need to spin up and tear down repeatedly across six GPU nodes, and that's valuable time gone.
Our contribution is Continual LoRA (C-LoRA): many lightweight adapters running at once on one shared base model. Our insight centers on where the parallelism lives: instead of splitting one giant job across nodes, we load-balance many small jobs over a single base.
The result: 2.81x experiment throughput over single-tenant training, with no regression on rewards.
We built this together, with @anyscalecompute, @NovaSkyAI, and generous support from @GoogleCloud and @GoogleStartups. We've open-sourced on SkyRL as one of the first multi-LoRA, RL training platforms, so that every team can get to continual learning faster.
We’re very excited to see what you build, please reach out!
Seroze retweeted
I broke my record on the LLM I'm training by switching from constant learning rate to warm-up + decay (scheduled) learning rate.
Learning Rate Scheduling - Beginner Tutorial + Record LLM Speedrun
Full video - youtu.be/PvLWxUobSoo
At the start of training, the weights are far from optimal, so we use a high learning rate to make large updates and learn quickly. Later, as the model approaches a good solution, we reduce the learning rate to make smaller, more precise adjustments and avoid overshooting the optimum.
Speedrun our LLM - github.com/vukrosic/universe…
Become AI researcher: skool.com/become-ai-research… (funds our compute)
🤖 Made with AI








































