Repository navigation
Speedrun Optimization Writeup #211
evan-conway
started this conversation in
General
Replies: 2 comments 1 reply
|
Here is an Oct blog post that focused on the July-October changes: https://www.lesswrong.com/posts/j3gp8tebQiFJqzBgg/how-the-nanogpt-speedrun-wr-dropped-by-20-in-3-months#fn6qk7h03qtp5. And a Nov one on Muon implementation: https://varunneal.github.io/essays/muon Overall your list looks good. Flex attention was replaced with flash attention 3. Also I want to emphasis that these speed-ups are optimized for this particular scale. If we were hyper-optimizing for the 10B scale we would do different approaches. |
1 reply
|
Writeup is accessible here, I delayed it a bit so I could include some of the recent progress from NanoChat: https://evanjayconway.com/posts/2026/nanogpt-improvements/ Please let me know if you have any feedback! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi, I'm interested in doing an explanatory writeup on some of the optimizations presented here, and wanted to reach out to see if there’s any feedback on what kind of things should be included.
Why: When looking at the list of records in the repository, it can be hard to tell which optimizations gave the greatest improvements, and how to implement those optimizations. This is made particularly difficult by the fact that many of the optimization details are scattered across various PRs and X threads.
Goal: Produce a writeup detailing the major sources of speedups and providing citations for how those optimizations were derived. Ideally, people should be able to read through this and get ideas for making their own model faster.
As I currently see it, there are a few major initial sources of improvement to cover. Together, these should give a speedrun time of around 3.5 minutes. For more details, I have a rough spreadsheet of optimizations here.
Some other possible things to include:
Does this selection look good? I'm interested in hearing what kind of optimizations to include, how they should be grouped together, what details are most important (theory vs code), along with anything else you want to mention.
All reactions