Harvard & ETH Launch TinyTorch: Build a Working ML Framework in Pure Python, 20 Modules, No GPU
lmoroney · x · 2026-10-12
- TinyTorch, a free open-source curriculum from Harvard's CS 249r (now maintained at ETH Zurich), has you build a working ML framework from scratch in pure Python using PyTorch's own API—20 modules spanning tensors to transformers.
- The rationale follows a long tradition: MINIX for Unix, xv6 for OS, Tiger for compilers. Production systems hide internals that only a teaching version can expose.
- Runs on a laptop with 4 GB RAM and no GPU; ships with grading infrastructure universities can adopt for credit, and self-learners can finish it without a compute budget.
- Site: tinytorch.ai, with an official PyTorch blog post by Vijay Janapa Reddi and Andrea Mattia Garavagno.
Related event: Harvard and ETH Launch TinyTorch, a Pure-Python ML Framework(2 posts)→
More from coding & agent
- Dev ships throwaway Postgres for agents: pg19 via pglite on Cloudflare DO over raw TCP — ritakozlov · 2026-11-29
- Product idea: cloud Android VMs and home WiFi proxies to make agents look human — Darpinian · 2026-11-29
- 38 free agent skills distilled from shipping three live AI products — PawelHuryn · 2026-11-29
- Step 5: run evals on synthetic data pre-launch, watch real traces after — PawelHuryn · 2026-11-29
- Break your agent before attackers do: 6 tests mapped to OWASP LLM Top 10 — PawelHuryn · 2026-11-29
- PM shares playbook for shipping 4 customer-facing Claude agents into production — PawelHuryn · 2026-11-29