Commit Graph

250 Commits

Author SHA1 Message Date
kai
81373c5dd7 bug fix user manual account broken 2026-02-27 17:06:38 -05:00
kai
5ae6b3bd5f updated calendar to pull from real cal, account deletions enabled 2026-02-27 01:26:24 -05:00
Vijay Janapa Reddi
85c0cd4c83 Merge branch 'feature/tinytorch-core' into dev 2026-02-22 13:22:37 -05:00
Vijay Janapa Reddi
9ab80d7cc0 fix: replace broken research paper link with arXiv PDF
The GitHub link (github.com/harvard-edge/TinyTorch/blob/main/paper/paper.pdf)
returns 404. Use arxiv.org/pdf/2601.19107 instead.

Fixes harvard-edge/cs249r_book#1198
2026-02-22 12:52:11 -05:00
github-actions[bot]
f655cdfbba chore(tinytorch): bump version to tinytorch-v0.1.9 2026-02-18 00:02:21 +00:00
Vijay Janapa Reddi
850a91adc6 fix(docs): align notebook filenames with tito convention across all docs
Notebooks use short names (tensor.ipynb, not 01_tensor.ipynb) but docs
and Binder postBuild scripts used the prefixed form. This caused broken
Binder links and incorrect paths in troubleshooting guides.

Fixes: harvard-edge/cs249r_book#1176
2026-02-17 18:31:44 -05:00
Vijay Janapa Reddi
336f03e1c0 fix(site): update notebook filename in getting-started guide 2026-02-17 18:19:58 -05:00
Vijay Janapa Reddi
e7f9223680 feat(site): convert all 20 ABOUT.md files to MyST notebooks with computed values
Replace hardcoded numerical values across all module ABOUT.md files with
Python-computed values using myst_nb glue() references. Each file is now a
MyST Markdown Notebook that executes inline code cells to compute memory
sizes, FLOPs, compression ratios, and other quantitative values.

Key changes:
- Add file_format: mystnb frontmatter and code-cell blocks to all 20 files
- All arithmetic (memory calculations, speedups, ratios) now computed inline
- Fix multiple arithmetic errors discovered during conversion
- Enable execute_notebooks: "cache" in PDF config for glue resolution
- Fix jupyter-book version constraint in Makefile
2026-02-17 18:11:31 -05:00
Vijay Janapa Reddi
672eee9618 fix(pdf): cap Mermaid figure sizes and fix nested code fences
Mermaid diagrams were oversized in PDF output. Reduced viewport width
from 800→600 and added LaTeX preamble to cap mermaid figures at
0.75\linewidth. Also fixed 7 admonition blocks across 5 ABOUT.md files
where nested triple-backtick code fences broke the MyST parser, causing
raw markdown to render in PDF output.
2026-02-17 15:15:56 -05:00
Vijay Janapa Reddi
e0f910ae5b style(site): improve navbar responsiveness and version badge layout
- Responsive progressive disclosure: hide date at 1024px, icons-only at 768px
- Add 44px touch targets for mobile nav links
- Restyle version badge with separate number/date spans
- Add link-secondary class for visual hierarchy in navbar
2026-02-17 13:53:26 -05:00
Vijay Janapa Reddi
2b27429892 fix(site): PDF build improvements and community section
- Add npx pre-flight check for Mermaid CLI in PDF build
- Configure mermaid_cmd to use npx (no global install needed)
- Add Unicode box-drawing fallbacks for LaTeX
- Add Community section to PDF table of contents
2026-02-17 13:53:18 -05:00
Vijay Janapa Reddi
9f2cce16d2 fix(docs): update TITO reference docs to match actual CLI commands
- Fix setup flow across all docs (activate.sh → source .venv/bin/activate,
  setup-environment.sh → tito setup)
- Add missing commands to overview (tito setup, system update/reset,
  module list/view/test, milestone test/demo, nbgrader commands)
