Files
TinyTorch/book/_build/html/learning-timeline.html
Vijay Janapa Reddi c8dc692a09 FEAT: Add interactive learning timeline and clean up website presentation
- Create comprehensive learning timeline page showing 60+ years of ML evolution
- Visual progress timeline from Perceptron (1957) to TinyMLPerf (2025)
- Module progression map with historical context and achievements
- Capability checkpoints tracking system integration
- Clean up emoji usage in TOC for professional presentation
- Add timeline as first item in Getting Started section
- Show students exactly what they'll build at each milestone
- Connect each module to real historical breakthroughs
- Emphasize progression from foundation to production systems
2025-09-26 14:57:44 -04:00

1041 lines
41 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="en" data-content_root="./" >
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Your TinyTorch Journey: From First Neural Network to Modern AI &#8212; TinyTorch</title>
<script data-cfasync="false">
document.documentElement.dataset.mode = localStorage.getItem("mode") || "";
document.documentElement.dataset.theme = localStorage.getItem("theme") || "";
</script>
<!-- Loaded before other Sphinx assets -->
<link href="_static/styles/theme.css?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" />
<link href="_static/styles/bootstrap.css?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" />
<link href="_static/styles/pydata-sphinx-theme.css?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" />
<link href="_static/vendor/fontawesome/6.5.2/css/all.min.css?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.5.2/webfonts/fa-solid-900.woff2" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.5.2/webfonts/fa-brands-400.woff2" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.5.2/webfonts/fa-regular-400.woff2" />
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
<link rel="stylesheet" type="text/css" href="_static/styles/sphinx-book-theme.css?v=eba8b062" />
<link rel="stylesheet" type="text/css" href="_static/togglebutton.css?v=13237357" />
<link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="_static/mystnb.8ecb98da25f57f5357bf6f572d296f466b2cfe2517ffebfabe82451661e28f02.css?v=6644e6bb" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-thebe.css?v=4fa983c6" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />
<link rel="stylesheet" type="text/css" href="_static/custom.css?v=5a689c52" />
<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b" />
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
<script src="_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
<script src="_static/documentation_options.js?v=9eb32ce0"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/clipboard.min.js?v=a7894cd8"></script>
<script src="_static/copybutton.js?v=f281be69"></script>
<script src="_static/scripts/sphinx-book-theme.js?v=887ef09a"></script>
<script>let toggleHintShow = 'Click to show';</script>
<script>let toggleHintHide = 'Click to hide';</script>
<script>let toggleOpenOnPrint = 'true';</script>
<script src="_static/togglebutton.js?v=4a39c7ea"></script>
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
<script src="_static/design-tabs.js?v=f930bc37"></script>
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"; const thebe_selector = ".thebe,.cell"; const thebe_selector_input = "pre"; const thebe_selector_output = ".output, .cell_output"</script>
<script async="async" src="_static/sphinx-thebe.js?v=c100c467"></script>
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"; const thebe_selector = ".thebe,.cell"; const thebe_selector_input = "pre"; const thebe_selector_output = ".output, .cell_output"</script>
<script>DOCUMENTATION_OPTIONS.pagename = 'learning-timeline';</script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Quick Exploration Path" href="usage-paths/quick-exploration.html" />
<link rel="prev" title="TinyTorch: Build Your Own ML Framework from First Principles" href="intro.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
</head>
<body data-bs-spy="scroll" data-bs-target=".bd-toc-nav" data-offset="180" data-bs-root-margin="0px 0px -60%" data-default-mode="">
<div id="pst-skip-link" class="skip-link d-print-none"><a href="#main-content">Skip to main content</a></div>
<div id="pst-scroll-pixel-helper"></div>
<button type="button" class="btn rounded-pill" id="pst-back-to-top">
<i class="fa-solid fa-arrow-up"></i>Back to top</button>
<input type="checkbox"
class="sidebar-toggle"
id="pst-primary-sidebar-checkbox"/>
<label class="overlay overlay-primary" for="pst-primary-sidebar-checkbox"></label>
<input type="checkbox"
class="sidebar-toggle"
id="pst-secondary-sidebar-checkbox"/>
<label class="overlay overlay-secondary" for="pst-secondary-sidebar-checkbox"></label>
<div class="search-button__wrapper">
<div class="search-button__overlay"></div>
<div class="search-button__search-container">
<form class="bd-search d-flex align-items-center"
action="search.html"
method="get">
<i class="fa-solid fa-magnifying-glass"></i>
<input type="search"
class="form-control"
name="q"
id="search-input"
placeholder="Search this book..."
aria-label="Search this book..."
autocomplete="off"
autocorrect="off"
autocapitalize="off"
spellcheck="false"/>
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span>
</form></div>
</div>
<div class="pst-async-banner-revealer d-none">
<aside id="bd-header-version-warning" class="d-none d-print-none" aria-label="Version warning"></aside>
</div>
<header class="bd-header navbar navbar-expand-lg bd-navbar d-print-none">
</header>
<div class="bd-container">
<div class="bd-container__inner bd-page-width">
<div class="bd-sidebar-primary bd-sidebar">
<div class="sidebar-header-items sidebar-primary__section">
</div>
<div class="sidebar-primary-items__start sidebar-primary__section">
<div class="sidebar-primary-item">
<a class="navbar-brand logo" href="intro.html">
<img src="_static/logo.png" class="logo__image only-light" alt="TinyTorch - Home"/>
<script>document.write(`<img src="_static/logo.png" class="logo__image only-dark" alt="TinyTorch - Home"/>`);</script>
</a></div>
<div class="sidebar-primary-item">
<script>
document.write(`
<button class="btn search-button-field search-button__button" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
<i class="fa-solid fa-magnifying-glass"></i>
<span class="search-button__default-text">Search</span>
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span>
</button>
`);
</script></div>
<div class="sidebar-primary-item"><nav class="bd-links bd-docs-nav" aria-label="Main">
<div class="bd-toc-item navbar-nav active">
<ul class="nav bd-sidenav bd-sidenav__home-link">
<li class="toctree-l1">
<a class="reference internal" href="intro.html">
TinyTorch: Build Your Own ML Framework from First Principles
</a>
</li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Getting Started</span></p>
<ul class="current nav bd-sidenav">
<li class="toctree-l1 current active"><a class="current reference internal" href="#">Your Learning Journey</a></li>
<li class="toctree-l1"><a class="reference internal" href="usage-paths/quick-exploration.html">Quick Exploration</a></li>
<li class="toctree-l1"><a class="reference internal" href="usage-paths/serious-development.html">Serious Development</a></li>
<li class="toctree-l1"><a class="reference internal" href="usage-paths/classroom-use.html">Classroom Use</a></li>
<li class="toctree-l1"><a class="reference internal" href="instructor-guide.html">Instructor Guide</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">MLP Era Foundation (1980s)</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="chapters/01-setup.html">1. Setup</a></li>
<li class="toctree-l1"><a class="reference internal" href="chapters/02-tensor.html">2. Tensors</a></li>
<li class="toctree-l1"><a class="reference internal" href="chapters/03-activations.html">3. Activations</a></li>
<li class="toctree-l1"><a class="reference internal" href="chapters/04-layers.html">4. Layers</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">MLP Intelligence (1980s)</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="chapters/05-dense.html">5. Dense Networks</a></li>
<li class="toctree-l1"><a class="reference internal" href="chapters/11-training.html">6. Training</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">CNN Revolution (1989-1998)</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="chapters/06-spatial.html">7. Spatial Convolutions</a></li>
<li class="toctree-l1"><a class="reference internal" href="chapters/08-dataloader.html">8. DataLoader</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Modern Training Systems</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="chapters/09-autograd.html">9. Autograd</a></li>
<li class="toctree-l1"><a class="reference internal" href="chapters/10-optimizers.html">10. Optimizers</a></li>
<li class="toctree-l1"><a class="reference internal" href="chapters/07-attention.html">11. Attention Mechanisms</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Production Systems</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="chapters/12-compression.html">12. Compression</a></li>
<li class="toctree-l1"><a class="reference internal" href="chapters/13-kernels.html">13. Kernels</a></li>
<li class="toctree-l1"><a class="reference internal" href="chapters/14-benchmarking.html">14. Benchmarking</a></li>
<li class="toctree-l1"><a class="reference internal" href="chapters/15-mlops.html">15. MLOps</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Universal Intelligence (2017+)</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="chapters/16-tinygpt.html">16. TinyGPT</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Additional Resources</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="vision.html">TinyTorch Vision</a></li>
<li class="toctree-l1"><a class="reference internal" href="kiss-principle.html">KISS Principle</a></li>
<li class="toctree-l1"><a class="reference internal" href="checkpoint-system.html">Checkpoint System</a></li>
<li class="toctree-l1"><a class="reference internal" href="testing-framework.html">Testing Framework</a></li>
<li class="toctree-l1"><a class="reference internal" href="resources.html">Learning Resources</a></li>
</ul>
</div>
</nav></div>
</div>
<div class="sidebar-primary-items__end sidebar-primary__section">
</div>
<div id="rtd-footer-container"></div>
</div>
<main id="main-content" class="bd-main" role="main">
<div class="sbt-scroll-pixel-helper"></div>
<div class="bd-content">
<div class="bd-article-container">
<div class="bd-header-article d-print-none">
<div class="header-article-items header-article__inner">
<div class="header-article-items__start">
<div class="header-article-item"><button class="sidebar-toggle primary-toggle btn btn-sm" title="Toggle primary sidebar" data-bs-placement="bottom" data-bs-toggle="tooltip">
<span class="fa-solid fa-bars"></span>
</button></div>
</div>
<div class="header-article-items__end">
<div class="header-article-item">
<div class="article-header-buttons">
<div class="dropdown dropdown-source-buttons">
<button class="btn dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false" aria-label="Source repositories">
<i class="fab fa-github"></i>
</button>
<ul class="dropdown-menu">
<li><a href="https://github.com/mlsysbook/TinyTorch" target="_blank"
class="btn btn-sm btn-source-repository-button dropdown-item"
title="Source repository"
data-bs-placement="left" data-bs-toggle="tooltip"
>
<span class="btn__icon-container">
<i class="fab fa-github"></i>
</span>
<span class="btn__text-container">Repository</span>
</a>
</li>
<li><a href="https://github.com/mlsysbook/TinyTorch/edit/main/book/learning-timeline.md" target="_blank"
class="btn btn-sm btn-source-edit-button dropdown-item"
title="Suggest edit"
data-bs-placement="left" data-bs-toggle="tooltip"
>
<span class="btn__icon-container">
<i class="fas fa-pencil-alt"></i>
</span>
<span class="btn__text-container">Suggest edit</span>
</a>
</li>
<li><a href="https://github.com/mlsysbook/TinyTorch/issues/new?title=Issue%20on%20page%20%2Flearning-timeline.html&body=Your%20issue%20content%20here." target="_blank"
class="btn btn-sm btn-source-issues-button dropdown-item"
title="Open an issue"
data-bs-placement="left" data-bs-toggle="tooltip"
>
<span class="btn__icon-container">
<i class="fas fa-lightbulb"></i>
</span>
<span class="btn__text-container">Open issue</span>
</a>
</li>
</ul>
</div>
<div class="dropdown dropdown-download-buttons">
<button class="btn dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false" aria-label="Download this page">
<i class="fas fa-download"></i>
</button>
<ul class="dropdown-menu">
<li><a href="_sources/learning-timeline.md" target="_blank"
class="btn btn-sm btn-download-source-button dropdown-item"
title="Download source file"
data-bs-placement="left" data-bs-toggle="tooltip"
>
<span class="btn__icon-container">
<i class="fas fa-file"></i>
</span>
<span class="btn__text-container">.md</span>
</a>
</li>
<li>
<button onclick="window.print()"
class="btn btn-sm btn-download-pdf-button dropdown-item"
title="Print to PDF"
data-bs-placement="left" data-bs-toggle="tooltip"
>
<span class="btn__icon-container">
<i class="fas fa-file-pdf"></i>
</span>
<span class="btn__text-container">.pdf</span>
</button>
</li>
</ul>
</div>
<button onclick="toggleFullScreen()"
class="btn btn-sm btn-fullscreen-button"
title="Fullscreen mode"
data-bs-placement="bottom" data-bs-toggle="tooltip"
>
<span class="btn__icon-container">
<i class="fas fa-expand"></i>
</span>
</button>
<script>
document.write(`
<button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button" title="light/dark" aria-label="light/dark" data-bs-placement="bottom" data-bs-toggle="tooltip">
<i class="theme-switch fa-solid fa-sun fa-lg" data-mode="light"></i>
<i class="theme-switch fa-solid fa-moon fa-lg" data-mode="dark"></i>
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg" data-mode="auto"></i>
</button>
`);
</script>
<script>
document.write(`
<button class="btn btn-sm pst-navbar-icon search-button search-button__button" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
<i class="fa-solid fa-magnifying-glass fa-lg"></i>
</button>
`);
</script>
<button class="sidebar-toggle secondary-toggle btn btn-sm" title="Toggle secondary sidebar" data-bs-placement="bottom" data-bs-toggle="tooltip">
<span class="fa-solid fa-list"></span>
</button>
</div></div>
</div>
</div>
</div>
<div id="jb-print-docs-body" class="onlyprint">
<h1>Your TinyTorch Journey: From First Neural Network to Modern AI</h1>
<!-- Table of contents -->
<div id="print-main-content">
<div id="jb-print-toc">
<div>
<h2> Contents </h2>
</div>
<nav aria-label="Page">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#visual-progress-timeline">Visual Progress Timeline</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#the-complete-journey-60-years-of-ml-evolution">The Complete Journey: 60+ Years of ML Evolution</a></li>
</ul>
</li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#module-progression-map">Module Progression Map</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#part-i-neural-network-foundations-modules-1-8">Part I: Neural Network Foundations (Modules 1-8)</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#part-ii-computer-vision-modules-9-10">Part II: Computer Vision (Modules 9-10)</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#part-iii-language-models-modules-11-14">Part III: Language Models (Modules 11-14)</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#part-iv-systems-optimization-modules-15-20">Part IV: Systems Optimization (Modules 15-20)</a></li>
</ul>
</li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#capability-checkpoints">Capability Checkpoints</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#historical-achievements-youll-recreate">Historical Achievements Youll Recreate</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#the-perceptron">1957: The Perceptron</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#the-xor-problem">1969: The XOR Problem</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#the-backpropagation-revolution">1986: The Backpropagation Revolution</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#the-cnn-breakthrough">2012: The CNN Breakthrough</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#the-transformer-era">2018: The Transformer Era</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#production-ml-systems">2025: Production ML Systems</a></li>
</ul>
</li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#start-your-journey">Start Your Journey</a></li>
</ul>
</nav>
</div>
</div>
</div>
<div id="searchbox"></div>
<article class="bd-article">
<section id="your-tinytorch-journey-from-first-neural-network-to-modern-ai">
<h1>Your TinyTorch Journey: From First Neural Network to Modern AI<a class="headerlink" href="#your-tinytorch-journey-from-first-neural-network-to-modern-ai" title="Link to this heading">#</a></h1>
<div class="tip admonition">
<p class="admonition-title">Your Learning Timeline</p>
<p>Follow the historical evolution of ML while building every breakthrough yourself. Each milestone represents a real achievement youll accomplish with your own code.</p>
</div>
<section id="visual-progress-timeline">
<h2>Visual Progress Timeline<a class="headerlink" href="#visual-progress-timeline" title="Link to this heading">#</a></h2>
<section id="the-complete-journey-60-years-of-ml-evolution">
<h3>The Complete Journey: 60+ Years of ML Evolution<a class="headerlink" href="#the-complete-journey-60-years-of-ml-evolution" title="Link to this heading">#</a></h3>
<div class="highlight-mermaid notranslate"><div class="highlight"><pre><span></span>timeline
title Your TinyTorch Learning Journey: Building ML History
section Foundation Era
1957 Perceptron : Module 04 Complete
: Build first trainable neural network
: Linear separability breakthrough
1969 XOR Problem : Module 06 Complete
: Solve &quot;impossible&quot; problem
: Discover need for hidden layers
section Backpropagation Revolution
1986 MLP &amp; Backprop : Module 08 Complete
: Train on real MNIST data
: 95%+ accuracy achievement
: Automatic differentiation works!
section Modern Vision
2012 CNN Revolution : Module 10 Complete
: CIFAR-10 CNNs
: 75%+ accuracy on real images
: Spatial feature learning
section Language Era
2018 Transformer/GPT : Module 14 Complete
: Build TinyGPT
: Generate coherent text
: Attention is all you need
section Systems Optimization
2025 TinyMLPerf : Module 20 Complete
: Compete in optimization
: Profile and accelerate
: Production-ready systems
</pre></div>
</div>
</section>
</section>
<section id="module-progression-map">
<h2>Module Progression Map<a class="headerlink" href="#module-progression-map" title="Link to this heading">#</a></h2>
<section id="part-i-neural-network-foundations-modules-1-8">
<h3>Part I: Neural Network Foundations (Modules 1-8)<a class="headerlink" href="#part-i-neural-network-foundations-modules-1-8" title="Link to this heading">#</a></h3>
<p><strong>Timeline: 1957-1986 | 8 weeks</strong></p>
<div class="pst-scrollable-table-container"><table class="table">
<thead>
<tr class="row-odd"><th class="head"><p>Week</p></th>
<th class="head"><p>Module</p></th>
<th class="head"><p>Historical Context</p></th>
<th class="head"><p>What You Build</p></th>
<th class="head"><p>Unlock Achievement</p></th>
</tr>
</thead>
<tbody>
<tr class="row-even"><td><p>1</p></td>
<td><p>Setup</p></td>
<td><p>-</p></td>
<td><p>Development environment</p></td>
<td><p>Ready to begin journey</p></td>
</tr>
<tr class="row-odd"><td><p>2</p></td>
<td><p>Tensor</p></td>
<td><p>Mathematical foundations</p></td>
<td><p>N-dimensional arrays with gradients</p></td>
<td><p>Core data structure</p></td>
</tr>
<tr class="row-even"><td><p>3</p></td>
<td><p>Activations</p></td>
<td><p>Neuron modeling</p></td>
<td><p>ReLU, Sigmoid, Softmax</p></td>
<td><p>Nonlinearity unlocked</p></td>
</tr>
<tr class="row-odd"><td><p>4</p></td>
<td><p>Layers</p></td>
<td><p><strong>1957: Perceptron Era</strong></p></td>
<td><p>Linear layers, Module system</p></td>
<td><p><strong>Build Perceptron!</strong></p></td>
</tr>
<tr class="row-even"><td><p>5</p></td>
<td><p>Losses</p></td>
<td><p>Error measurement</p></td>
<td><p>MSE, CrossEntropy</p></td>
<td><p>Can measure learning</p></td>
</tr>
<tr class="row-odd"><td><p>6</p></td>
<td><p>Autograd</p></td>
<td><p><strong>1969: XOR Problem</strong></p></td>
<td><p>Automatic differentiation</p></td>
<td><p><strong>Solve XOR!</strong></p></td>
</tr>
<tr class="row-even"><td><p>7</p></td>
<td><p>Optimizers</p></td>
<td><p>Gradient descent</p></td>
<td><p>SGD, Adam</p></td>
<td><p>Training acceleration</p></td>
</tr>
<tr class="row-odd"><td><p>8</p></td>
<td><p>Training</p></td>
<td><p><strong>1986: Backprop Revolution</strong></p></td>
<td><p>Complete training loops</p></td>
<td><p><strong>Train MNIST MLP!</strong></p></td>
</tr>
</tbody>
</table>
</div>
<p><strong>Milestone Unlocked</strong>: After Module 8, you can train real neural networks on actual datasets!</p>
</section>
<hr class="docutils" />
<section id="part-ii-computer-vision-modules-9-10">
<h3>Part II: Computer Vision (Modules 9-10)<a class="headerlink" href="#part-ii-computer-vision-modules-9-10" title="Link to this heading">#</a></h3>
<p><strong>Timeline: 2012 CNN Revolution | 2 weeks</strong></p>
<div class="pst-scrollable-table-container"><table class="table">
<thead>
<tr class="row-odd"><th class="head"><p>Week</p></th>
<th class="head"><p>Module</p></th>
<th class="head"><p>Historical Context</p></th>
<th class="head"><p>What You Build</p></th>
<th class="head"><p>Unlock Achievement</p></th>
</tr>
</thead>
<tbody>
<tr class="row-even"><td><p>9</p></td>
<td><p>Spatial</p></td>
<td><p>Convolution breakthrough</p></td>
<td><p>Conv2d, MaxPool2d</p></td>
<td><p>Spatial intelligence</p></td>
</tr>
<tr class="row-odd"><td><p>10</p></td>
<td><p>DataLoader</p></td>
<td><p><strong>2012: AlexNet moment</strong></p></td>
<td><p>Efficient data pipelines</p></td>
<td><p><strong>75%+ CIFAR-10!</strong></p></td>
</tr>
</tbody>
</table>
</div>
<p><strong>Milestone Unlocked</strong>: Modern computer vision with CNNs on real images!</p>
</section>
<hr class="docutils" />
<section id="part-iii-language-models-modules-11-14">
<h3>Part III: Language Models (Modules 11-14)<a class="headerlink" href="#part-iii-language-models-modules-11-14" title="Link to this heading">#</a></h3>
<p><strong>Timeline: 2017-2018 Transformer Era | 4 weeks</strong></p>
<div class="pst-scrollable-table-container"><table class="table">
<thead>
<tr class="row-odd"><th class="head"><p>Week</p></th>
<th class="head"><p>Module</p></th>
<th class="head"><p>Historical Context</p></th>
<th class="head"><p>What You Build</p></th>
<th class="head"><p>Unlock Achievement</p></th>
</tr>
</thead>
<tbody>
<tr class="row-even"><td><p>11</p></td>
<td><p>Tokenization</p></td>
<td><p>Text processing</p></td>
<td><p>Vocabulary building</p></td>
<td><p>Text to numbers</p></td>
</tr>
<tr class="row-odd"><td><p>12</p></td>
<td><p>Embeddings</p></td>
<td><p>Word representations</p></td>
<td><p>Token &amp; positional encoding</p></td>
<td><p>Semantic space</p></td>
</tr>
<tr class="row-even"><td><p>13</p></td>
<td><p>Attention</p></td>
<td><p>Attention mechanism</p></td>
<td><p>Multi-head attention</p></td>
<td><p>Sequence understanding</p></td>
</tr>
<tr class="row-odd"><td><p>14</p></td>
<td><p>Transformers</p></td>
<td><p><strong>2018: GPT Era</strong></p></td>
<td><p>Complete transformer blocks</p></td>
<td><p><strong>TinyGPT works!</strong></p></td>
</tr>
</tbody>
</table>
</div>
<p><strong>Milestone Unlocked</strong>: Generate text with transformers you built from scratch!</p>
</section>
<hr class="docutils" />
<section id="part-iv-systems-optimization-modules-15-20">
<h3>Part IV: Systems Optimization (Modules 15-20)<a class="headerlink" href="#part-iv-systems-optimization-modules-15-20" title="Link to this heading">#</a></h3>
<p><strong>Timeline: Modern ML Engineering | 6 weeks</strong></p>
<div class="pst-scrollable-table-container"><table class="table">
<thead>
<tr class="row-odd"><th class="head"><p>Week</p></th>
<th class="head"><p>Module</p></th>
<th class="head"><p>Historical Context</p></th>
<th class="head"><p>What You Build</p></th>
<th class="head"><p>Unlock Achievement</p></th>
</tr>
</thead>
<tbody>
<tr class="row-even"><td><p>15</p></td>
<td><p>Profiling</p></td>
<td><p>Performance analysis</p></td>
<td><p>Memory &amp; compute profiling</p></td>
<td><p>Find bottlenecks</p></td>
</tr>
<tr class="row-odd"><td><p>16</p></td>
<td><p>Acceleration</p></td>
<td><p>Hardware optimization</p></td>
<td><p>Vectorization, caching</p></td>
<td><p>10x speedups</p></td>
</tr>
<tr class="row-even"><td><p>17</p></td>
<td><p>Quantization</p></td>
<td><p>Model compression</p></td>
<td><p>INT8 inference</p></td>
<td><p>4x memory reduction</p></td>
</tr>
<tr class="row-odd"><td><p>18</p></td>
<td><p>Compression</p></td>
<td><p>Pruning &amp; distillation</p></td>
<td><p>Sparse models</p></td>
<td><p>90% size reduction</p></td>
</tr>
<tr class="row-even"><td><p>19</p></td>
<td><p>Caching</p></td>
<td><p>Memory optimization</p></td>
<td><p>KV-cache for generation</p></td>
<td><p>Faster inference</p></td>
</tr>
<tr class="row-odd"><td><p>20</p></td>
<td><p>Benchmarking</p></td>
<td><p><strong>2025: TinyMLPerf</strong></p></td>
<td><p>Competition framework</p></td>
<td><p><strong>Complete Framework!</strong></p></td>
</tr>
</tbody>
</table>
</div>
<p><strong>Final Achievement</strong>: Production-ready ML systems engineer!</p>
</section>
</section>
<hr class="docutils" />
<section id="capability-checkpoints">
<h2>Capability Checkpoints<a class="headerlink" href="#capability-checkpoints" title="Link to this heading">#</a></h2>
<p>Track your progress through 16 capability milestones:</p>
<div class="note admonition">
<p class="admonition-title">Your Capability Progress</p>
<p>Each checkpoint represents a fundamental ML systems capability youve mastered.</p>
</div>
<div class="pst-scrollable-table-container"><table class="table">
<thead>
<tr class="row-odd"><th class="head"><p>Checkpoint</p></th>
<th class="head"><p>Capability Question</p></th>
<th class="head"><p>Modules Required</p></th>
<th class="head"><p>Status</p></th>
</tr>
</thead>
<tbody>
<tr class="row-even"><td><p>00</p></td>
<td><p>Can I set up my environment?</p></td>
<td><p>01</p></td>
<td><p>⬜ Setup</p></td>
</tr>
<tr class="row-odd"><td><p>01</p></td>
<td><p>Can I manipulate tensors?</p></td>
<td><p>02</p></td>
<td><p>⬜ Foundation</p></td>
</tr>
<tr class="row-even"><td><p>02</p></td>
<td><p>Can I add nonlinearity?</p></td>
<td><p>03</p></td>
<td><p>⬜ Intelligence</p></td>
</tr>
<tr class="row-odd"><td><p>03</p></td>
<td><p>Can I build network layers?</p></td>
<td><p>04</p></td>
<td><p>⬜ Components</p></td>
</tr>
<tr class="row-even"><td><p>04</p></td>
<td><p>Can I measure loss?</p></td>
<td><p>05</p></td>
<td><p>⬜ Networks</p></td>
</tr>
<tr class="row-odd"><td><p>05</p></td>
<td><p>Can I compute gradients?</p></td>
<td><p>06</p></td>
<td><p>⬜ Learning</p></td>
</tr>
<tr class="row-even"><td><p>06</p></td>
<td><p>Can I optimize parameters?</p></td>
<td><p>07</p></td>
<td><p>⬜ Optimization</p></td>
</tr>
<tr class="row-odd"><td><p>07</p></td>
<td><p>Can I train models?</p></td>
<td><p>08</p></td>
<td><p>⬜ Training</p></td>
</tr>
<tr class="row-even"><td><p>08</p></td>
<td><p>Can I process images?</p></td>
<td><p>09</p></td>
<td><p>⬜ Vision</p></td>
</tr>
<tr class="row-odd"><td><p>09</p></td>
<td><p>Can I load data efficiently?</p></td>
<td><p>10</p></td>
<td><p>⬜ Data</p></td>
</tr>
<tr class="row-even"><td><p>10</p></td>
<td><p>Can I process text?</p></td>
<td><p>11</p></td>
<td><p>⬜ Language</p></td>
</tr>
<tr class="row-odd"><td><p>11</p></td>
<td><p>Can I create embeddings?</p></td>
<td><p>12</p></td>
<td><p>⬜ Representation</p></td>
</tr>
<tr class="row-even"><td><p>12</p></td>
<td><p>Can I implement attention?</p></td>
<td><p>13</p></td>
<td><p>⬜ Attention</p></td>
</tr>
<tr class="row-odd"><td><p>13</p></td>
<td><p>Can I build transformers?</p></td>
<td><p>14</p></td>
<td><p>⬜ Architecture</p></td>
</tr>
<tr class="row-even"><td><p>14</p></td>
<td><p>Can I profile performance?</p></td>
<td><p>15-19</p></td>
<td><p>⬜ Systems</p></td>
</tr>
<tr class="row-odd"><td><p>15</p></td>
<td><p>Can I optimize and compete?</p></td>
<td><p>20</p></td>
<td><p>⬜ Mastery</p></td>
</tr>
</tbody>
</table>
</div>
<p>Use <code class="docutils literal notranslate"><span class="pre">tito</span> <span class="pre">checkpoint</span> <span class="pre">status</span></code> to see your real-time progress!</p>
</section>
<hr class="docutils" />
<section id="historical-achievements-youll-recreate">
<h2>Historical Achievements Youll Recreate<a class="headerlink" href="#historical-achievements-youll-recreate" title="Link to this heading">#</a></h2>
<section id="the-perceptron">
<h3>1957: The Perceptron<a class="headerlink" href="#the-perceptron" title="Link to this heading">#</a></h3>
<p><strong>Your Achievement</strong>: Build the first trainable neural network</p>
<ul class="simple">
<li><p>Frank Rosenblatts revolutionary machine</p></li>
<li><p>Proves machines can learn from examples</p></li>
<li><p>Foundation for all modern AI</p></li>
</ul>
</section>
<section id="the-xor-problem">
<h3>1969: The XOR Problem<a class="headerlink" href="#the-xor-problem" title="Link to this heading">#</a></h3>
<p><strong>Your Achievement</strong>: Solve the “impossible” problem</p>
<ul class="simple">
<li><p>Minsky &amp; Paperts challenge that stopped AI research</p></li>
<li><p>Demonstrates need for hidden layers</p></li>
<li><p>Your solution proves multi-layer networks work</p></li>
</ul>
</section>
<section id="the-backpropagation-revolution">
<h3>1986: The Backpropagation Revolution<a class="headerlink" href="#the-backpropagation-revolution" title="Link to this heading">#</a></h3>
<p><strong>Your Achievement</strong>: Train on real handwritten digits</p>
<ul class="simple">
<li><p>Rumelhart, Hinton &amp; Williams unlock deep learning</p></li>
<li><p>95%+ accuracy on MNIST</p></li>
<li><p>Automatic differentiation changes everything</p></li>
</ul>
</section>
<section id="the-cnn-breakthrough">
<h3>2012: The CNN Breakthrough<a class="headerlink" href="#the-cnn-breakthrough" title="Link to this heading">#</a></h3>
<p><strong>Your Achievement</strong>: 75%+ accuracy on CIFAR-10</p>
<ul class="simple">
<li><p>AlexNet moment for computer vision</p></li>
<li><p>Spatial features dominate vision tasks</p></li>
<li><p>Your CNN matches modern baselines</p></li>
</ul>
</section>
<section id="the-transformer-era">
<h3>2018: The Transformer Era<a class="headerlink" href="#the-transformer-era" title="Link to this heading">#</a></h3>
<p><strong>Your Achievement</strong>: Generate text with TinyGPT</p>
<ul class="simple">
<li><p>Attention mechanisms revolutionize NLP</p></li>
<li><p>Universal architecture for all modalities</p></li>
<li><p>Your implementation generates coherent text</p></li>
</ul>
</section>
<section id="production-ml-systems">
<h3>2025: Production ML Systems<a class="headerlink" href="#production-ml-systems" title="Link to this heading">#</a></h3>
<p><strong>Your Achievement</strong>: Complete optimization pipeline</p>
<ul class="simple">
<li><p>Profile, optimize, and deploy</p></li>
<li><p>TinyMLPerf competition framework</p></li>
<li><p>Youre now an ML systems engineer</p></li>
</ul>
</section>
</section>
<hr class="docutils" />
<section id="start-your-journey">
<h2>Start Your Journey<a class="headerlink" href="#start-your-journey" title="Link to this heading">#</a></h2>
<p>Ready to begin? Start with <a class="reference internal" href="chapters/01-setup.html"><span class="std std-doc">Module 01: Setup</span></a> and begin building your own ML framework from scratch!</p>
<div class="tip admonition">
<p class="admonition-title">Track Your Progress</p>
<p>Use the TinyTorch CLI to track your journey:</p>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">tito</span> <span class="pre">checkpoint</span> <span class="pre">status</span></code> - See your capability progress</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">tito</span> <span class="pre">checkpoint</span> <span class="pre">timeline</span></code> - Visualize your learning path</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">tito</span> <span class="pre">module</span> <span class="pre">complete</span> <span class="pre">XX</span></code> - Complete modules and unlock achievements</p></li>
</ul>
</div>
<p><strong>Remember</strong>: Youre not just learning ML - youre recreating 60+ years of breakthroughs with your own hands. Each line of code you write is building toward complete ML systems mastery.</p>
</section>
</section>
<script type="text/x-thebe-config">
{
requestKernel: true,
binderOptions: {
repo: "binder-examples/jupyter-stacks-datascience",
ref: "master",
},
codeMirrorConfig: {
theme: "abcdef",
mode: "python"
},
kernelOptions: {
name: "python3",
path: "./."
},
predefinedOutput: true
}
</script>
<script>kernelName = 'python3'</script>
</article>
<footer class="prev-next-footer d-print-none">
<div class="prev-next-area">
<a class="left-prev"
href="intro.html"
title="previous page">
<i class="fa-solid fa-angle-left"></i>
<div class="prev-next-info">
<p class="prev-next-subtitle">previous</p>
<p class="prev-next-title">TinyTorch: Build Your Own ML Framework from First Principles</p>
</div>
</a>
<a class="right-next"
href="usage-paths/quick-exploration.html"
title="next page">
<div class="prev-next-info">
<p class="prev-next-subtitle">next</p>
<p class="prev-next-title">Quick Exploration Path</p>
</div>
<i class="fa-solid fa-angle-right"></i>
</a>
</div>
</footer>
</div>
<div class="bd-sidebar-secondary bd-toc"><div class="sidebar-secondary-items sidebar-secondary__inner">
<div class="sidebar-secondary-item">
<div class="page-toc tocsection onthispage">
<i class="fa-solid fa-list"></i> Contents
</div>
<nav class="bd-toc-nav page-toc">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#visual-progress-timeline">Visual Progress Timeline</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#the-complete-journey-60-years-of-ml-evolution">The Complete Journey: 60+ Years of ML Evolution</a></li>
</ul>
</li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#module-progression-map">Module Progression Map</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#part-i-neural-network-foundations-modules-1-8">Part I: Neural Network Foundations (Modules 1-8)</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#part-ii-computer-vision-modules-9-10">Part II: Computer Vision (Modules 9-10)</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#part-iii-language-models-modules-11-14">Part III: Language Models (Modules 11-14)</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#part-iv-systems-optimization-modules-15-20">Part IV: Systems Optimization (Modules 15-20)</a></li>
</ul>
</li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#capability-checkpoints">Capability Checkpoints</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#historical-achievements-youll-recreate">Historical Achievements Youll Recreate</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#the-perceptron">1957: The Perceptron</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#the-xor-problem">1969: The XOR Problem</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#the-backpropagation-revolution">1986: The Backpropagation Revolution</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#the-cnn-breakthrough">2012: The CNN Breakthrough</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#the-transformer-era">2018: The Transformer Era</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#production-ml-systems">2025: Production ML Systems</a></li>
</ul>
</li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#start-your-journey">Start Your Journey</a></li>
</ul>
</nav></div>
</div></div>
</div>
<footer class="bd-footer-content">
<div class="bd-footer-content__inner container">
<div class="footer-item">
<p class="component-author">
By Prof. Vijay Janapa Reddi (Harvard University)
</p>
</div>
<div class="footer-item">
<p class="copyright">
© Copyright 2025.
<br/>
</p>
</div>
<div class="footer-item">
</div>
<div class="footer-item">
</div>
</div>
</footer>
</main>
</div>
</div>
<!-- Scripts loaded after <body> so the DOM is not blocked -->
<script src="_static/scripts/bootstrap.js?digest=dfe6caa3a7d634c4db9b"></script>
<script src="_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b"></script>
<footer class="bd-footer">
</footer>
</body>
</html>