mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-07 02:03:55 -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.
18 lines
392 B
JSON
18 lines
392 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"target": "ES2020",
|
|
"outDir": "out",
|
|
"lib": ["ES2020"],
|
|
"sourceMap": true,
|
|
"rootDir": "src",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"types": ["node", "vscode"]
|
|
},
|
|
"exclude": ["node_modules", "out"]
|
|
}
|