Commit Graph

9581 Commits

Author SHA1 Message Date
github-actions[bot]
130d3cc133 docs: add @adityamulik as tinytorch contributor for doc 2026-02-25 13:09:27 +00:00
Vijay Janapa Reddi
cc5c389c45 Merge pull request #1202 from adityamulik/module_1_doc_fix
Fix incorrect matrix multiplication computation in notebook example
2026-02-25 08:03:55 -05:00
Aditya Mulik
e5d8395265 The multiplication process example is corrected 2026-02-25 05:24:01 -05:00
github-actions[bot]
e1e3922972 Update contributors list [skip ci] 2026-02-22 19:08:36 +00:00
Vijay Janapa Reddi
ecb3af7fd2 fix(ci): pull before push in all-contributors workflow; add @salmanmkc to tinytorch and kits
- Add git pull --rebase before push so concurrent comment-triggered runs
  don't reject each other (only one of three runs had succeeded for PR 1179).
- Manually add @salmanmkc as code contributor to tinytorch and kits
  (labs was already added by the single successful run).
2026-02-22 14:05:31 -05:00
github-actions[bot]
31f82575e7 docs: add @salmanmkc as labs contributor for code 2026-02-22 18:57:22 +00:00
Vijay Janapa Reddi
7df97bd1a4 Merge pull request #1179 from salmanmkc/upgrade-github-actions-node24-general
Upgrade GitHub Actions to latest versions
2026-02-22 13:44:58 -05:00
Vijay Janapa Reddi
ab697a84f2 refactor(milestones): use stdlib tar filter='data' for safe CIFAR-10 extraction 2026-02-22 13:40:09 -05:00
Vijay Janapa Reddi
3a149a06a6 Merge pull request #1182 from RinZ27/fix/safe-data-extraction
Improve dataset extraction robustness
2026-02-22 13:34:06 -05:00
Vijay Janapa Reddi
ddbc0a45e3 Merge branch 'dev' of https://github.com/harvard-edge/cs249r_book into dev 2026-02-22 13:22:49 -05:00
Vijay Janapa Reddi
85c0cd4c83 Merge branch 'feature/tinytorch-core' into dev 2026-02-22 13:22:37 -05:00
Vijay Janapa Reddi
1733596996 style(module 19): fix table alignment in MLPerf benchmark docs 2026-02-22 13:22:31 -05:00
Vijay Janapa Reddi
55007e1f6e docs(module 19): add educational purposes disclaimer for MLPerf 2026-02-22 13:20:12 -05:00
Vijay Janapa Reddi
68d446edcf docs(module 19): add MLPerf trademark attribution and pedagogical framing
- MLPerf® is a trademark of MLCommons
- This module teaches the principles of MLPerf-style benchmarking
2026-02-22 13:19:43 -05:00
Vijay Janapa Reddi
335bad8cd0 fix(module 19): address benchmarking feedback from issue #1196
- Fix Pareto diagram: swap A/C so line has positive slope (latency vs accuracy)
- Add missing Image Classification writeup to Standard Benchmark Tasks
- Treat anomaly_detection as binary classification (np.rand(2))
- Convert MLPerf inputs to Tensors + transpose HWC→CHW for TinyTorch models

