12 Commits

Author SHA1 Message Date
Vijay Janapa Reddi
c53f3fe238 Site QA polish: finish MLSys.im brand migration, fix broken links, add memory-tier figure
- Complete the MLSYSIM -> MLSys.im display-name migration across mlsysim/docs,
  instructors, and shared config (code identifiers stay lowercase mlsysim)
- Fix broken TinyTorch module links (_ABOUT.html -> .html)
- Route the navbar Subscribe action to the newsletter page so Safari content
  blockers stop hiding the #subscribe anchor
- Add the Accelerator Memory Tiers figure to compute_infrastructure with a
  registry-driven log-log capacity/bandwidth scatter
- Add four sourced cloud accelerator specs (Groq LPU, Graphcore GC200,
  Untether speedAI240, d-Matrix Corsair) feeding the local-SRAM tier
- Remove the unshipped Coming Soon audio-lectures placeholder and related
  Binder/audio references
2026-06-27 08:14:00 -04:00
Vijay Janapa Reddi
6e42a8b23e Restore the dimensional-strictness flagship story in paper and docs
With [flop] as a real dimension, the paper's lst:units listing again
shows the honest headline behavior — compute rate + bandwidth raises —
and the 'count-like units are mutually convertible by design' caveat
is gone. for-engineers Type Safety demonstrates both raises live
(verified by execution); DATA_MODEL's validation invariant states the
dimension split. Paper rebuilt clean, 42 pages, all 7 anchors match.
2026-06-06 13:27:56 -04:00
Vijay Janapa Reddi
9c3dce60dc Delete the core/constants.py compat shim; migrate the whole corpus
No-backward-compat sweep, part 2. The module had been reduced to a
units-only re-export ('retired, do not add values'); per policy it is
now gone and every consumer reads the real home:

- 32 internal modules, the package __init__, and core/__init__ import
  core.units (physics modules keep their own physics/constants)
- 43 book chapters' LEGO cells migrated (star imports, named imports,
  and the appendix attribute style 'constants.VIDEO_*' -> units.*);
  lego_focal_verify confirms identical pass/flag state to pre-sweep
  (8 pre-existing structural flags, A/B-verified unchanged)
- tutorial/tools/test imports migrated (incl. binder test_units.py);
  book tests' legacy-symbol scanner treats a missing constants.py as
  'nothing defined'
- test_constants_allowlist.py rewritten as a deletion pin: the module
  (and any shim for it) must never return; core.units must keep the
  measurement surface (ureg, Q_, GB, BYTES_FP16, PRECISION_MAP, ...)
- test_mlsysim_registry_parity.py deleted: it compared registry values
  against legacy constants 'before deletion' — that migration is
  complete (registry gate list updated)
- Docs prose (DATA_MODEL, architecture, contributing) states the
  deletion instead of describing a retired shim

749 passed; binder registry gate green; star import intact.
2026-06-06 11:34:47 -04:00
Vijay Janapa Reddi
80b5361656 Docs site: persona-audit fixes, CLI parity, architecture bridge
User journey (every code block executed against the package):
- getting-started: Hardware.Tiny.ESP32 -> ESP32_S3 (raised
  AttributeError as written); dev-install cd path fixed; index
  carousel device count 19 -> 30+
- for-engineers: 'Type Safety' example claimed a DimensionalityError
  that pint does not raise (bytes/flops are dimensionless aliases);
  rewritten with a true example + the real require_unit_family checks

Developer path:
- contributing.qmd: solver home engine/solvers/, real test-gate
  filenames, real check() signature, 32-solver count, retired
  constants.py description
- architecture.qmd <-> DATA_MODEL.md now bridge each other (runtime
  5-layer view vs data 8-zoo view); DATA_MODEL opener said 'Six zoos'
  while its own table lists eight
- provenance.qmd core.calibration -> engine.calibration; accuracy.qmd
  blesses mlsysim.solvers as the public import path

CLI reference (every command --help diffed against the doc):
- eval YAML example was unrunnable (missing required name:) and
  asserted a nonexistent metric; exit-code example was wrong (renders
  FAIL scorecard, exits 0) — replaced with verified exit-1/exit-3
  examples and a note that exit 2 is reserved for hard OOMErrors
- schema/audit: documented -t/-w shorthands and defaults

README: PyPI/docs badges + quick-links row (standalone-package pitch).
2026-06-06 10:03:10 -04:00
Vijay Janapa Reddi
bf733c5781 Merge dev into fmt-fix 2026-06-01 22:34:40 -04:00
Vijay Janapa Reddi
363869fcf0 Update MLSysIM docs and tutorial guidance 2026-06-01 21:54:41 -04:00
Vijay Janapa Reddi
6a771e6e4f Clean MLSysIM registry boundaries 2026-05-31 13:54:25 -04:00
Vijay Janapa Reddi
aa0e1df10d Clarify MLSysIM scenario ownership 2026-05-31 13:05:41 -04:00
Vijay Janapa Reddi
1d9b72db58 Harden MLSysIM validation and topology contracts 2026-05-31 10:57:23 -04:00
Vijay Janapa Reddi
5b17578797 docs(mlsysim): P10a — propagate core→engine + infra→infrastructure rename to docs/tutorial/paper
Repoint mlsysim.core.<engine-mod> -> mlsysim.engine.<mod>, the
from-mlsysim.core-import-calibration form, and mlsysim.infra -> mlsysim.infrastructure
across the deferred consumers: docs prose + tutorials, tutorial slides/cheatsheet/
exercises, paper.tex, README, cli/DESIGN.md, and the mlsysim_constants audit README.
Also fix two docstrings inside the moved engine modules (calibration.py, pipeline.py)
that still named the old core paths. Update the quartodoc config (sections list) to
the new module paths and add the engine package.

NOTE: the generated quartodoc API stubs under mlsysim/docs/api/ (core.*.qmd,
infra*.qmd) still carry the old paths — they regenerate from the updated config via
`quartodoc build` (toolchain not installed in this worktree), so they are left
untouched here rather than hand-edited. Run `quartodoc build` to refresh them.

482 passed; import clean.
2026-05-29 18:35:38 -04:00
Vijay Janapa Reddi
1859afa546 Remove mlsysim.core.defaults and migrate book to domain registries.
Delete the catch-all defaults module and relocate assumptions into
Literature, Systems, Infrastructure, Ops, Platforms, and core.calibration.
Update textbook QMD cells, labs, audit tooling, and CI gates so registry
paths are authoritative with no package-root aliases or defaults shims.
2026-05-25 13:08:13 -04:00
Vijay Janapa Reddi
12c6e40949 Phase 0: migration manifest, LEGO baseline, parity scaffold, DATA_MODEL.
Establish verified dead-symbol inventory and chapter-level migration manifest
so registry cleanup can proceed with parity gates and one commit per step.
2026-05-24 16:35:44 -04:00