Files
TinyTorch/.gitignore

205 lines
2.8 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/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
_docs/
# Jupyter Book build artifacts
book/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# pyenv
.python-version
# celery beat schedule file
celerybeat-schedule
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
tinytorch-env/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
# IDE
.vscode/
.idea/
.cursor/
.claude/
*.swp
*.swo
*~
# OS
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# Logs
*.log
logs/
# TinyTorch specific
checkpoints/
experiments/
runs/
wandb/
progress.json
# Development/debug scripts in root (should be in tests/)
cleanup_*.py
debug_*.py
fix_*.py
minimal_*.py
*_working.py
*_test_framework.py
performance_analysis.py
quick_*_test.py
test_*_simple.py
# nbdev specific - we keep notebooks and exported Python code
# Everything else is auto-generated and shouldn't be tracked
# OLD STRUCTURE - Remove these when migrating
# modules/ - Now using modules/ for educational structure
# We now use notebooks/ and let nbdev handle exports
# Training artifacts
*.pth
*.pt
*.ckpt
model_*.json
training_*.json
# Data (too large for git)
data/
# Downloaded datasets (large files, not committed)
datasets/*
# BUT allow tiny datasets directory (small files we ship)
!datasets/tiny/
!datasets/README.md
!datasets/download_*.py
# Milestone datasets (downloaded, not committed)
milestones/datasets/
milestones/*/data/*.gz
milestones/*/data/mnist/
milestones/*/data/cifar*/
# BUT allow small .npz datasets in milestone data folders
!milestones/*/data/*.npz
*.csv
# *.npz - Don't ignore .npz globally, some are tiny datasets
*.npy
*.pickle
*.pkl
# Ignore large .npz files (but not in datasets/tiny/)
data/*.npz
datasets/mnist/*.npz
datasets/cifar10/*.npz
# Temporary files
tmp/
temp/
*.tmp
# Virtual environment
.venv/
# NBGrader database files
gradebook.db*
# NBGrader temporary files
assignments/submitted/
assignments/autograded/
assignments/feedback/