← LibraryLatent Space

George Hotz — Petaflops to the People

Latent Space
✓ Source-grounded

George Hotz argues that the future of AI lies in radical simplicity—reducing the complexity of ML frameworks to a 'RISC' equivalent to unlock true hardware efficiency and accessibility.

Watch the episode

In one sentence

The core of modern ML infrastructure is over-engineered; we must move toward a "Reduced Instruction Set" (RISC) for machine learning to achieve true performance and accessibility.

Why read this (and who it's for)

This conversation is for engineers, researchers, and hardware enthusiasts who feel the current ML stack (PyTorch, XLA, etc.) is becoming a bloated, opaque mess. It explains why "completeness" in software design is often a liability and provides a roadmap for how to build a leaner, more performant ML stack from the ground up. You will learn how to think about ML as a static, predictable computation rather than a dynamic, branching nightmare.

The big idea

George Hotz argues that the current state of machine learning frameworks is analogous to the early days of computer architecture: we have "Complex Instruction Set" (CISC) systems that are bloated and difficult to optimize. He posits that because neural networks are fundamentally static—meaning the sequence of loads, stores, and arithmetic operations remains identical every time a model runs—we don't need the massive overhead of general-purpose computing (like branch predictors or speculative execution).

Hotz's thesis is that by stripping away this unnecessary complexity, we can create a "RISC" for ML. This isn't just about making things "smaller"; it's about making the relationship between the software and the hardware explicit. By simplifying the instruction set, we can generate the fastest possible programs for specific hardware, ensuring that the "petaflops" actually reach the people who need them rather than being lost in layers of abstraction.

Key ideas

The "RISC" of Machine Learning

The Fallacy of "Completeness"

Static Computation vs. Dynamic Branching

The Hardware-Software Co-dependency

The "Tiny Box" Philosophy (Hardware Accessibility)

Frameworks & tools

The RISC-ML Design Principle

To build or evaluate an ML framework, use this checklist to determine if it is over-engineered:

  1. Identify the Static Core: Does the framework acknowledge that neural network operations are static loops?
  2. Remove Branching Overhead: Does the framework rely on dynamic branch predictors or speculative execution for standard ML ops? (If yes, it's over-engineered).
  3. Minimize Instruction Count: Can the operation be expressed in fewer instructions than the current standard?
  4. Explicit Memory Management: Does the framework allow for clear, visible memory access patterns (like debug=2 in TinyGrad)?

The "TinyGrad" Debugging Protocol

Use this to audit the efficiency of your model's execution:

  1. Set graph.1: View the complete graph of all operations.
  2. Set debug=2: Print the exact kernels dispatched to the GPU.
  3. Analyze Flops/Bytes: Check the exact number of flops and memory accesses per kernel.
  4. Identify Redundant Rounds: Look for unnecessary memory round-trips (e.g., reading/writing to memory when a kernel could have held the data).

Memorable examples & stories

The "One-Year Warranty" on Dev Kits

Hotz explains that "dev kits" are just consumer products with a different name. The gatekeeping isn't about the government; it's about whether the product is for you. Lesson: Don't let labels of "research" or "dev" distract from the reality of the product's utility.

The "Kernel Panic" with AMD

Hotz recounts his experience trying to get a pre-release version of ROCm to work, only to find it was riddled with kernel panics. He argues that "dumping source code on GitHub" isn't open source if the issues from 2022 are still there. Lesson: True open source requires active maintenance and a commitment to usability, not just a repository of abandoned code.

The "Humanoid" Robot on a Pole

Hotz describes his "Comma" robot: a camera on a pole with two wheels. It's the simplest possible physical manifestation to turn a robotics problem into a software problem. Lesson: Strip away the mechanical complexity to see if the software actually works.

Key quotes

"Completeness is harmful... it should be avoided." Why it matters: This challenges the standard software engineering goal of "feature-rich" libraries, arguing that for ML, more features often mean less efficiency.

"Neural networks are even better... no loads even depend on X... you do the exact same set of loads, stores, and arithmetic every single time." Why it matters: This is the fundamental technical justification for why we can optimize ML in ways we can't optimize general-purpose software.

"I want to make sure that [ML compute] can't happen structurally... I want to make sure that can't happen." (Regarding nationalization of compute). Why it matters: This explains the underlying "why" of TinyGrad—it's a move toward decentralized, accessible infrastructure.

How to apply it

This week

Ongoing

Common pitfalls

Connects to

If you remember only three things

Internalize it

Fidelity note

Confidence: High. This summary is grounded strictly in the provided transcript. The distinction between "CISC" and "RISC" as applied to ML is a core theme of the conversation. The "Tiny Box" and "RISC-ML" concepts are directly attributed to Hotz's vision for TinyGrad. One nuance: Hotz mentions "mining flop coin" as a potential use case for the "Tiny Box," which is a speculative future application of his hardware.

More from Latent Space