Files
cs249r_book/tinytorch/.gitignore
Vijay Janapa Reddi 0110fe1b0a refactor(tinytorch): align imports with nbdev export paths
- Update tinytorch/__init__.py to use core.* paths
- Fix milestone imports to match actual export destinations:
  - data.loader → core.dataloader
  - text.tokenization → core.tokenization
  - text.embeddings → core.embeddings
  - models.transformer → core.transformer
  - profiling.profiler → perf.profiling
  - generation.kv_cache → perf.memoization
- Add perf/ subpackage to gitignore rules
- Create perf/__init__.py for optimization modules
2025-12-15 19:20:48 -05:00

222 lines
3.4 KiB
Plaintext

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
*.manifest
*.spec
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
.python-version
# Virtual environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
bin/
include/
lib/
lib64/
pyvenv.cfg
share/
# Prevent duplicate venvs in subdirectories
site/.venv/
**/.venv/
**/venv/
**/env/
# IDEs
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
# Jupyter Book
book/_build/
site/_build/
docs/_build/
# NBGrader - assignments are dynamically generated via 'tito nbgrader generate'
# Only ignore student submissions and grading outputs, not source/release (for now)
assignments/autograded/
assignments/feedback/
assignments/submitted/
# Note: assignments/source/ and assignments/release/ are kept in git for now
# but should be regenerated with 'tito nbgrader generate' when modules change
# Logs
*.log
# LaTeX build artifacts
*.aux
*.bbl
*.blg
*.out
*.fls
*.fdb_latexmk
*.synctex.gz
*.toc
*.lof
*.lot
*.pdf
# Database
*.db
*.sqlite
# OS
.DS_Store
Thumbs.db
# Temporary files
*.tmp
*.temp
# Backup files
*.bak
*.backup
# AI assistant configs
.claude/
.cursor/
.ai/
# Project specific
tito-cli.log
COMMIT_LOG.txt
# Tito CLI user state and cache (local to each user)
.tito/
# Downloaded datasets (not source-controlled, too large)
data/
datasets/
milestones/datasets/
# BUT: Include TinyTorch's curated educational datasets (tiny, ship-with-repo)
!datasets/tinydigits/
!datasets/tinytalks/
!datasets/tinymnist/
!datasets/README.md
!datasets/DATASET_ANALYSIS.md
# Temporary AI-generated reports (not permanent project docs)
MODULE_REVIEW_REPORT_*.md
MODULE_STATUS_SUMMARY.md
**/*_SUMMARY.md
**/*_REPORT*.md
**/*_ANALYSIS.md
**/*_VERIFICATION.md
**/*_CHECKLIST.md
**/*_FIXES*.md
**/*_CHANGES*.md
**/*_COMPLETE.md
**/*_RECOMMENDATIONS.md
**/*_BEFORE_AFTER.md
**/*_OUTPUTS.md
**/*_UPDATE.md
**/*_STATUS.md
**/*_MAP.md
**/*_GUIDE.md
**/*_FINDINGS.md
**/*_PLAN.md
**/*_COMPARISON.md
**/*_REVIEW*.md
**/*_MATRIX.md
**/*_INVENTORY.md
**/*_ASSESSMENT.md
**/VERIFY_*.py
**/NEW_CITATIONS.bib
**/proposed_figures.tex
progress.json
modules/HASATTR_*.md
# Generated notebooks (built from src/*.py source files)
# The modules/ directory contains generated notebooks for learners
modules/*
!modules/README.md
# Generated website module docs (copied from src/*/ABOUT.md during build)
# Single source of truth: src/*/ABOUT.md
docs/modules/*
docs/chapters/modules/*
# AI development files (keep locally)
.claude/
# Site build artifacts
site/_build/
.envrc
# BUT: Include PDF downloads for the website (shipped with repo)
!site/_static/downloads/
!site/_static/downloads/*.pdf
# Generated tinytorch package (auto-generated from src/ via nbdev_export)
# Single source of truth: src/*/*.py files
# Track __init__.py files (package structure) but ignore generated implementations
tinytorch/*
!tinytorch/__init__.py
!tinytorch/core/
tinytorch/core/*
!tinytorch/core/__init__.py
!tinytorch/perf/
tinytorch/perf/*
!tinytorch/perf/__init__.py
!tinytorch/README.md
# Generated benchmark outputs
.tito/benchmarks/