- Add module list, view, and test sections to modules.md
- Fix phantom AlexNet milestone → XOR Crisis in data.md
- Fix Module 10 name (Normalization → Tokenization) in data.md
- Fix milestones.md prereq check output (missing Module 08)
- Fix troubleshooting.md paths, permission fix, and quick-reference table
2026-02-16 14:30:44 -05:00
Vijay Janapa Reddi
53066bf5af feat(site): add version badge to navbar with auto-update on release
Display version number and release date (e.g., "v0.1.8 · Feb 7, 2026")
next to the "Under Construction" badge in the top nav bar. Version and
date are declared as top-of-file constants in wip-banner.js for easy
CI sed updates. Publish workflow now bumps 6 files instead of 5.
2026-02-16 12:43:09 -05:00
Vijay Janapa Reddi
58a1391431 Merge remote-tracking branch 'origin/dev' into feature/tinytorch-core 2026-02-15 14:09:07 -05:00
Vijay Janapa Reddi
910240a3f6 chore(tinytorch): add VS Code extension and sync module updates
Add the TinyTorch VS Code extension source package and align module code/docs references so APIs, milestones, and progression notes remain consistent across the curriculum.
2026-02-15 14:02:09 -05:00
kai
ed39f89d5a fixed google auth allow iframe, slow index.html 2026-02-13 16:13:53 -05:00
Vijay Janapa Reddi
173f28f88d fix(tinytorch): clean up Windows install fix comments from PR #1169
Polish the contributor's Windows fix with proper comments explaining
the Microsoft Store alias issue and WinError 32 file lock. Move
is_windows check closer to usage site for clarity.
2026-02-13 11:39:28 -05:00
Adil Mubashir Chaudhry
f2975daa67 Fix Windows install issues
- Prefer python over python3 in Git Bash to avoid Microsoft Store alias and incorrect venv paths
- Skip TinyTorch self-reinstall on Windows if already installed (prevents WinError 32 file lock)
2026-02-12 14:47:35 +05:00
kai
f05bb12cb2 updated the iframe login issues 2026-02-10 10:25:11 -05:00
kai
1178d21600 flow with particles as new timeline opening 2026-02-09 17:46:03 -05:00
kai
e95c9d96c7 updating antialiasing ant crawl issue...arxiv 2026-02-09 08:15:18 -05:00
github-actions[bot]
2ac790601e chore(tinytorch): bump version to tinytorch-v0.1.8 2026-02-07 20:55:09 +00:00
Vijay Janapa Reddi
956e7277c8 feat(site): auto-generate team page from .all-contributorsrc
Add generate_team.py script that reads .all-contributorsrc and generates
the team.md page automatically. This keeps the website team page in sync
with the README contributors.

- Add tinytorch/site/scripts/generate_team.py
- Update both deploy workflows to run the script before building
- Contributors added via @all-contributors now appear on the website

The script runs during site build, so team.md stays fresh with each deploy.
2026-02-05 20:25:02 -05:00
kai
0cfebb6f42 index.html comm site with arxiv 2026-02-04 22:23:11 -05:00
Vijay Janapa Reddi
30a267a793 feat(site): add Team page and reorganize Community section
- Add new Team page featuring core staff and contributors
- Vijay Janapa Reddi (Nerdy Professor), Andrea Garavagno (Tech Lead),
  Kari Janapareddi (Chief of Staff), Kai Kleinbard (Web Wizard)
- Display community staff side-by-side with fun role titles
- Move Acknowledgments to separate page for MiniTorch/micrograd credits
- Add contributor generator script for future automation
- Update navigation: Team → Ecosystem → Acknowledgments
2026-02-03 13:41:10 -05:00
Vijay Janapa Reddi
0c7509ff35 feat(site): add embedded PDF slide viewer to all module pages
Replace the slide download card with an inline PDF viewer using PDF.js:
- Change grid layout from 4 cards (2x2) to 3 cards in a row
- Add embedded slide viewer with navigation, zoom, and fullscreen
- Load slides from local _static/slides/ for reliable CORS handling
- Add "· AI-generated" subtitle to match audio card pattern
- Use 🔥 icon consistently across all viewers

