Files
TinyTorch/requirements.txt
Vijay Janapa Reddi 28320ebb81 Add jupytext to requirements and export Module 14
Requirements.txt updates:
- Added jupytext>=1.16.0 (required for tito export)
- Added nbformat>=5.10.0 (jupytext dependency)
- New section: Development Tools (Required for tito export)

Module 14 export:
- Successfully exported kvcaching_dev.py to tinytorch/generation/kv_cache.py
- Generated kvcaching_dev.ipynb (21 cells: 9 code, 12 markdown)
- KVCache class, enable_kv_cache(), disable_kv_cache() now in package

Auto-generated updates:
- Added DO NOT EDIT warnings to 8 exported files
- Updated _modidx.py with Module 14 exports
- Protected core files from manual editing

Export now works with: tito export 14_kvcaching
Students can import: from tinytorch.generation.kv_cache import enable_kv_cache
2025-11-05 19:10:52 -05:00

50 lines
1.4 KiB
Plaintext

# TinyTorch Course Dependencies
# Compatible with Python 3.8-3.13
# ============================================================================
# Core Dependencies (Required)
# ============================================================================
# Numerical computing - TinyTorch core requirement
numpy>=1.24.0,<3.0.0
# Terminal UI - Used by tito CLI and milestone examples
rich>=13.0.0
# Configuration files - Used by tito CLI
PyYAML>=6.0
# ============================================================================
# Testing (Required for development)
# ============================================================================
pytest>=8.0.0
pytest-cov>=4.0.0
# ============================================================================
# Development Tools (Required for tito export)
# ============================================================================
# Jupytext - Convert .py files to .ipynb for nbdev
jupytext>=1.16.0
nbformat>=5.10.0
# ============================================================================
# Optional Dependencies (Uncomment if needed)
# ============================================================================
# Visualization for milestone examples
# matplotlib>=3.9.0
# Jupyter for interactive development
# jupyter>=1.1.0
# jupyterlab>=4.2.0
# ipykernel>=6.29.0
# Code quality tools
# black>=24.0.0
# mypy>=1.11.0
# ruff>=0.6.0
# Type hints for older Python versions
# typing-extensions>=4.12.0