mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-10 15:49:25 -05:00
* polish(tinytorch/diagrams): align 23 Lab Guide SVGs with book style guide The hand-authored diagrams under tinytorch/quarto/assets/images/diagrams/ were drifting from the ML Systems SVG style guide — they used Tailwind CSS greys and custom oranges instead of the book palette. This made them visually clash with the canonical big-picture-module-flow.svg (under assets/images/svg/) and with every other diagram in the textbook. Normalize to book style: - Fills: #f4f5f7, #f8f9fa, #e5e7eb → #f7f7f7 / #bbb (book neutrals) - Text: #1f2937, #6b7280 → #333 / #999 (book text hierarchy) - Arrows: #9ca3af → #555 (book neutral stroke) - Accent orange: #fff1e8 / #ff8246 → #fdebd0 / #c87b2a (book routing) - Corner radius: rx="2" → rx="4" per style-guide standard - Stroke width: flat "1" → "1.2" (secondary tier per style guide) - Section titles: font-size="11" (bold) → "12" per style-guide headers No content, layout, or positional changes — only style-token swaps. All 23 SVGs re-validated as well-formed XML. Side effect: the orphan diagrams/00_big-picture-module-flow.svg is also normalized. The canonical big-picture is under assets/images/svg/ and was already book-styled (not touched by this pass). * polish(tinytorch/01_tensor): port Cache Tiling systems callout from ABOUT.md The stashed work from the tinytorch-updates branch included a Cache Tiling "Systems Implication" callout for Module 01, but it lived in tinytorch/src/01_tensor/ABOUT.md — a path that was retired when the module docs consolidated into tinytorch/quarto/modules/. The companion "Contiguous Memory & Strides" callout from the same stash already made it over during the consolidation; this one got left behind. Insert the callout right after the matmul O(n³) explanation (the natural bridge into "why does the naive loop lose to BLAS?"), and before the Shape Manipulation section. Progressive-disclosure check: every concept the callout introduces (cache misses, BLAS, O(n³) vs O(n²)) is already on the page or introduced inline in the callout itself (Memory-Bound / Compute-Bound are defined parenthetically). The pattern matches the existing book-style sidebar on line 587. * deps: bump TypeScript 5→6, @types/node 20→25, ipykernel 6→7 Resolves 9 stale Dependabot PRs (#1494, #1497, #1490, #1491, #1479, #1477, #1475, #1467, #1454) whose package-lock conflicts blocked auto-rebase. VSCode extensions: bump TypeScript devDep to ^6.0.3 and @types/node to ^25.6.0 across book-ext, mlsysim-ext, labs-ext, kits-ext, tinytorch-ext. Regenerate lockfiles. TypeScript 6.0 no longer auto-includes ambient @types packages; add explicit "types": ["node", "vscode"] to each tsconfig so child_process / fs / Buffer / vscode API types continue to resolve. All 5 extensions now compile clean with TS 6.0.3 + @types/node 25.6.0. TinyTorch: bump ipykernel floor to >=7.2.0 in pyproject.toml, requirements.txt, and binder/requirements.txt.
83 lines
3.8 KiB
JSON
83 lines
3.8 KiB
JSON
{
|
|
"name": "tinytorch-workbench",
|
|
"displayName": "TinyTorch Workbench",
|
|
"description": "Build, test, and manage TinyTorch educational ML framework modules",
|
|
"version": "0.1.0",
|
|
"publisher": "mlsysbook",
|
|
"icon": "resources/icon.png",
|
|
"engines": {
|
|
"vscode": "^1.85.0"
|
|
},
|
|
"categories": ["Other"],
|
|
"activationEvents": [
|
|
"workspaceContains:tinytorch/src/01_tensor"
|
|
],
|
|
"main": "./out/extension.js",
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./"
|
|
},
|
|
"devDependencies": {
|
|
"@types/vscode": "^1.116.0",
|
|
"@types/node": "^25.6.0",
|
|
"typescript": "^6.0.3"
|
|
},
|
|
"contributes": {
|
|
"viewsContainers": {
|
|
"activitybar": [
|
|
{
|
|
"id": "tinytorch",
|
|
"title": "TinyTorch",
|
|
"icon": "resources/icon.svg"
|
|
}
|
|
]
|
|
},
|
|
"views": {
|
|
"tinytorch": [
|
|
{ "id": "tinytorch.modules", "name": "Modules" },
|
|
{ "id": "tinytorch.testing", "name": "Testing" },
|
|
{ "id": "tinytorch.build", "name": "Build & Site" },
|
|
{ "id": "tinytorch.runs", "name": "Recent Runs" },
|
|
{ "id": "tinytorch.info", "name": "Info & Health" }
|
|
]
|
|
},
|
|
"commands": [
|
|
{ "command": "tinytorch.openNotebook", "title": "TinyTorch: Open Notebook" },
|
|
{ "command": "tinytorch.openSource", "title": "TinyTorch: Open Source (.py)" },
|
|
{ "command": "tinytorch.startModule", "title": "TinyTorch: Start Module" },
|
|
{ "command": "tinytorch.viewModule", "title": "TinyTorch: Open Module in Jupyter" },
|
|
{ "command": "tinytorch.testModule", "title": "TinyTorch: Test Module" },
|
|
{ "command": "tinytorch.completeModule", "title": "TinyTorch: Complete Module" },
|
|
{ "command": "tinytorch.resetModule", "title": "TinyTorch: Reset Module" },
|
|
{ "command": "tinytorch.openAbout", "title": "TinyTorch: Open Module ABOUT" },
|
|
{ "command": "tinytorch.runAction", "title": "TinyTorch: Run Action" },
|
|
{ "command": "tinytorch.runSiteAction", "title": "TinyTorch: Run Site Action" },
|
|
{ "command": "tinytorch.runPaperAction", "title": "TinyTorch: Run Paper Action" },
|
|
{ "command": "tinytorch.runTests", "title": "TinyTorch: Run Tests" },
|
|
{ "command": "tinytorch.buildSite", "title": "TinyTorch: Build HTML Site" },
|
|
{ "command": "tinytorch.buildPdf", "title": "TinyTorch: Build PDF Course Guide" },
|
|
{ "command": "tinytorch.buildPaper", "title": "TinyTorch: Build Research Paper" },
|
|
{ "command": "tinytorch.openSiteInBrowser", "title": "TinyTorch: Open Site in Browser" },
|
|
{ "command": "tinytorch.openPdf", "title": "TinyTorch: Open PDF" },
|
|
{ "command": "tinytorch.healthCheck", "title": "TinyTorch: Health Check" },
|
|
{ "command": "tinytorch.refreshModules", "title": "TinyTorch: Refresh Modules", "icon": "$(refresh)" },
|
|
{ "command": "tinytorch.refreshRuns", "title": "TinyTorch: Refresh Runs", "icon": "$(refresh)" },
|
|
{ "command": "tinytorch.rerunLastCommand", "title": "TinyTorch: Rerun Last Command", "icon": "$(history)" },
|
|
{ "command": "tinytorch.revealTerminal", "title": "TinyTorch: Reveal Terminal", "icon": "$(terminal)" },
|
|
{ "command": "tinytorch.rerunCommand", "title": "TinyTorch: Rerun Command" }
|
|
],
|
|
"configurationDefaults": {
|
|
"workbench.tree.indent": 16
|
|
},
|
|
"menus": {
|
|
"view/title": [
|
|
{ "command": "tinytorch.refreshModules", "when": "view == tinytorch.modules", "group": "navigation" },
|
|
{ "command": "tinytorch.refreshRuns", "when": "view == tinytorch.runs", "group": "navigation@1" },
|
|
{ "command": "tinytorch.rerunLastCommand", "when": "view == tinytorch.runs", "group": "navigation@2" },
|
|
{ "command": "tinytorch.revealTerminal", "when": "view == tinytorch.runs", "group": "navigation@3" }
|
|
]
|
|
}
|
|
}
|
|
}
|