Affected: 20 module ABOUT.md files + big-picture.md
2026-02-03 12:06:52 -05:00
github-actions[bot]
8154612fca chore(tinytorch): bump version to tinytorch-v0.1.7 2026-01-29 21:50:01 +00:00
Vijay Janapa Reddi
17d64580d7 fix(site): use external link icon for arXiv Paper link
Changed Paper link from local PDF download to arXiv external link:
- URL: _static/downloads/TinyTorch-Paper.pdf → arxiv.org/abs/2601.19107
- Icon: ↓ (download) → ↗ (external link)
- Added target=_blank to open in new tab
2026-01-29 15:03:43 -05:00
Vijay Janapa Reddi
dc7ff1dfc9 feat(site): link Paper to arXiv instead of local PDF
The paper is now published at arXiv:2601.19107, so link directly
to the abstract page for better discoverability and citation info.
2026-01-28 15:51:36 -05:00
Vijay Janapa Reddi
2b57102cc6 fix: sync version files to v0.1.6 2026-01-27 21:26:37 -05:00
Vijay Janapa Reddi
446993eee6 feat(tinytorch): improve Windows/Git Bash installer support
Improvements based on PR #1105 by @rnjema:
- Add get_platform() function for OS detection
- Use $PYTHON_CMD -m pip for more reliable pip invocation
- Show Windows-specific guidance during installation
- Add text=auto to .gitattributes for cross-platform line endings

Closes #1078

Co-authored-by: rnjema <rnjema@users.noreply.github.com>
2026-01-27 12:51:38 -05:00
Vijay Janapa Reddi
08b7206257 fix: apply pre-commit formatting to tinytorch files
- Remove trailing whitespace in big-picture.md
- Apply bibtex-tidy formatting to paper/references.bib
2026-01-27 08:59:33 -05:00
github-actions[bot]
e33747d7b4 chore(tinytorch): bump version to tinytorch-v0.1.5 2026-01-27 01:50:39 +00:00
Vijay Janapa Reddi
25659dddd4 fix(site): revert Star button to direct GitHub link
Deep linking to #why-github-stars-matter created too many hops.
Direct link to repo root puts Star button immediately visible.
2026-01-26 10:53:09 -05:00
Vijay Janapa Reddi
9dbe3c864c feat(site): link Star button to GitHub stars explanation section
Deep link to #why-github-stars-matter so users see context about
reaching 1M learners by 2030 when clicking the navbar Star button.
2026-01-26 10:49:26 -05:00
Vijay Janapa Reddi
0f67780f5a feat: enable Windows support by default with Git Bash
- CI now runs both Linux and Windows by default (matrix)
- Updated install.sh to detect Windows venv path (Scripts/ vs bin/)
- Added Windows installation instructions to getting-started.md
- Updated troubleshooting guide with Git Bash guidance
- Windows uses Git Bash for cross-platform bash script compatibility
2026-01-26 10:02:27 -05:00
Vijay Janapa Reddi
ce9be8beab fix(docs): update workflow references from tinytorch-ci to tinytorch-validate-dev 2026-01-25 20:07:25 -05:00
Vijay Janapa Reddi
ea3b26116a feat(site): add embedded PDF slide viewer to Big Picture page
- Add PDF.js-based slide viewer with navigation controls
- Include progress bar and keyboard navigation (arrow keys, spacebar)
- Support fullscreen mode via browser API
- Add overview slides PDF to static downloads
- Link download button to GitHub releases for actual download
2026-01-25 16:47:01 -05:00
Vijay Janapa Reddi
4187b0f3d0 docs: add 'Building systems creates irreversible understanding' quote
Adds the core TinyTorch philosophy statement to:
- intro.md: Under 'Why Build Instead of Use?' section
- preface.md: After the 'How to Learn' section guidelines
2026-01-25 15:58:24 -05:00
Vijay Janapa Reddi
9e73f389a5 docs: fix milestone requirements to match implementation
Updates milestone documentation across all site files to match the
actual MILESTONE_SCRIPTS configuration in tito/commands/milestone.py:

