7 Commits

Author SHA1 Message Date
dependabot[bot]
714ac1becd deps(mlsysim-ext): bump @types/vscode in /mlsysim/vscode-ext (#1648)
Bumps [@types/vscode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/vscode) from 1.116.0 to 1.118.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/vscode)

---
updated-dependencies:
- dependency-name: "@types/vscode"
  dependency-version: 1.118.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-04 07:18:47 -04:00
Vijay Janapa Reddi
2760fbe09a deps: bump TypeScript 5→6, @types/node 20→25, ipykernel 6→7 (#1499)
* 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.
2026-04-22 18:49:50 -04:00
dependabot[bot]
dcb9ad3bdf deps(mlsysim-ext): bump @types/vscode in /mlsysim/vscode-ext (#1495)
Bumps [@types/vscode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/vscode) from 1.110.0 to 1.116.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/vscode)

---
updated-dependencies:
- dependency-name: "@types/vscode"
  dependency-version: 1.116.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 18:32:10 -04:00
Vijay Janapa Reddi
5b4718bd84 chore: track package-lock.json for new vscode extensions 2026-03-15 09:35:44 -04:00
Vijay Janapa Reddi
ae65312553 chore: add .gitignore to new vscode extensions (match book/tinytorch pattern) 2026-03-15 09:29:22 -04:00
Vijay Janapa Reddi
f6263c957a refactor: standardize all VS Code extensions to consistent style
- Unify publisher to 'mlsysbook' across all four extensions (tinytorch was 'tinytorch')
- Remove redundant onView: activation events (VS Code auto-generates from views declaration)
- Add workspaceContains: activation event to tinytorch (was empty)
- Add configurationDefaults with workbench.tree.indent: 16 to book, mlsysim, labs (tinytorch had it)
2026-03-14 16:26:30 -04:00
Vijay Janapa Reddi
dd2d9a8628 feat: add VS Code extensions for mlsysim and labs
Two new VS Code extensions following the established pattern:

MLSysim Workbench (mlsysim/vscode-ext/):
- 5 tree views: Hardware & Models Zoo, Scenarios, Test Suite, Recent Runs, Info
- Quick Eval flow: pick model + hardware via QuickPick for instant physics scorecard
- Test suite integration (engine, hardware, solver, empirical, SOTA)
- YAML scenario browser with file watcher
- 3 YAML snippets (basic, fleet, serving scenarios)
- 22 commands wrapping python3 -m mlsysim CLI

Labs Workbench (labs/vscode-ext/):
- 4 tree views: Labs Navigator, Governance & Audit, Recent Runs, Info
- 33 labs (16 Vol1 + 17 Vol2) with status badges (implemented/planned)
- Marimo integration: edit/run labs in browser via marimo CLI
- 30-gate audit support from REVIEW_PROMPT.md
- 22-cell template compliance checker
- Design Ledger viewer/reset (~/.mlsys/ledger.json)
- Marimo DocumentSymbolProvider for cell/zone navigation
- New lab from template scaffolding
- 5 Marimo snippets (cell, prediction lock, stakeholder, MathPeek, failure state)
- Governance docs quick access (PROTOCOL, TEMPLATE, ARCHITECTURE, LABS_SPEC)

Both extensions compile cleanly with zero TypeScript errors.
2026-03-14 16:15:48 -04:00