Commit Graph

17 Commits

Author SHA1 Message Date
Vijay Janapa Reddi
bc36e0de15 Merge branch 'dev' into feature/colab-notebooks 2026-02-10 13:45:39 -05:00
Vijay Janapa Reddi
fdeedbd646 style(vscode): update peacock color to blue for colab feature branch 2026-01-24 21:04:39 -05:00
Vijay Janapa Reddi
f4a748fd78 fix(optimizers,tokenization): set gradients after optimizer init, make vocab_size optional
Module 07 (optimizers):
- Fixed bug where param.grad was set before optimizer creation
- Optimizer.__init__ resets param.grad to None for all parameters
- Moved all gradient assignments to occur AFTER optimizer creation
- Fixes GitHub issue #1131

Module 10 (tokenization):
- Made BPETokenizer.train() vocab_size parameter optional with default None
- Fixes test failure when calling train() without explicit vocab_size

All 20 inline tests pass (verified via tito dev test --inline --ci)
2026-01-24 19:03:50 -05:00
Vijay Janapa Reddi
d6d0e224d6 chore: set Peacock color (orange) for tito worktree 2026-01-22 12:02:22 -05:00
Vijay Janapa Reddi
029d99fb81 refactor: extract hardware labs to standalone kits project
Monorepo restructuring for better build performance and separation of concerns:

- Create kits/ as standalone Quarto project with teal accent styling
- Add _brand/ directory with shared design tokens (tokens.scss)
- Move labs from book/quarto/contents/labs/ to kits/contents/
- Remove labs sections (Parts VII-XII) from book sidebar
- Add CI/CD workflows for kits (kits-publish-live.yml, kits-publish-dev.yml)
- Update netlify.toml redirects: /labs -> /kits/
- Add Volume I/II test sidebar config for future use

Deployment URLs:
- Textbook: mlsysbook.ai/
- Kits: mlsysbook.ai/kits/
- TinyTorch: mlsysbook.ai/tinytorch/

All three projects build independently and successfully.
2025-12-24 10:54:41 -05:00
Vijay Janapa Reddi
7788d84f14 chore(vscode): update Peacock color to blue-purple blend
Update workspace Peacock theme to use a periwinkle/lavender-blue color
scheme (#A5B4E5) that blends blue and purple tones for a softer visual
appearance in the activity bar, status bar, and title bar.
2025-11-01 11:35:38 -04:00
Vijay Janapa Reddi
f4a0b09209 Complete frontiers polish with glossary updates and build improvements 2025-09-21 02:26:46 -04:00
Vijay Janapa Reddi
b3b0114a1e Simplifies window title for clarity
Removes redundant elements from the window title for a cleaner
and more focused display.

This improves readability and reduces visual clutter, enhancing the
user experience.
2025-09-16 19:41:15 -04:00
Vijay Janapa Reddi
fe0548baa3 feat: implement optimization cluster cross-references (Phase 4.1)
- Add 12 strategic references in Model Optimizations chapter
- Add 12 system-level references in Efficient AI chapter
- Add 12 hardware foundation references in AI Acceleration chapter
- Create tightly interconnected optimization ecosystem
- Connect model-level → system-level → hardware-level optimizations
- Link optimization techniques to deployment and sustainability contexts
- Establish hardware acceleration as foundation enabling all optimizations
- Fix reference errors and duplicate labels

Optimization cluster now forms cohesive technical ecosystem with clear
connections between algorithmic, system, and hardware efficiency strategies.
2025-09-16 08:13:44 -04:00
Vijay Janapa Reddi
ada7d3dafe feat: complete glossary system with interactive tooltips and navigation
- Add comprehensive glossary page (631 terms) with navigation integration
- Implement responsive HTML tooltips with optimized sizing and positioning
- Add Python script for automated glossary.qmd generation from master JSON
- Configure glossary in HTML, PDF, and EPUB output formats
- Keep individual chapter glossaries for chapter-specific tooltip functionality
- Fix dual tooltip issue by using data-definition instead of title attribute

Features:
• Interactive tooltips throughout all chapters with hover functionality
• Dedicated glossary page accessible via navigation (after Resources)
• Alphabetically organized with chapter source attribution
• Responsive design prevents tooltip cutoff at screen edges
• Multi-format support (HTML tooltips, PDF margin notes, EPUB links)
• Automated generation script for maintainability

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 16:12:35 -04:00
Vijay Janapa Reddi
1cb718c9f1 feat(workspace): add MLSysBook purple theme configuration
- Add workspace-specific Peacock color theme (#5d4e75 purple-blue)
- Custom window title with book emoji for easy project identification
- Light theme with purple activity/status bars for visual distinction
2025-09-08 08:53:01 -04:00
Vijay Janapa Reddi
2647b8b824 Fixed several issues with broken image references/links 2024-02-02 17:11:16 -05:00
Vijay Janapa Reddi
733658b0b5 Spellcheck type 2023-12-07 16:45:05 -05:00
Vijay Janapa Reddi
f72b8b4f89 MD fixes 2023-12-05 07:46:53 -05:00
Vijay Janapa Reddi
c8fd3d9c13 MD fixes 2023-12-05 07:44:07 -05:00
Vijay Janapa Reddi
76f8a688c4 MD fixes 2023-12-05 07:34:25 -05:00
Vijay Janapa Reddi
ea47b3c18b MD fixes 2023-12-05 07:14:33 -05:00