mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-03-09 20:42:00 -05:00
## Repository Organization - Move scripts from bin/ to scripts/ directory - activate-tinytorch: Environment activation script - generate_module_metadata.py: Module metadata generator - generate_student_notebooks.py: Student notebook generator - tito: TinyTorch CLI tool ## Build System - Add site/build.sh: Jupyter Book 1.x build automation script - Auto-detects project root or site directory - Activates virtual environment if available - Handles clean builds with proper error handling ## Documentation - Add docs/history/ for migration documentation - ROLLBACK_TO_JB1.md: Jupyter Book 1.x rollback documentation - MIGRATION_TO_V2.md: Jupyter Book 2.0 migration attempt notes ## Infrastructure Updates - Update all site/modules/*_ABOUT.md symlinks: modules/ → src/ - Update all src/*/ABOUT.md symlinks: modules/ → src/ - Update .envrc: Reflect new scripts/ directory structure - Update pyproject.toml: Add build system dependencies This commit completes the src-modules separation restructuring and adds necessary tooling for the new repository layout. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
19 lines
383 B
Python
Executable File
19 lines
383 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""
|
|
TinyTorch CLI Wrapper
|
|
|
|
Backward compatibility wrapper that calls the new CLI structure.
|
|
"""
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
# Add the project root to Python path
|
|
project_root = Path(__file__).parent.parent
|
|
sys.path.insert(0, str(project_root))
|
|
|
|
# Import and run the new CLI
|
|
from tito.main import main
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(main()) |