Skip to content

Releases: harvard-edge/cs249r_book

TinyTorch v0.1.9 - Computed Values, VS Code Extension & Progressive Disclosure

18 Feb 00:19

Choose a tag to compare

TinyTorch v0.1.9

Computed values across all ABOUT.md docs, VS Code extension thin client, progressive disclosure improvements, and community contributions.

✨ New Features

  • Computed Values in ABOUT.md: Converted all 20 module ABOUT.md files to MyST Markdown Notebooks with inline Python-computed values via {glue:text} — eliminates hardcoded arithmetic errors and ensures all numerical claims are always correct
  • VS Code Extension: New thin client architecture over Tito CLI with notebook editor support, build tree, and module explorer
  • Version Badge: Auto-updating version badge in site navbar, refreshed on every release via CI

📖 Content Improvements

  • Progressive Disclosure: Enforced scaffolding across 9 modules — solution blocks decomposed for pedagogical consistency
  • Function Decomposition: Standardized naming conventions and formatting across all 20 modules
  • Module 15 (Quantization): Corrected INT8 zero-point values in quantization docs
  • Module 16 (Compression): Fixed sparsity percentage bugs
  • Module 19 (Benchmarking): Aligned MLPerf box-drawing characters and tree indentation
  • EmbeddingBackward: Moved from Module 06 to Module 11 where it belongs conceptually

