Documentation

Every teenygrad project, one site.

Guides and generated API reference for the compiler, the vision SDK and the toolchain around them. Written alongside the code, in each project's own repository.

teenygrad.org
vision-rs parking garage demoYOLO26 · Jetson Orin Nano Super

4 books / guides & API reference

  • teenygrad

    The Teenygrad Book

    A high-performance, memory-safe Rust ML training and inference library. Guides, core concepts, and how the pieces fit together.

    Getting Started · Core Concepts · Neural Network Layers · Kernels & Backends · Compiler Internals

    19 chapters

  • teenygrad kernels

    Writing GPU Kernels in Rust

    Write Triton GPU kernels in Rust with teenygrad. Starts at what a kernel is and ends at a fused, measured kernel running inside a model.

    Orientation · Your First Kernel · Real Patterns · Making It Fast · Kernels in a Real Model

    29 chapters

  • vision-rs

    The vision-rs Book

    A high-performance computer vision SDK for Rust, built on teenygrad. Model architecture, training, kernels and deployment.

    Getting Started · Core Concepts · Kernels & Performance · Cross-Compilation & Deployment · Contributing

    14 chapters

  • cargo-teeny

    cargo-teeny

    Cargo commands for the teeny toolchain: install the compiler, cross-compile, package and deploy to a board.

    From the project README