Rob Wright (@f1fe) header
Rob Wright (@f1fe) profile picture

Husband, father of three, engineer, and geek. Engineering at @Apploi. Member of the @hungercrunch team. War Eagle!

Anderson, SC
Joined March 2007
Photo by Rob Wright (@f1fe)Photo by Rob Wright (@f1fe)Photo by Rob Wright (@f1fe)Photo by Rob Wright (@f1fe)Photo by Rob Wright (@f1fe)Photo by Rob Wright (@f1fe)Photo by Rob Wright (@f1fe)Photo by Rob Wright (@f1fe)Photo by Rob Wright (@f1fe)Photo by Rob Wright (@f1fe)
Auburn did not leave one branch at Toomer's Corner without toilet paper 😭 This looks like a blizzard hit the whole town
181
872
107
11,564
801,382
Alex Golesh on former Auburn TE Philip Lutzenkirchen: "That's a special young man to this program." Golesh says Lutzenkirchen's father spoke to the team this year. He knew about the play in 2010, but hadn't run it before while at South Florida.
8
95
4
1,454
30,900
What a play! @Tpear_8 ➡️ @Bryantwesco19 to put the Tigers ahead! 📺: ESPN2
25
273
29
1,210
547,696
Younghoe Koo, a professional kicker, MISSED the ball on a FG attempt 😬 (via ESPN)
5
8
12
61
23,512
It’s only crazy… until it happens 🦅
31
196
24
1,524
52,256
Today's flyover was a sight to behold 🤯
13
239
13
1,852
50,715
Rob Wright retweeted
Best news all week. This is almost unheard of.
Veteran SEC official Ken Williamson has been permanently suspended from officiating conference games, sources tell Yellowhammer News. The decision to remove the longtime referee comes in the immediate wake of an SEC review of eleven complaints against Williamson and his crew during the Auburn-Georgia game earlier this month. According to sources, nine of those complaints were validated by conference officials. Yellowhammer News’ requests for comment from the Southeastern Conference went unreturned on Tuesday. Auburn’s matchup with Georgia included unusually high-profile penalty calls. Read more here: yellowhammernews.com/report-… #SEC #CollegeFootball #Auburn #Georgia #KenWilliamson
73
72
5
1,503
252,744
Rob Wright retweeted
This is a touchdown. 7 points taken from Auburn.
1,057
1,110
329
9,741
1,387,066
The SEC confirms: Oklahoma’s second quarter touchdown against Auburn should not have counted.
25
24
3
322
8,965
Rob Wright retweeted
And to all, a GOOD night. 🤙 📸 IG/maddiefahlgren
6
88
4
1,477
24,600
A look at Toomer’s Corner following Auburn’s thrilling 53-51 win over Tennessee 🧻 #WarEagle
16
146
13
1,875
57,503
Rob Wright retweeted
It has been a great week … how about we end it with a bang? #BeatBama #RollTearsRoll
5
1
338
6,299
"Is Carson Beck the only holder in College Football that drives a Lamborghini?" – Chris Fowler with an absolutely loaded question there
16
140
6
7,008
331,490
Rob Wright retweeted
The final phase of Super Heavy's landing burn used the three center Raptor engines to precisely steer into catch position
869
4,768
792
31,449
2,150,948
Rob Wright retweeted
Thousands of distinct vehicle and pad criteria had to be met prior to catching the Super Heavy booster. Thanks to the tireless work of SpaceX engineers, we succeeded with catch on our first attempt.
2,178
9,769
1,800
81,571
3,721,620
Rob Wright retweeted
Launch and return are fundamental techniques for Starship’s fully and rapidly reusable design
935
4,159
517
32,377
3,026,793
Nate Bargatze hosting Saturday Night Line and the last thing he screamed into the camera was “Vanderbilt beat Alabama” Might be the most Southern thing to ever happen on SNL. Mighty Nashville of you Nate. Love you bubba. YOU KILLED IT! @natebargatze
31
266
7
8,549
303,890
# explaining llm.c in layman terms Training Large Language Models (LLMs), like ChatGPT, involves a large amount of code and complexity. For example, a typical LLM training project might use the PyTorch deep learning library. PyTorch is quite complex because it implements a very general Tensor abstraction (a way to arrange and manipulate arrays of numbers that hold the parameters and activations of the neural network), a very general Autograd engine for backpropagation (the algorithm that trains the neural network parameters), and a large collection of deep learning layers you may wish to use in your neural network. The PyTorch project is 3,327,184 lines of code in 11,449 files. On top of that, PyTorch is written in Python, which is itself a very high-level language. You have to run the Python interpreter to translate your training code into low-level computer instructions. For example the cPython project that does this translation is 2,437,955 lines of code across 4,306 files. I am deleting all of this complexity and boiling the LLM training down to its bare essentials, speaking directly to the computer in a very low-level language (C), and with no other library dependencies. The only abstraction below this is the assembly code itself. I think people find it surprising that, by comparison to the above, training an LLM like GPT-2 is actually only a ~1000 lines of code in C in a single file. I am achieving this compression by implementing the neural network training algorithm for GPT-2 directly in C. This is difficult because you have to understand the training algorithm in detail, be able to derive all the forward and backward pass of backpropagation for all the layers, and implement all the array indexing calculations very carefully because you don’t have the PyTorch tensor abstraction available. So it’s a very brittle thing to arrange, but once you do, and you verify the correctness by checking agains PyTorch, you’re left with something very simple, small and imo quite beautiful. Okay so why don’t people do this all the time? Number 1: you are giving up a large amount of flexibility. If you want to change your neural network around, in PyTorch you’d be changing maybe one line of code. In llm.c, the change would most likely touch a lot more code, may be a lot more difficult, and require more expertise. E.g. if it’s a new operation, you may have to do some calculus, and write both its forward pass and backward pass for backpropagation, and make sure it is mathematically correct. Number 2: you are giving up speed, at least initially. There is no fully free lunch - you shouldn’t expect state of the art speed in just 1,000 lines. PyTorch does a lot of work in the background to make sure that the neural network is very efficient. Not only do all the Tensor operations very carefully call the most efficient CUDA kernels, but also there is for example torch.compile, which further analyzes and optimizes your neural network and how it could run on your computer most efficiently. Now, in principle, llm.c should be able to call all the same kernels and do it directly. But this requires some more work and attention, and just like in (1), if you change anything about your neural network or the computer you’re running on, you may have to call different kernels, with different parameters, and you may have to make more changes manually. So TLDR: llm.c is a direct implementation of training GPT-2. This implementation turns out to be surprisingly short. No other neural network is supported, only GPT-2, and if you want to change anything about the network, it requires expertise. Luckily, all state of the art LLMs are actually not a very large departure from GPT-2 at all, so this is not as strong of a constraint as you might think. And llm.c has to be additionally tuned and refined, but in principle I think it should be able to almost match (or even outperform, because we get rid of all the overhead?) PyTorch, with not too much more code than where it is today, for most modern LLMs. And why I am working on it? Because it’s fun. It’s also educational, because those 1,000 lines of very simple C are all that is needed, nothing else. It's just a few arrays of numbers and some simple math operations over their elements like + and *. And it might even turn out to be practically useful with some more work that is ongoing.
This post is from an account that no longer exists. Learn more
301
1,165
229
9,487
1,801,802
“The man on the middle cross said I can come.” Gospel gold from Alistair Begg.
19
358
70
1,046
98,680
Rob Wright retweeted
ITS GREAT TO BE AN AUBURN TIGER 🏆 SEC CHAMPION 🏆
2
129
6
1,310
19,538