tinygrad will be the next Linux and LLVM. I know, I know, it's very ambitious and ugh…
- User
tinygrad will be the next Linux and LLVM. I know, I know, it's very ambitious and ugh cringe people who say they are writing an operating system and a compiler it's almost blockchain levels of bad. But hear me out.
Linux: In the future, devices like comma's, robot vacuums, home robots, AI pins, etc...will basically only be neural networks. Life doesn't have anything that looks like a CPU core. While there may be a legacy Linux running in a VM to manage all your cloud phoning spyware, the core functionality of the lifelike device is boot to neural network. tinygrad has a hardware abstraction layer, a scheduler, and memory management. It's an operating system.
LLVM: Without CPUs, we can be freed from the tyranny of the halting problem. Neural networks don't have control flow! In fact, they often don't even have indirect loads. This allows much more powerful static reasoning than on any widespread programming paradigm before. Deterministic runtimes, no segfaults, no memory-level exploits. All dataflow.
It's going to be a long journey, but we are going to rewrite more and more pieces of openpilot in tinygrad. The models, the Kalman filters, the params learner, and the controls. It's a restrictive Torch-like programming language that's runs everywhere and is easy to reason about.
Try it today. It's early, but hopefully you can see the pieces coming together. A new (restrictive) paradigm of compute and a way to run it. The operating system, compiler, and programming language of Software 2.0
- Assistant