🐛 Bug Fixes

  • Windows Install: Fixed install issues on Windows/Git Bash by @adil-mubashir-ch in #1169
  • SocratiQ Typo: Fixed typo in SocratiQ introduction by @BunningsWarehouseOfficial in #1170
  • Google Auth iframe: Fixed Google auth and slow index.html loading by @kai4avaya in #1172
  • Notebook Filenames: Aligned notebook filenames with Tito convention across all docs (fixes #1176 — thanks @sotoblanco)
  • Missing Exports: Added missing #| export directives across 10 modules
  • PDF Build: Capped Mermaid figure sizes and fixed nested code fences for LaTeX output
  • VS Code Extension: Fixed notebooks opening in raw JSON instead of interactive editor

📚 Documentation

  • Updated TITO reference docs to match actual CLI commands
  • Fixed broken paths in CONTRIBUTING.md and INSTRUCTOR.md
  • Added intra-module scaffolding subsection to progressive disclosure paper

🔧 CI/Infrastructure

  • Slide decks download from release during deployment
  • VS Code extension artifacts properly gitignored

👥 Contributors

Thanks to all contributors who made this release possible:

🆕 New Contributors


Full Changelog: tinytorch-v0.1.8...tinytorch-v0.1.9

Website: https://mlsysbook.ai/tinytorch/

TinyTorch v0.1.8 - Content updates and improvements

08 Feb 04:06

Choose a tag to compare

TinyTorch v0.1.8

Content updates, website improvements, and community contributions.

✨ New Features

  • Team Page: Auto-generated team page from .all-contributorsrc with reorganized Community section
  • Slide Viewer: Embedded PDF slide viewer on all module pages for in-browser viewing
  • Milestone Visualization: Step-by-step visualization for milestones by @AndreaMattiaGaravagno in #1151
  • Site-Only Deploy: New workflow option to deploy website without version bump

🐛 Bug Fixes

  • Attention Module: Corrected O(n²) complexity explanation and memory table bug — reported in #1150
  • Activations Module: Fixed misleading GELU hint about 1.702 constant — reported in #1154
  • Activations Module: Expanded GELU explanation with both approximation forms
  • Layers Module: Corrected Xavier/Glorot initialization terminology
  • Tito CLI: Resolved Jupyter kernel mismatch causing ModuleNotFoundError (#1147)
  • Paper Build: Escaped special LaTeX characters breaking PDF build
  • Milestones: Fixed bold cyan frame alignment by @AndreaMattiaGaravagno in #1152
  • Content: Fixed small typo by @minhdang26403 in #1163

📚 Documentation

🔧 CI/Infrastructure

  • Download slide decks from release during deployment
  • Fixed auto-label permissions for fork PRs (#1153)
  • Handle branch names with slashes in fresh install test (#1158)

👥 Contributors

Thanks to all contributors who made this release possible:

🆕 New Contributors


Full Changelog: tinytorch-v0.1.7...tinytorch-v0.1.8

Website: https://mlsysbook.ai/tinytorch/

TinyTorch v0.1.7 - Export Reliability Fix

29 Jan 22:48

Choose a tag to compare

TinyTorch v0.1.7

Critical fix for module exports that were silently failing in CI and some user environments.

🐛 Bug Fixes

  • Export System: Uses nbdev Python API instead of CLI for reliable cross-platform exports
  • Export System: Fixed directory detection when running from tinytorch/ directory
  • Export System: Failures now show full error details for debugging - reported by @lalalostcode in #1146
  • Milestones: Fixed Tensor class passing in MLPerf step functions

✨ Improvements

  • Paper Link: Now links to arXiv with external link icon (↗) instead of download
  • CLI: Invalid commands show helpful error messages

🔧 CI/Infrastructure

  • Renamed Publish (Dev)Preview (Dev) for clearer workflow naming
  • All tests run on all platforms by default
  • Test types aligned with CLI naming (--user-journey)

👥 Contributors

Thanks to all contributors who made this release possible:


Full Changelog: tinytorch-v0.1.6...tinytorch-v0.1.7

Website: https://mlsysbook.ai/tinytorch/

TinyTorch v0.1.6 - Windows/Git Bash Support

27 Jan 18:00

Choose a tag to compare

Windows/Git Bash Support 🪟

The installer script now works on Windows via Git Bash!

Changes

  • Platform detection for OS-specific guidance during installation
  • More reliable pip invocation using $PYTHON_CMD -m pip
  • Cross-platform line endings via .gitattributes
  • Virtual environment activation works correctly on Windows

Contributors

Thanks to the community for Windows support:

Installation

Windows (Git Bash):

curl -sSL mlsysbook.ai/tinytorch/install.sh | bash
cd tinytorch
source .venv/Scripts/activate
tito setup

macOS/Linux:

curl -sSL mlsysbook.ai/tinytorch/install.sh | bash
cd tinytorch
source .venv/bin/activate
tito setup

Full Changelog: https://github.com/harvard-edge/cs249r_book/blob/main/tinytorch/CHANGELOG.md

TinyTorch v0.1.5 - Content updates and improvements

27 Jan 14:00

Choose a tag to compare

TinyTorch v0.1.5

This release includes Windows support, bug fixes, and documentation improvements.

✨ New Features

  • Windows Support: Full Windows compatibility with Git Bash
    • Added PYTHONUTF8 and PYTHONIOENCODING for proper Unicode/emoji handling
    • Windows OS matrix support in CI for progressive testing

🐛 Bug Fixes

  • Activations Module: Fixed Softmax forward pass implementation by @minhdang26403 in #1141
  • Activations Module: Removed unnecessary Sigmoid clipping by @minhdang26403 in #1140
  • Activations Module: Fixed typo and answer render error by @minhdang26403 in #1139
  • Convolutions Module: Fixed computation example (Position 1,1: 8→7) - reported by @ngbolin in #1144
  • Convolutions Module: Fixed pooling example element lists and averages
  • Tensor Module: Fixed matrix multiplication docstring examples
  • Profiling Module: Fixed convolution FLOPs calculation
  • Optimizer: Fixed gradient bug and CI improvements by @profvjreddi in #1136

📝 Documentation

🔧 CI/Infrastructure

  • Windows CI improvements (using windows-2022 for stability)
  • Validate workflow now only runs on dev push, not main
  • Updated workflow references to tinytorch-validate-dev

👥 Contributors

Thanks to all contributors who made this release possible:

🆕 New Contributors


Full Changelog: tinytorch-v0.1.4...tinytorch-v0.1.5

Website: https://mlsysbook.ai/tinytorch/

TinyTorch Lecture Slides v0.1.0

25 Jan 17:51

Choose a tag to compare

Initial release of TinyTorch lecture slides (PDF format) for all 18 modules.

TinyTorch v0.1.4 - Bug fixes and CI improvements

22 Jan 21:04

Choose a tag to compare

🔥 TinyTorch v0.1.4 - Bug Fixes & CI Improvements

Release Date: January 22, 2026

This release fixes test ordering issues and improves CI reliability. Note: v0.1.3 was an internal release that introduced bugs fixed here.

🐛 Bug Fixes

  • Test ordering dependencies - Fixed module tests that could fail when run in different order (Fixes #1127, #1128)
  • Non-interactive mode - Fixed tito dev validate --ci and tito milestone run for CI environments (Fixes #1129)
  • CLI command naming - Tests now use correct command milestone (singular) instead of milestones
  • Path corrections - Fixed module directory (src/ not modules/) and milestone script paths

🔧 CI Improvements

  • Test summary table - CI now shows pass/fail status for each test suite in job summary
  • All tests required - E2E and CLI tests must pass (removed continue-on-error)
  • JUnit XML output - Test results exported for better CI integration

🧪 Test Fixes

  • TransformerBlock: Use ff_dim parameter (not hidden_dim)
  • LayerNorm: Use normalized_shape parameter (not embed_dim)
  • Skip advanced autograd tests not supported in educational version
  • Fix regression test imports to use tinytorch.core.* paths

🛠️ Other Improvements

👥 Contributors

Thanks to the contributors who made this release possible!

📝 Notes

  • No breaking API changes from v0.1.2
  • Recommended update for all users, especially those running CI/CD

Learn More

Full Changelog: tinytorch-v0.1.2...tinytorch-v0.1.4

TinyTorch v0.1.3 - CLI Reorganization

22 Jan 21:07

Choose a tag to compare

⚠️ TinyTorch v0.1.3 - CLI Reorganization

Release Date: January 14, 2026

This release reorganized CLI commands and added new features, but introduced test ordering bugs. Please use v0.1.4 instead.

✨ Features

  • CLI reorganization: Commands restructured for better discoverability
  • Welcome message: New tito bare command shows helpful welcome screen
  • Feedback link: Added feedback link to announcement bar
  • nbgrader docs: Marked as experimental with updated instructor guide

🐛 Bug Fixes (in this release)

  • tito module complete no longer overwrites student notebooks
  • Announcement bar no longer overlaps navbar

⚠️ Known Issues (Fixed in v0.1.4)

  • #1127: Module 05 tests fail due to test ordering dependencies
  • #1128: Module 06 autograd test ordering issue
  • #1129: tito milestone run fails in non-interactive mode

📝 Upgrade Notice

Do not use this version. Please upgrade to v0.1.4 which fixes all known issues.

# Update to latest version
cd tinytorch && git pull origin main

Full Changelog: tinytorch-v0.1.2...tinytorch-v0.1.3

TinyTorch v0.1.2 - Bugfix Release

14 Jan 22:39

Choose a tag to compare

🐛 TinyTorch v0.1.2 - Bugfix Release

Stability improvements and workflow fixes.

🐛 Bug Fixes

  • Workflow ordering: Integration tests now run AFTER export
  • Install script: Now pulls from main branch for stability
  • Announcement bar: Uses relative path for proper loading

📝 Notes

  • No breaking changes from v0.1.1
  • Recommended update for all users

Learn More

TinyTorch v0.1.1 - Versioning, Audio & Polish

14 Jan 22:39

Choose a tag to compare

🚀 TinyTorch v0.1.1 - Versioning, Audio & Polish

Major update with versioning system, educational audio, and extensive polish.

✨ New Features

  • Versioning system: tito --version and tito update commands
  • Audio narrations: Embedded audio players in module ABOUT pages
  • Educational datasets: tinydigits and tinytalks for learning
  • Dismissible announcement bar: Stay informed about updates

🔧 Improvements

  • Module reordering: DataLoader moved to Module 05 for better flow
  • Acceleration/Memoization swap: Better pedagogical ordering (17↔18)
  • Python 3.8+ support: Broader compatibility
  • Progressive disclosure: Stricter import dependencies

🐛 Bug Fixes

  • Fixed requires_grad issue in Linear layer Tensor calls
  • Fixed navbar links from subdirectories
  • SSL certificate verification on macOS
  • Corrected module numbering across codebase

📚 Documentation

  • Standardized ABOUT.md files for all modules
  • Milestone narratives with "aha moments"
  • PDF lab guide improvements

Learn More