Fixes harvard-edge/cs249r_book#1196
2026-02-22 13:18:08 -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]
8c373dfc58 docs: add @Pratham-ja as tinytorch contributor for code, bug 2026-02-21 14:42:31 +00:00
Vijay Janapa Reddi
94d079b57c Merge feature/tinytorch-core into dev (fixes #1184) 2026-02-21 09:39:50 -05:00
Vijay Janapa Reddi
d7d288dace Fix UnicodeDecodeError on Windows in tito module complete (fixes #1184)
Add encoding='utf-8' and errors='replace' to subprocess.run() calls in
workflow.py so unit and integration test output decode correctly on
Windows (cp1252) when output contains UTF-8 characters.

Co-authored-by: Pratham-ja <114498234+Pratham-ja@users.noreply.github.com>
2026-02-21 09:38:08 -05:00
Vijay Janapa Reddi
69f46d4f7e Clarifies memoization computation savings
Refines the explanation of K,V computation savings in the memoization module,
quantifying redundant computations and highlighting the efficiency gain.

The paper and module now specify that generating 100 tokens requires 5,050
total K,V computations, but only 100 are necessary, resulting in 4,950
redundant calculations.
2026-02-19 17:59:10 -05:00
github-actions[bot]
68167c3d1b docs: add @Pratham-ja as tinytorch contributor for doc 2026-02-19 22:43:52 +00:00
Vijay Janapa Reddi
0eec623b70 Merge pull request #1183 from Pratham-ja/bugfix/fix-ascii-graphs
Improve activation graph visualization in Module 02
2026-02-19 17:40:09 -05:00
unknown
5f7a696077 Improve activation graph visualization in Module 02
- Clarify node labeling
- Improve spacing for readability
- No API changes
2026-02-20 03:48:10 +05:30
Vijay Janapa Reddi
9942b21fb3 fix: remove ngbolin from book contributors (was incorrectly added by re-triggered bot)
ngbolin was correctly added to tinytorch (PR #1180) but the edited-comment
re-trigger on PR #1181 ran the old LLM code which hallucinated ngbolin as
the username instead of pipme.
2026-02-19 12:58:40 -05:00
Vijay Janapa Reddi
b6bd4adfcc fix: correct @pipme username (was misspelled as pipmea by LLM bot) 2026-02-19 12:51:52 -05:00
github-actions[bot]
6d9095d021 Update contributors list [skip ci] 2026-02-19 17:08:12 +00:00
Vijay Janapa Reddi
2bdebdae22 merge: bring workflow fix from main (regex username extraction) 2026-02-19 12:05:33 -05:00
Vijay Janapa Reddi
7a5da798dd fix(ci): extract contributor username via regex instead of LLM
The LLM (llama3.1:8b) was hallucinating usernames — e.g. returning
"pipmea" instead of "pipme". Since the username is always present as
an @mention in the trigger line, extract it deterministically via regex
in Step 1 and only use the LLM to classify contribution types.
2026-02-19 12:05:23 -05:00
github-actions[bot]
7c2a6d6a0a docs: add @ngbolin as book contributor for doc 2026-02-19 17:03:30 +00:00
RinZ27
7d2cd5a47d Improve robustness of dataset extraction by validating paths 2026-02-19 22:57:20 +07:00
github-actions[bot]
a8b3e3a29c docs: add @pipmea as book contributor for doc 2026-02-19 14:10:55 +00:00
Vijay Janapa Reddi
d061df5a75 Merge pull request #1181 from pipme/patch-1
Fix PDF download link in README.md
2026-02-19 09:07:42 -05:00
pipme
24fb275abd Fix PDF download link in README.md 2026-02-19 15:15:10 +02:00
Salman Muin Kayser Chishti
07d2751b6a Upgrade GitHub Actions to latest versions
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
2026-02-19 09:20:11 +00:00
github-actions[bot]
6a28376b0a 🔥 TinyTorch tinytorch-v0.1.9: Content updates and improvements tinytorch-v0.1.9 2026-02-18 00:03:13 +00:00
github-actions[bot]
f655cdfbba chore(tinytorch): bump version to tinytorch-v0.1.9 2026-02-18 00:02:21 +00:00
github-actions[bot]
d69a8d6f1d docs: add @sotoblanco as tinytorch contributor for doc 2026-02-17 23:43:01 +00:00
Vijay Janapa Reddi
1ecc918c73 Merge dev: fix notebook filename convention in docs and Binder (fixes #1176) 2026-02-17 18:36:50 -05:00
Vijay Janapa Reddi
f729e28d81 Merge feature/tinytorch-core: fix notebook filename convention in docs and Binder 2026-02-17 18:36:41 -05: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
3a633df41e Merge feature/tinytorch-core: site improvements, PDF build fixes, minor cleanups 2026-02-17 13:53:41 -05:00
Vijay Janapa Reddi
c13c4c6b9c fix: align MLPerf box-drawing in benchmarking module, set tree indent
- Fix misaligned ASCII art in Module 19 benchmark architecture diagram
- Set default workbench.tree.indent to 16px in VS Code extension
2026-02-17 13:53:32 -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
088eaa3e18 Merge dev: VS Code thin client over Tito CLI + notebook editor 2026-02-17 12:36:22 -05:00
Vijay Janapa Reddi
9d45832910 Merge feature/tinytorch-core: VS Code thin client + notebook editor fix 2026-02-17 12:36:06 -05:00
Vijay Janapa Reddi
9cee0e9b83 fix(vscode-ext): open notebooks in interactive editor instead of raw JSON
Use vscode.openWith(uri, 'jupyter-notebook') for .ipynb files so they
render in VS Code's notebook editor with cell support, rather than
opening as raw JSON text via openTextDocument.
2026-02-17 12:35:42 -05:00