Five years of tinygrad

The Singularity is nearerThe Singularity is nearer
December 29, 2025 at 05:00 AM

The first commit to tinygrad was October 17, 2020. It’s been almost three years since we raised money. The company is 6 people now. The codebase is 18,935 lines not including tests.

I have spent 5 years of my life working on 18,935 lines, and now many others have put years in as well. And there’s probably 5 more years to go. But this is the right process to compete with NVIDIA.

Only a fool begins by taping out a chip; it’s expensive and not the hard part. Once you have a fully sovereign software stack capable of training SOTA models, the chip is so easy. Note that AMD, Amazon, Tesla, and Groq have taped out fine chips, but only Google and NVIDIA chips have ever been seriously used for training. Because they have the software.

We are finally beginning to tackle LLVM removal, making tinygrad have 0 dependencies (except pure Python) to drive AMD GPUs. We have a frontend, we have a graph compiler, we have runtimes, and we have drivers. This is no longer a toy project, it outperforms PyTorch on many workloads. When this is finished and cleaned up, it’ll be about 20,000 lines. And that’s completely it.

I think a lot of how software is thought about is wrong. All codebases have workarounds for issues in other parts of the codebase. Sometimes you are lucky and these workarounds are clear, but many times they are so deep and structural that you’ll never see them reading the code line by line. I think this is so bad that 98% of lines of software are basically this in some way shape or form. tinygrad is following the Elon process for software.

Make the requirements less dumb. The best part is no part.

Most requirements in software exist to maintain compatibility with other abstractions. Let’s look at an LLM server. The real requirement is that it provide an OpenAI compatible API for quickly running LLMs on GPUs. But when you look at these codebases and what they depend on, they are collectively millions and millions of lines. tinygrad is 1000x smaller.

It’s because each piece of code in that stack isn’t focused on the goal. It’s focused on the other pieces of code. I believe this is the same dysfunction that exists in organizations too.

The tiny corp is a company, but like how fancy chefs will deconstruct dishes, the tiny corp is a deconstructed company. We have almost nothing private, it’s a Discord and GitHub. To fund the operation, we have a computer sales division that makes about $2M revenue a year.

We also have a contract with AMD to get MI350X on MLPerf for Llama 405B training. This was negotiated mostly in public on Twitter.

People get hired by contributing to the repo. It’s a very self directed job, with one meeting a week and a goal of making tinygrad better.

Our mission is to commoditize the petaflop.

Related Articles

Anker’s new AeroFit Pro 2 earbuds are already $30 off

Anker’s new AeroFit Pro 2 earbuds are already $30 off

We saw a ton of cool new products at CES 2026, but not all of them made the cut when it came to deciding what was best of show. One of those products that we nevertheless think holds promise is Anker’s AeroFit Pro 2, which are wireless earbuds that can double as open-ear headphones. You pick the mode you want: wedge them into your ears for better sound enhanced by active noise cancellation, or let them pump out sound near your ears so that you can keep stay tuned into your surroundings. By using the code WSTDA3875US at Anker’s site, you can knock $30 off their $179.99 price. Anker Soundcore AeroFit Pro 2 Where to Buy: $179.99 $149.99 at Anker The AeroFit Pro 2 have an ear hook design, which could make them a great fit for working out. They contain sensors that can determine how you’re wearing them and adjust features accordingly. They can recalibrate the EQ, and in earbud mode, turn on active noise cancellation by way of their six built-in microphones. However, as our announcement post mentioned, I wouldn’t expect ANC that can rival the category’s flagship products from Bose, Sony, or Apple. Other Verge-approved deals for your consideration Donkey Kong Bananza is one of 2025’s best video games and one of the Switch 2’s best titles. Discounts on the game are rare, so if you’ve been considering it, consider hopping over to Walmart or Amazon where you can buy the physical cartridge version for $62.99 instead of $70. Bananza was made by the same development team within Nintendo responsible for Super Mario Odyssey, which should be all the convincing you need to play this fun, surprisingly lengthy 3D platformer. Read our review. Most of the time, the only light that I have going in my office is the Elgato Key Light. It’s bright, its color temperature can be easily dialed in through the mobile or desktop app, and it attaches conveniently to my desk. I use it as bias lighting, aimed diagonally up toward my ceiling to diffuse the lighting evenly in the corner that I work in. If you need a powerful light to illuminate you during video calls, streams, or for any other reason, you can save 23 percent on the Key Light at Amazon, where it costs $138.99 (originally $199.99, but usually around $180 outside of a deal). B&H Photo has it for a dollar more. I see so many disposable hand warmers littered on the streets and sidewalks in NYC during the winter. More people should consider rechargeable hand warmers, like this twin-pack that costs $15.99 (originally $29.99) at Amazon and recharges via USB-C. Once fully charged, each warmer can provide warmth for four to eight hours, depending on the heat setting you choose. The two warmers snap together magnetically when you aren’t using them, and they each have a silicone wrist strap, so they won’t easily go flying out of your pocket.

The VergeJan 9, 2026, 04:04 PM