mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-05-26 01:28:13 -05:00
1058 lines
50 KiB
HTML
1058 lines
50 KiB
HTML
|
||
<!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>Team Onboarding Guide: TinyTorch for Industry — Tiny🔥Torch</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" />
|
||
<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=afcf7c3c" />
|
||
|
||
<!-- 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 = 'usage-paths/team-onboarding';</script>
|
||
<script src="../_static/ml-timeline.js?v=76e9b3e3"></script>
|
||
<script src="../_static/wip-banner.js?v=5357532b"></script>
|
||
<script src="../_static/marimo-badges.js?v=1e5d2842"></script>
|
||
<script src="../_static/sidebar-link.js?v=404b701b"></script>
|
||
<script src="../_static/hero-carousel.js?v=10341d2a"></script>
|
||
<link rel="icon" href="../_static/favicon.svg"/>
|
||
<link rel="index" title="Index" href="../genindex.html" />
|
||
<link rel="search" title="Search" href="../search.html" />
|
||
<link rel="next" title="🏗 Foundation Tier (Modules 01-07)" href="../tiers/foundation.html" />
|
||
<link rel="prev" title="Teaching Assistant Guide for TinyTorch" href="ta-guide.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-tinytorch.png" class="logo__image only-light" alt="Tiny🔥Torch - Home"/>
|
||
<script>document.write(`<img src="../_static/logo-tinytorch.png" class="logo__image only-dark" alt="Tiny🔥Torch - 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">
|
||
Getting Started
|
||
</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"><a class="reference internal" href="../quickstart-guide.html">Quick Start Guide</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../student-workflow.html">Student Workflow</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="classroom-use.html">For Instructors</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../instructor-guide.html">Instructor Guide</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="ta-guide.html">TA Guide</a></li>
|
||
<li class="toctree-l1 current active"><a class="current reference internal" href="#">Team Onboarding</a></li>
|
||
</ul>
|
||
<p aria-level="2" class="caption" role="heading"><span class="caption-text">🏗 Foundation Tier (01-07)</span></p>
|
||
<ul class="nav bd-sidenav">
|
||
<li class="toctree-l1"><a class="reference internal" href="../tiers/foundation.html">📖 Tier Overview</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../modules/01_tensor_ABOUT.html">01. Tensor</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../modules/02_activations_ABOUT.html">02. Activations</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../modules/03_layers_ABOUT.html">03. Layers</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../modules/04_losses_ABOUT.html">04. Losses</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../modules/05_autograd_ABOUT.html">05. Autograd</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../modules/06_optimizers_ABOUT.html">06. Optimizers</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../modules/07_training_ABOUT.html">07. Training</a></li>
|
||
</ul>
|
||
<p aria-level="2" class="caption" role="heading"><span class="caption-text">🏛️ Architecture Tier (08-13)</span></p>
|
||
<ul class="nav bd-sidenav">
|
||
<li class="toctree-l1"><a class="reference internal" href="../tiers/architecture.html">📖 Tier Overview</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../modules/08_dataloader_ABOUT.html">08. DataLoader</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../modules/09_spatial_ABOUT.html">09. Convolutions</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../modules/10_tokenization_ABOUT.html">10. Tokenization</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../modules/11_embeddings_ABOUT.html">11. Embeddings</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../modules/12_attention_ABOUT.html">12. Attention</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../modules/13_transformers_ABOUT.html">13. Transformers</a></li>
|
||
</ul>
|
||
<p aria-level="2" class="caption" role="heading"><span class="caption-text">⏱️ Optimization Tier (14-19)</span></p>
|
||
<ul class="nav bd-sidenav">
|
||
<li class="toctree-l1"><a class="reference internal" href="../tiers/optimization.html">📖 Tier Overview</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../modules/14_profiling_ABOUT.html">14. Profiling</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../modules/15_quantization_ABOUT.html">15. Quantization</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../modules/16_compression_ABOUT.html">16. Compression</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../modules/17_memoization_ABOUT.html">17. Memoization</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../modules/18_acceleration_ABOUT.html">18. Acceleration</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../modules/19_benchmarking_ABOUT.html">19. Benchmarking</a></li>
|
||
</ul>
|
||
<p aria-level="2" class="caption" role="heading"><span class="caption-text">🏅 Capstone Competition</span></p>
|
||
<ul class="nav bd-sidenav">
|
||
<li class="toctree-l1"><a class="reference internal" href="../tiers/olympics.html">📖 Competition Overview</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../modules/20_capstone_ABOUT.html">20. Torch Olympics</a></li>
|
||
</ul>
|
||
<p aria-level="2" class="caption" role="heading"><span class="caption-text">🧭 Course Orientation</span></p>
|
||
<ul class="nav bd-sidenav">
|
||
<li class="toctree-l1"><a class="reference internal" href="../chapters/00-introduction.html">Course Structure</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../prerequisites.html">Prerequisites & Resources</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../chapters/learning-journey.html">Learning Journey</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../chapters/milestones.html">Historical Milestones</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../faq.html">FAQ</a></li>
|
||
</ul>
|
||
<p aria-level="2" class="caption" role="heading"><span class="caption-text">🛠️ TITO CLI Reference</span></p>
|
||
<ul class="nav bd-sidenav">
|
||
<li class="toctree-l1"><a class="reference internal" href="../tito/overview.html">Command Overview</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../tito/modules.html">Module Workflow</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../tito/milestones.html">Milestone System</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../tito/data.html">Progress & Data</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../tito/troubleshooting.html">Troubleshooting</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../datasets.html">Datasets Guide</a></li>
|
||
</ul>
|
||
<p aria-level="2" class="caption" role="heading"><span class="caption-text">🤝 Community</span></p>
|
||
<ul class="nav bd-sidenav">
|
||
<li class="toctree-l1"><a class="reference internal" href="../community.html">Ecosystem</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../resources.html">Learning Resources</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="../credits.html">Credits & Acknowledgments</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/site/usage-paths/team-onboarding.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%2Fusage-paths/team-onboarding.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/usage-paths/team-onboarding.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>Team Onboarding Guide: TinyTorch for Industry</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="#overview">🎯 Overview</a></li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#use-cases">🚀 Use Cases</a><ul class="nav section-nav flex-column">
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#new-hire-bootcamps-2-3-week-intensive">1. New Hire Bootcamps (2-3 Week Intensive)</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#internal-training-programs-distributed-over-quarters">2. Internal Training Programs (Distributed Over Quarters)</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#debugging-workshops-focused-modules">3. Debugging Workshops (Focused Modules)</a><ul class="nav section-nav flex-column">
|
||
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#autograd-debugging-workshop-module-05">Autograd Debugging Workshop (Module 05)</a></li>
|
||
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#attention-mechanism-workshop-module-12">Attention Mechanism Workshop (Module 12)</a></li>
|
||
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#optimization-workshop-modules-14-19">Optimization Workshop (Modules 14-19)</a></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#deployment-scenarios">🏗️ Deployment Scenarios</a><ul class="nav section-nav flex-column">
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#scenario-1-cloud-based-training-recommended">Scenario 1: Cloud-Based Training (Recommended)</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#scenario-2-local-development-environment">Scenario 2: Local Development Environment</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#scenario-3-hybrid-approach">Scenario 3: Hybrid Approach</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#training-program-templates">📋 Training Program Templates</a><ul class="nav section-nav flex-column">
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#template-1-2-week-intensive-bootcamp">Template 1: 2-Week Intensive Bootcamp</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#template-2-3-month-distributed-program">Template 2: 3-Month Distributed Program</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#learning-outcomes">🎓 Learning Outcomes</a></li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#integration-with-existing-workflows">🔧 Integration with Existing Workflows</a><ul class="nav section-nav flex-column">
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#code-review-integration">Code Review Integration</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#debugging-integration">Debugging Integration</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#architecture-design">Architecture Design</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#success-metrics">📊 Success Metrics</a><ul class="nav section-nav flex-column">
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#individual-metrics">Individual Metrics</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#team-metrics">Team Metrics</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#setup-for-teams">🛠️ Setup for Teams</a><ul class="nav section-nav flex-column">
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#quick-start">Quick Start</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#team-specific-customization">Team-Specific Customization</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#resources">📚 Resources</a></li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#industry-case-studies">💼 Industry Case Studies</a><ul class="nav section-nav flex-column">
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#case-study-1-ml-infrastructure-team">Case Study 1: ML Infrastructure Team</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#case-study-2-research-team">Case Study 2: Research Team</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#case-study-3-production-ml-team">Case Study 3: Production ML Team</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#next-steps">🎯 Next Steps</a></li>
|
||
</ul>
|
||
</nav>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
|
||
<div id="searchbox"></div>
|
||
<article class="bd-article">
|
||
|
||
<section id="team-onboarding-guide-tinytorch-for-industry">
|
||
<h1>Team Onboarding Guide: TinyTorch for Industry<a class="headerlink" href="#team-onboarding-guide-tinytorch-for-industry" title="Link to this heading">#</a></h1>
|
||
<p>Complete guide for using TinyTorch in industry settings: new hire bootcamps, internal training programs, and debugging workshops.</p>
|
||
<section id="overview">
|
||
<h2>🎯 Overview<a class="headerlink" href="#overview" title="Link to this heading">#</a></h2>
|
||
<p>TinyTorch’s <strong>Model 3: Team Onboarding</strong> addresses industry use cases where ML teams want members to understand PyTorch internals. This guide covers deployment scenarios, training structures, and best practices for industry adoption.</p>
|
||
</section>
|
||
<section id="use-cases">
|
||
<h2>🚀 Use Cases<a class="headerlink" href="#use-cases" title="Link to this heading">#</a></h2>
|
||
<section id="new-hire-bootcamps-2-3-week-intensive">
|
||
<h3>1. New Hire Bootcamps (2-3 Week Intensive)<a class="headerlink" href="#new-hire-bootcamps-2-3-week-intensive" title="Link to this heading">#</a></h3>
|
||
<p><strong>Goal</strong>: Rapidly onboard new ML engineers to understand framework internals</p>
|
||
<p><strong>Structure</strong>:</p>
|
||
<ul class="simple">
|
||
<li><p><strong>Week 1</strong>: Foundation Tier (Modules 01-07)</p>
|
||
<ul>
|
||
<li><p>Tensors, autograd, optimizers, training loops</p></li>
|
||
<li><p>Focus: Understanding <code class="docutils literal notranslate"><span class="pre">loss.backward()</span></code> mechanics</p></li>
|
||
</ul>
|
||
</li>
|
||
<li><p><strong>Week 2</strong>: Architecture Tier (Modules 08-13)</p>
|
||
<ul>
|
||
<li><p>CNNs, transformers, attention mechanisms</p></li>
|
||
<li><p>Focus: Production architecture internals</p></li>
|
||
</ul>
|
||
</li>
|
||
<li><p><strong>Week 3</strong>: Optimization Tier (Modules 14-19) OR Capstone</p>
|
||
<ul>
|
||
<li><p>Profiling, quantization, compression</p></li>
|
||
<li><p>Focus: Production optimization techniques</p></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
<p><strong>Schedule</strong>:</p>
|
||
<ul class="simple">
|
||
<li><p>Full-time: 40 hours/week</p></li>
|
||
<li><p>Hands-on coding: 70% of time</p></li>
|
||
<li><p>Systems discussions: 30% of time</p></li>
|
||
<li><p>Daily standups and code reviews</p></li>
|
||
</ul>
|
||
<p><strong>Deliverables</strong>:</p>
|
||
<ul class="simple">
|
||
<li><p>Completed modules with passing tests</p></li>
|
||
<li><p>Capstone project (optional)</p></li>
|
||
<li><p>Technical presentation on framework internals</p></li>
|
||
</ul>
|
||
</section>
|
||
<section id="internal-training-programs-distributed-over-quarters">
|
||
<h3>2. Internal Training Programs (Distributed Over Quarters)<a class="headerlink" href="#internal-training-programs-distributed-over-quarters" title="Link to this heading">#</a></h3>
|
||
<p><strong>Goal</strong>: Deep understanding of ML systems for existing team members</p>
|
||
<p><strong>Structure</strong>:</p>
|
||
<ul class="simple">
|
||
<li><p><strong>Quarter 1</strong>: Foundation (Modules 01-07)</p>
|
||
<ul>
|
||
<li><p>Weekly sessions: 2-3 hours</p></li>
|
||
<li><p>Self-paced module completion</p></li>
|
||
<li><p>Monthly group discussions</p></li>
|
||
</ul>
|
||
</li>
|
||
<li><p><strong>Quarter 2</strong>: Architecture (Modules 08-13)</p>
|
||
<ul>
|
||
<li><p>Weekly sessions: 2-3 hours</p></li>
|
||
<li><p>Architecture deep-dives</p></li>
|
||
<li><p>Production case studies</p></li>
|
||
</ul>
|
||
</li>
|
||
<li><p><strong>Quarter 3</strong>: Optimization (Modules 14-19)</p>
|
||
<ul>
|
||
<li><p>Weekly sessions: 2-3 hours</p></li>
|
||
<li><p>Performance optimization focus</p></li>
|
||
<li><p>Real production optimization projects</p></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
<p><strong>Benefits</strong>:</p>
|
||
<ul class="simple">
|
||
<li><p>Fits into existing work schedules</p></li>
|
||
<li><p>Allows deep learning without intensive time commitment</p></li>
|
||
<li><p>Builds team knowledge gradually</p></li>
|
||
<li><p>Enables peer learning</p></li>
|
||
</ul>
|
||
</section>
|
||
<section id="debugging-workshops-focused-modules">
|
||
<h3>3. Debugging Workshops (Focused Modules)<a class="headerlink" href="#debugging-workshops-focused-modules" title="Link to this heading">#</a></h3>
|
||
<p><strong>Goal</strong>: Targeted understanding of specific framework components</p>
|
||
<p><strong>Common Focus Areas</strong>:</p>
|
||
<section id="autograd-debugging-workshop-module-05">
|
||
<h4>Autograd Debugging Workshop (Module 05)<a class="headerlink" href="#autograd-debugging-workshop-module-05" title="Link to this heading">#</a></h4>
|
||
<ul class="simple">
|
||
<li><p>Understanding gradient flow</p></li>
|
||
<li><p>Debugging gradient issues</p></li>
|
||
<li><p>Computational graph visualization</p></li>
|
||
<li><p><strong>Duration</strong>: 1-2 days</p></li>
|
||
</ul>
|
||
</section>
|
||
<section id="attention-mechanism-workshop-module-12">
|
||
<h4>Attention Mechanism Workshop (Module 12)<a class="headerlink" href="#attention-mechanism-workshop-module-12" title="Link to this heading">#</a></h4>
|
||
<ul class="simple">
|
||
<li><p>Understanding attention internals</p></li>
|
||
<li><p>Debugging attention scaling issues</p></li>
|
||
<li><p>Memory optimization for attention</p></li>
|
||
<li><p><strong>Duration</strong>: 1-2 days</p></li>
|
||
</ul>
|
||
</section>
|
||
<section id="optimization-workshop-modules-14-19">
|
||
<h4>Optimization Workshop (Modules 14-19)<a class="headerlink" href="#optimization-workshop-modules-14-19" title="Link to this heading">#</a></h4>
|
||
<ul class="simple">
|
||
<li><p>Profiling production models</p></li>
|
||
<li><p>Quantization and compression</p></li>
|
||
<li><p>Performance optimization strategies</p></li>
|
||
<li><p><strong>Duration</strong>: 2-3 days</p></li>
|
||
</ul>
|
||
</section>
|
||
</section>
|
||
</section>
|
||
<section id="deployment-scenarios">
|
||
<h2>🏗️ Deployment Scenarios<a class="headerlink" href="#deployment-scenarios" title="Link to this heading">#</a></h2>
|
||
<section id="scenario-1-cloud-based-training-recommended">
|
||
<h3>Scenario 1: Cloud-Based Training (Recommended)<a class="headerlink" href="#scenario-1-cloud-based-training-recommended" title="Link to this heading">#</a></h3>
|
||
<p><strong>Setup</strong>: Google Colab or JupyterHub</p>
|
||
<ul class="simple">
|
||
<li><p>Zero local installation</p></li>
|
||
<li><p>Consistent environment</p></li>
|
||
<li><p>Easy sharing and collaboration</p></li>
|
||
<li><p><strong>Best for</strong>: Large teams, remote workers</p></li>
|
||
</ul>
|
||
<p><strong>Steps</strong>:</p>
|
||
<ol class="arabic simple">
|
||
<li><p>Clone repository to Colab</p></li>
|
||
<li><p>Install dependencies: <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">-e</span> <span class="pre">.</span></code></p></li>
|
||
<li><p>Work through modules</p></li>
|
||
<li><p>Share notebooks via Colab links</p></li>
|
||
</ol>
|
||
</section>
|
||
<section id="scenario-2-local-development-environment">
|
||
<h3>Scenario 2: Local Development Environment<a class="headerlink" href="#scenario-2-local-development-environment" title="Link to this heading">#</a></h3>
|
||
<p><strong>Setup</strong>: Local Python environment</p>
|
||
<ul class="simple">
|
||
<li><p>Full control over environment</p></li>
|
||
<li><p>Better for debugging</p></li>
|
||
<li><p>Offline capability</p></li>
|
||
<li><p><strong>Best for</strong>: Smaller teams, on-site training</p></li>
|
||
</ul>
|
||
<p><strong>Steps</strong>:</p>
|
||
<ol class="arabic simple">
|
||
<li><p>Clone repository locally</p></li>
|
||
<li><p>Set up virtual environment</p></li>
|
||
<li><p>Install: <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">-e</span> <span class="pre">.</span></code></p></li>
|
||
<li><p>Use JupyterLab for development</p></li>
|
||
</ol>
|
||
</section>
|
||
<section id="scenario-3-hybrid-approach">
|
||
<h3>Scenario 3: Hybrid Approach<a class="headerlink" href="#scenario-3-hybrid-approach" title="Link to this heading">#</a></h3>
|
||
<p><strong>Setup</strong>: Colab for learning, local for projects</p>
|
||
<ul class="simple">
|
||
<li><p>Learn in cloud environment</p></li>
|
||
<li><p>Apply locally for projects</p></li>
|
||
<li><p><strong>Best for</strong>: Flexible teams</p></li>
|
||
</ul>
|
||
</section>
|
||
</section>
|
||
<section id="training-program-templates">
|
||
<h2>📋 Training Program Templates<a class="headerlink" href="#training-program-templates" title="Link to this heading">#</a></h2>
|
||
<section id="template-1-2-week-intensive-bootcamp">
|
||
<h3>Template 1: 2-Week Intensive Bootcamp<a class="headerlink" href="#template-1-2-week-intensive-bootcamp" title="Link to this heading">#</a></h3>
|
||
<p><strong>Week 1: Foundation</strong></p>
|
||
<ul class="simple">
|
||
<li><p>Day 1-2: Modules 01-02 (Tensor, Activations)</p></li>
|
||
<li><p>Day 3-4: Modules 03-04 (Layers, Losses)</p></li>
|
||
<li><p>Day 5: Module 05 (Autograd) - Full day focus</p></li>
|
||
<li><p>Weekend: Review and practice</p></li>
|
||
</ul>
|
||
<p><strong>Week 2: Architecture + Optimization</strong></p>
|
||
<ul class="simple">
|
||
<li><p>Day 1-2: Modules 08-09 (DataLoader, CNNs)</p></li>
|
||
<li><p>Day 3: Module 12 (Attention)</p></li>
|
||
<li><p>Day 4-5: Modules 14-15 (Profiling, Quantization)</p></li>
|
||
<li><p>Final: Capstone project presentation</p></li>
|
||
</ul>
|
||
</section>
|
||
<section id="template-2-3-month-distributed-program">
|
||
<h3>Template 2: 3-Month Distributed Program<a class="headerlink" href="#template-2-3-month-distributed-program" title="Link to this heading">#</a></h3>
|
||
<p><strong>Month 1: Foundation</strong></p>
|
||
<ul class="simple">
|
||
<li><p>Week 1: Modules 01-02</p></li>
|
||
<li><p>Week 2: Modules 03-04</p></li>
|
||
<li><p>Week 3: Module 05 (Autograd)</p></li>
|
||
<li><p>Week 4: Modules 06-07 (Optimizers, Training)</p></li>
|
||
</ul>
|
||
<p><strong>Month 2: Architecture</strong></p>
|
||
<ul class="simple">
|
||
<li><p>Week 1: Modules 08-09</p></li>
|
||
<li><p>Week 2: Modules 10-11</p></li>
|
||
<li><p>Week 3: Modules 12-13</p></li>
|
||
<li><p>Week 4: Integration project</p></li>
|
||
</ul>
|
||
<p><strong>Month 3: Optimization</strong></p>
|
||
<ul class="simple">
|
||
<li><p>Week 1: Modules 14-15</p></li>
|
||
<li><p>Week 2: Modules 16-17</p></li>
|
||
<li><p>Week 3: Modules 18-19</p></li>
|
||
<li><p>Week 4: Capstone optimization project</p></li>
|
||
</ul>
|
||
</section>
|
||
</section>
|
||
<section id="learning-outcomes">
|
||
<h2>🎓 Learning Outcomes<a class="headerlink" href="#learning-outcomes" title="Link to this heading">#</a></h2>
|
||
<p>After completing TinyTorch onboarding, team members will:</p>
|
||
<ol class="arabic simple">
|
||
<li><p><strong>Understand Framework Internals</strong></p>
|
||
<ul class="simple">
|
||
<li><p>How autograd works</p></li>
|
||
<li><p>Memory allocation patterns</p></li>
|
||
<li><p>Optimization trade-offs</p></li>
|
||
</ul>
|
||
</li>
|
||
<li><p><strong>Debug Production Issues</strong></p>
|
||
<ul class="simple">
|
||
<li><p>Gradient flow problems</p></li>
|
||
<li><p>Memory bottlenecks</p></li>
|
||
<li><p>Performance issues</p></li>
|
||
</ul>
|
||
</li>
|
||
<li><p><strong>Make Informed Decisions</strong></p>
|
||
<ul class="simple">
|
||
<li><p>Optimizer selection</p></li>
|
||
<li><p>Architecture choices</p></li>
|
||
<li><p>Deployment strategies</p></li>
|
||
</ul>
|
||
</li>
|
||
<li><p><strong>Read Production Code</strong></p>
|
||
<ul class="simple">
|
||
<li><p>Understand PyTorch source</p></li>
|
||
<li><p>Navigate framework codebases</p></li>
|
||
<li><p>Contribute to ML infrastructure</p></li>
|
||
</ul>
|
||
</li>
|
||
</ol>
|
||
</section>
|
||
<section id="integration-with-existing-workflows">
|
||
<h2>🔧 Integration with Existing Workflows<a class="headerlink" href="#integration-with-existing-workflows" title="Link to this heading">#</a></h2>
|
||
<section id="code-review-integration">
|
||
<h3>Code Review Integration<a class="headerlink" href="#code-review-integration" title="Link to this heading">#</a></h3>
|
||
<ul class="simple">
|
||
<li><p>Review production code with TinyTorch knowledge</p></li>
|
||
<li><p>Identify framework internals in production code</p></li>
|
||
<li><p>Suggest optimizations based on systems understanding</p></li>
|
||
</ul>
|
||
</section>
|
||
<section id="debugging-integration">
|
||
<h3>Debugging Integration<a class="headerlink" href="#debugging-integration" title="Link to this heading">#</a></h3>
|
||
<ul class="simple">
|
||
<li><p>Apply TinyTorch debugging strategies to production issues</p></li>
|
||
<li><p>Use systems thinking for troubleshooting</p></li>
|
||
<li><p>Profile production models using TinyTorch techniques</p></li>
|
||
</ul>
|
||
</section>
|
||
<section id="architecture-design">
|
||
<h3>Architecture Design<a class="headerlink" href="#architecture-design" title="Link to this heading">#</a></h3>
|
||
<ul class="simple">
|
||
<li><p>Design new models with systems awareness</p></li>
|
||
<li><p>Consider memory and performance from the start</p></li>
|
||
<li><p>Make informed trade-offs</p></li>
|
||
</ul>
|
||
</section>
|
||
</section>
|
||
<section id="success-metrics">
|
||
<h2>📊 Success Metrics<a class="headerlink" href="#success-metrics" title="Link to this heading">#</a></h2>
|
||
<section id="individual-metrics">
|
||
<h3>Individual Metrics<a class="headerlink" href="#individual-metrics" title="Link to this heading">#</a></h3>
|
||
<ul class="simple">
|
||
<li><p>Module completion rate</p></li>
|
||
<li><p>Test passing rate</p></li>
|
||
<li><p>Capstone project quality</p></li>
|
||
<li><p>Self-reported confidence increase</p></li>
|
||
</ul>
|
||
</section>
|
||
<section id="team-metrics">
|
||
<h3>Team Metrics<a class="headerlink" href="#team-metrics" title="Link to this heading">#</a></h3>
|
||
<ul class="simple">
|
||
<li><p>Reduced debugging time</p></li>
|
||
<li><p>Fewer production incidents</p></li>
|
||
<li><p>Improved code review quality</p></li>
|
||
<li><p>Better architecture decisions</p></li>
|
||
</ul>
|
||
</section>
|
||
</section>
|
||
<section id="setup-for-teams">
|
||
<h2>🛠️ Setup for Teams<a class="headerlink" href="#setup-for-teams" title="Link to this heading">#</a></h2>
|
||
<section id="quick-start">
|
||
<h3>Quick Start<a class="headerlink" href="#quick-start" title="Link to this heading">#</a></h3>
|
||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="c1"># 1. Clone repository</span>
|
||
git<span class="w"> </span>clone<span class="w"> </span>https://github.com/mlsysbook/TinyTorch.git
|
||
<span class="nb">cd</span><span class="w"> </span>TinyTorch
|
||
|
||
<span class="c1"># 2. Set up environment</span>
|
||
python<span class="w"> </span>-m<span class="w"> </span>venv<span class="w"> </span>.venv
|
||
<span class="nb">source</span><span class="w"> </span>.venv/bin/activate<span class="w"> </span><span class="c1"># Windows: .venv\Scripts\activate</span>
|
||
|
||
<span class="c1"># 3. Install dependencies</span>
|
||
pip<span class="w"> </span>install<span class="w"> </span>-r<span class="w"> </span>requirements.txt
|
||
pip<span class="w"> </span>install<span class="w"> </span>-e<span class="w"> </span>.
|
||
|
||
<span class="c1"># 4. Verify setup</span>
|
||
tito<span class="w"> </span>system<span class="w"> </span>doctor
|
||
|
||
<span class="c1"># 5. Start with Module 01</span>
|
||
tito<span class="w"> </span>view<span class="w"> </span>01_tensor
|
||
</pre></div>
|
||
</div>
|
||
</section>
|
||
<section id="team-specific-customization">
|
||
<h3>Team-Specific Customization<a class="headerlink" href="#team-specific-customization" title="Link to this heading">#</a></h3>
|
||
<ul class="simple">
|
||
<li><p><strong>Custom datasets</strong>: Replace with company-specific data</p></li>
|
||
<li><p><strong>Domain modules</strong>: Add modules for specific use cases</p></li>
|
||
<li><p><strong>Integration</strong>: Connect to company ML infrastructure</p></li>
|
||
<li><p><strong>Assessment</strong>: Customize grading for team needs</p></li>
|
||
</ul>
|
||
</section>
|
||
</section>
|
||
<section id="resources">
|
||
<h2>📚 Resources<a class="headerlink" href="#resources" title="Link to this heading">#</a></h2>
|
||
<ul class="simple">
|
||
<li><p><strong>Student Quickstart</strong>: <code class="docutils literal notranslate"><span class="pre">docs/STUDENT_QUICKSTART.md</span></code></p></li>
|
||
<li><p><strong>Instructor Guide</strong>: <code class="docutils literal notranslate"><span class="pre">INSTRUCTOR.md</span></code> (for training leads)</p></li>
|
||
<li><p><strong>TA Guide</strong>: <code class="docutils literal notranslate"><span class="pre">TA_GUIDE.md</span></code> (for support staff)</p></li>
|
||
<li><p><strong>Module Documentation</strong>: <code class="docutils literal notranslate"><span class="pre">modules/*/ABOUT.md</span></code></p></li>
|
||
</ul>
|
||
</section>
|
||
<section id="industry-case-studies">
|
||
<h2>💼 Industry Case Studies<a class="headerlink" href="#industry-case-studies" title="Link to this heading">#</a></h2>
|
||
<section id="case-study-1-ml-infrastructure-team">
|
||
<h3>Case Study 1: ML Infrastructure Team<a class="headerlink" href="#case-study-1-ml-infrastructure-team" title="Link to this heading">#</a></h3>
|
||
<p><strong>Challenge</strong>: Team members could use PyTorch but couldn’t debug framework issues
|
||
<strong>Solution</strong>: 2-week intensive bootcamp focusing on autograd and optimization
|
||
<strong>Result</strong>: 50% reduction in debugging time, better architecture decisions</p>
|
||
</section>
|
||
<section id="case-study-2-research-team">
|
||
<h3>Case Study 2: Research Team<a class="headerlink" href="#case-study-2-research-team" title="Link to this heading">#</a></h3>
|
||
<p><strong>Challenge</strong>: Researchers needed to understand transformer internals
|
||
<strong>Solution</strong>: Focused workshop on Modules 12-13 (Attention, Transformers)
|
||
<strong>Result</strong>: Improved model designs, better understanding of scaling</p>
|
||
</section>
|
||
<section id="case-study-3-production-ml-team">
|
||
<h3>Case Study 3: Production ML Team<a class="headerlink" href="#case-study-3-production-ml-team" title="Link to this heading">#</a></h3>
|
||
<p><strong>Challenge</strong>: Team needed optimization skills for deployment
|
||
<strong>Solution</strong>: 3-month program focusing on Optimization Tier (Modules 14-19)
|
||
<strong>Result</strong>: 4x model compression, 10x speedup on production models</p>
|
||
</section>
|
||
</section>
|
||
<section id="next-steps">
|
||
<h2>🎯 Next Steps<a class="headerlink" href="#next-steps" title="Link to this heading">#</a></h2>
|
||
<ol class="arabic simple">
|
||
<li><p><strong>Choose deployment model</strong>: Bootcamp, distributed, or workshop</p></li>
|
||
<li><p><strong>Set up environment</strong>: Cloud (Colab) or local</p></li>
|
||
<li><p><strong>Select modules</strong>: Full curriculum or focused selection</p></li>
|
||
<li><p><strong>Schedule training</strong>: Intensive or distributed</p></li>
|
||
<li><p><strong>Track progress</strong>: Use checkpoint system or custom metrics</p></li>
|
||
</ol>
|
||
<hr class="docutils" />
|
||
<p><strong>For Questions</strong>: See <code class="docutils literal notranslate"><span class="pre">INSTRUCTOR.md</span></code> or contact TinyTorch maintainers</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: "./usage-paths"
|
||
},
|
||
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="ta-guide.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">Teaching Assistant Guide for TinyTorch</p>
|
||
</div>
|
||
</a>
|
||
<a class="right-next"
|
||
href="../tiers/foundation.html"
|
||
title="next page">
|
||
<div class="prev-next-info">
|
||
<p class="prev-next-subtitle">next</p>
|
||
<p class="prev-next-title">🏗 Foundation Tier (Modules 01-07)</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="#overview">🎯 Overview</a></li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#use-cases">🚀 Use Cases</a><ul class="nav section-nav flex-column">
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#new-hire-bootcamps-2-3-week-intensive">1. New Hire Bootcamps (2-3 Week Intensive)</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#internal-training-programs-distributed-over-quarters">2. Internal Training Programs (Distributed Over Quarters)</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#debugging-workshops-focused-modules">3. Debugging Workshops (Focused Modules)</a><ul class="nav section-nav flex-column">
|
||
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#autograd-debugging-workshop-module-05">Autograd Debugging Workshop (Module 05)</a></li>
|
||
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#attention-mechanism-workshop-module-12">Attention Mechanism Workshop (Module 12)</a></li>
|
||
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#optimization-workshop-modules-14-19">Optimization Workshop (Modules 14-19)</a></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#deployment-scenarios">🏗️ Deployment Scenarios</a><ul class="nav section-nav flex-column">
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#scenario-1-cloud-based-training-recommended">Scenario 1: Cloud-Based Training (Recommended)</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#scenario-2-local-development-environment">Scenario 2: Local Development Environment</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#scenario-3-hybrid-approach">Scenario 3: Hybrid Approach</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#training-program-templates">📋 Training Program Templates</a><ul class="nav section-nav flex-column">
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#template-1-2-week-intensive-bootcamp">Template 1: 2-Week Intensive Bootcamp</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#template-2-3-month-distributed-program">Template 2: 3-Month Distributed Program</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#learning-outcomes">🎓 Learning Outcomes</a></li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#integration-with-existing-workflows">🔧 Integration with Existing Workflows</a><ul class="nav section-nav flex-column">
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#code-review-integration">Code Review Integration</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#debugging-integration">Debugging Integration</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#architecture-design">Architecture Design</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#success-metrics">📊 Success Metrics</a><ul class="nav section-nav flex-column">
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#individual-metrics">Individual Metrics</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#team-metrics">Team Metrics</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#setup-for-teams">🛠️ Setup for Teams</a><ul class="nav section-nav flex-column">
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#quick-start">Quick Start</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#team-specific-customization">Team-Specific Customization</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#resources">📚 Resources</a></li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#industry-case-studies">💼 Industry Case Studies</a><ul class="nav section-nav flex-column">
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#case-study-1-ml-infrastructure-team">Case Study 1: ML Infrastructure Team</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#case-study-2-research-team">Case Study 2: Research Team</a></li>
|
||
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#case-study-3-production-ml-team">Case Study 3: Production ML Team</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#next-steps">🎯 Next Steps</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> |