- Milestone 01 (Perceptron): requires modules 01-03 (not 01-04)
- Milestone 02 (XOR Crisis): requires modules 01-03 (not 01-02)
- Milestone 05 (Transformers): requires 01-08 + 11-13 (not 01-13)
- Milestone 06 (MLPerf): requires 01-08 + 14-19 (not 01-19)

Also fixes broken link to chapters/milestones.html (directory does not
exist) and corrects path to student notebooks.
2026-01-25 15:33:59 -05:00
Vijay Janapa Reddi
96fbd58d1a style(docs): convert test hierarchy to Mermaid diagram
Replace ASCII art with styled Mermaid flowchart for consistency
with other documentation pages
2026-01-25 15:28:10 -05:00
Vijay Janapa Reddi
e7bdbe9e58 fix: integrate fresh install test into CI pipeline
- Add TINYTORCH_NON_INTERACTIVE env var to install.sh for CI/scripted usage
- Skip interactive prompts when no TTY available or non-interactive mode set
- Add Stage 7 (Fresh Install) to tinytorch-ci.yml
- Remove separate tinytorch-install-test.yml workflow
- Fresh install now gates PRs/merges like other tests
2026-01-25 10:51:04 -05:00
Vijay Janapa Reddi
eea7f690dc feat(tinytorch): single source of truth for version management
- install.sh now fetches version from GitHub tags API instead of hardcoding
- README.md badge uses dynamic shields.io GitHub tag filter
- Add release.sh script for version bumping and tagging workflow

Version is now managed solely in pyproject.toml. Other files read it at
runtime or via GitHub API, eliminating version drift across files.
2026-01-23 14:48:55 -05:00
Vijay Janapa Reddi
71b754037a feat: apply stashed improvements after merge
Key improvements from local development:
- conftest.py: Add package export validation before tests run
- preflight.py: Stricter Tensor import check (fail if None)
- 06_autograd.py: Set requires_grad manually in tests (progressive disclosure)
- 08_training.py, 09_convolutions.py: Add enable_autograd() calls
- install.sh: Environment variable overrides for testing
- nbdev.py: Fix import path for DevExportCommand

Also syncs CI/publish workflows from origin/dev
2026-01-23 13:31:27 -05:00
Vijay Janapa Reddi
65f67c94e6 Merge origin/dev into feature/tinytorch
Resolve conflicts:
- .github/workflows/contributors/generate_main_readme.py: take dev's width_pct parameter
- .vscode/settings.json: keep worktree-specific orange Peacock color
2026-01-23 13:29:17 -05:00
Vijay Janapa Reddi
54f91331af fix(docs): replace non-existent tito src with tito dev export
The `tito src` command was never implemented. All documentation
references have been updated to use the correct commands:

- `tito src export` → `tito dev export`
- `tito src test` → `tito dev test`

Also removed 'src' from developer_commands list in main.py since
it doesn't exist as a registered command.
2026-01-23 13:21:34 -05:00
Vijay Janapa Reddi
8a39107461 docs(toc): add Developer Testing to TITO CLI Reference section
Add testing.md to both web and PDF table of contents.
2026-01-23 13:17:57 -05:00
Vijay Janapa Reddi
77ccc29877 docs(tito): update overview.md with new test commands
- Replace deprecated tito dev validate with tito dev test flags
- Add all test type commands to Developer Commands table
- Update Developer Workflow section with testing examples
- Add link to new Developer Testing Guide
2026-01-23 13:17:51 -05:00
Vijay Janapa Reddi
36dc99055f docs(tito): add comprehensive Developer Testing Guide
New testing.md documentation covers:
- Test hierarchy diagram (inline → unit → integration → e2e → milestone → release)
- Quick reference table for all test flags
- Detailed explanations of each test type
- Module-specific testing with --module flag
- CI/CD integration examples
- Test directory structure reference
- Common workflows for daily/feature/release development
- Troubleshooting section
2026-01-23 13:17:45 -05:00
github-actions[bot]
91d1ab407f chore(tinytorch): bump version to tinytorch-v0.1.4 2026-01-22 17:44:59 +00:00