mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-03-12 17:53:33 -05:00
- Remove outdated documentation files (cli-reorganization, command-cleanup-summary, module-metadata-system, testing-separation) - Update all CLI commands to use current hierarchical structure (tito system/module/package) - Align documentation with simplified metadata system - Update student project guide with current module structure - Modernize development guides and quick reference - Remove references to removed features (py_to_notebook, complex metadata) - Ensure all documentation reflects current system state Documentation now focuses on: - Current CLI structure and commands - Simplified module development workflow - Real data and production patterns - Clean educational progression
📚 TinyTorch Documentation
Complete documentation for the TinyTorch ML Systems course.
🎯 Quick Navigation
For Students 👨🎓
- Project Guide - Complete course navigation and progress tracking
- Start Here:
modules/setup/README.md- First module setup
For Developers 👨💻
- Development Guide - Complete methodology and best practices
- Quick Reference - Commands and essential patterns
- Creation Checklist - Step-by-step module creation
For Instructors 👨🏫
- Pedagogical Principles - Educational philosophy and learning theory
- Testing Architecture - Assessment and verification strategy
📁 Documentation Structure
Development (development/)
For module developers and contributors
module-development-guide.md- Complete development methodologyquick-module-reference.md- Fast reference for commands and patternsmodule-creation-checklist.md- Comprehensive step-by-step processmodule-template.md- Reusable template snippets
Students (students/)
For course participants
project-guide.md- Course navigation and module progression
Pedagogy (pedagogy/)
For instructors and educational design
pedagogical-principles.md- Educational philosophy and learning theorytesting-architecture.md- Assessment strategy and testing patternsvision.md- Course vision and goals
🚀 Quick Commands Reference
System Commands
tito system info # System information and course navigation
tito system doctor # Environment diagnosis
tito system jupyter # Start Jupyter Lab
Module Development
tito module status # Check all module status
tito module test --module X # Test specific module
tito module notebooks --module X # Convert Python to notebook
Package Management
tito package sync # Export notebooks to package
tito package sync --module X # Export specific module
tito package reset # Reset package to clean state
🎓 Educational Philosophy
TinyTorch follows a "Build → Use → Understand → Repeat" methodology where students:
- Build - Implement core ML components from scratch
- Use - Apply their implementations to real problems
- Understand - Reflect on design decisions and trade-offs
- Repeat - Apply learnings to increasingly complex systems
Key Principles
- Real Data, Real Systems - Use production datasets and realistic constraints
- Progressive Complexity - Build understanding step by step
- Systems Thinking - Connect to production ML engineering practices
- Immediate Feedback - Students see their code working quickly
🛠️ Development Workflow
For New Modules
- Plan - Choose real datasets, define learning objectives
- Implement - Write complete working version first
- Structure - Add educational content and TODO guidance
- Test - Comprehensive testing with real data
- Export - Convert to notebooks and export to package
For Students
- Setup - Complete environment setup in
modules/setup/ - Develop - Work in
modules/{name}/{name}_dev.pyfiles - Export - Use
tito package syncto build package - Test - Use
tito module testto verify implementation - Progress - Use
tito module statusto track completion
📊 Course Structure
TinyTorch is organized into progressive modules:
- Setup - Development environment and workflow
- Tensor - Core data structures and operations
- Layers - Neural network building blocks
- Networks - Complete model architectures
- Training - Optimization and learning algorithms
- Advanced - Production systems and MLOps
Each module builds on previous ones, creating a complete ML systems engineering curriculum.
💡 Pro Tip: Start with the Project Guide if you're a student, or the Development Guide if you're creating modules.