
Software developer (to be replaced by AI) and crypto degenerate (I always sell bottom)
Finland
Joined January 2015
- Tweets997
- Following2.2K
- Followers287
- Likes5.4K
panicseller retweeted
Trump 'fired up' about euthanasia of Peanut the squirrel bbc.in/4fu3chB
panicseller retweeted
150 LXPs again? uh yes please.
Linea OG Rush is here with @AcrossProtocol @MendiFinance and @LynexFi!
Explore the new additions to the Linea Ecosystem & complete onchain tasks to WIN 150 LXP! 🤩
Ends June 4th: link.intract.io/LXP
panicseller retweeted
🎯 Complete RetroBridge MultiChain Adventure and Win Up to $300
333 lucky winners will share the rewards pool by using the new Advanced Mode
Complete simple tasks & try out the new Advanced Bridging mode
🔗 Join the Adventure:
retrobridge.io/phases/multic…
🧵...
panicseller retweeted
# 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
panicseller retweeted
Want to get 20 Galxe points every single day + a share of 1000 USDC + an NFT?
Join our latest trading competition, in partnership with @emdx_io!
Users who complete transactions and clock in every day win!
Stack those points+ merits! 🛣️
Link: app.galxe.com/quest/orderlyn…
panicseller retweeted
👀 Week 7 of our regular Rewards Campaign on @Galxe has just launched
💸Participate and earn rewards:
galxe.com/RetroBridge/campai…
panicseller retweeted
✨Linea Adventure by #RetroBridge
Embark on an journey with Linea Adventure by RetroBridge 🚀
Complete simple quests and claim your RetroBridge & Linea Adventure #NFT with a bridging discount utility
retrobridge.io/phases/linea-…
Here's what you need to know
🧵...
panicseller retweeted
☄️ Week 6 of our regular Rewards Campaign on @Galxe has just launched
💵 Participate and earn rewards:
galxe.com/RetroBridge/campai…
panicseller retweeted
1/ WOOFi Pro traders, we have a surprise for you!
We’ve got 6 seriously epic NFTs and 1,000 @Galxe points for you to claim based on your @_WOOFi Pro trading volume 👇 (1/9)
Get yours here: galxe.com/orderlynetwork/cam…
panicseller retweeted
We're happy to announce our latest campaign on @Galxe. Taiko x Blazpay: Mint, Stake, and Play! ⚡️
Check out @BlazpayOfficial's innovative NFT entrypass system and explore new dashboard features. 🎮
🔗 Start your adventure: galxe.com/taiko/campaign/GC8…
Check out what's in store 👇
panicseller retweeted
Our latest campaign 'Exploring Taiko with OKX Wallet' is here! Dive into the Katla testnet with @okxweb3 for a chance to earn points! 🏅
Available now on @Galxe ⚡️
Start your journey here: galxe.com/taiko/campaign/GCJ…
panicseller retweeted
👀 Week 5 of our regular Rewards Campaign on
@Galxe has just launched
🪙 Participate and earn rewards:
galxe.com/RetroBridge/campai…
panicseller retweeted
👀 Week 4 of our regular Rewards Campaign on @Galxe has just launched
💸 Participate and earn rewards:
galxe.com/RetroBridge/campai…
panicseller retweeted
Kudos to the @EnginesOfFury & for the amazing supercharge acceleration from @Chain_GPT🤝
#EnginesofFury💣is a F2P top-down extraction shooter #Web3 game, Building Tirelessly throughout the bear run💪
📣 ChainGPT supercharges @EnginesOfFury as a new acceleration project!
💣 Engines of Fury is a F2P top-down extraction shooter Web3 game.
Highlights:
🎮 AAA Game Dev Team
🎮 Deflationary $FURY Token
🎮 Powerful In-Game NFTs
🎮 Ready-to-Play Alpha Mode (50+K subscriptions)
panicseller retweeted
Replying to @EnginesOfFury
@EnginesOfFury is now getting supercharged by the leading launchpad @Chain_GPT🔥
#EnginesofFury💣is a F2P top-down extraction shooter Web3 game, Building Tirelessly throughout the bear run💪
💎Now is the time for $FURY to lift off🚀
Check some amazing Highlights:
🎮 AAA Game Dev Team
🎮 Deflationary $FURY Token
🎮 Powerful In-Game NFTs
🎮 Ready-to-Play Alpha Mode (50K+ subscriptions)
#IDO Page: pad.chaingpt.org/buy-token/7…
#ChainGPT #EOF #Launchpad #P2E
panicseller retweeted
Limitless is coming soon to @base 🔵
We are the social predictions protocol. Creators can easily configure markets & share them with their community.
Are you ready to earn points, anon? ⏬
panicseller retweeted
🌟 It's Showtime!
Welcome to our exclusive quest in #LineaPark! Dive into a world of excitement, connect, and earn rewards like never before.
🗓 March 5th, 9 AM EST ~ April 2nd, 9 AM EST
🎁 Win free #LineaPark #NFT badges & #LXP
Start now: layer3.xyz/quests/linea-soci…
panicseller retweeted
Over $400K in Worker earnings (just $100K in the last 21 days) in just four short months since launch.
40,000+ Workers in the network and over 3,800 GPU clusters deployed.
AI/ML companies can create clusters of up to tens of thousands of GPUs for both model training AND inferencing.


























