mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-03-12 02:24:46 -05:00
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
50 lines
1.4 KiB
Plaintext
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 |