Files
miku-discord/.gitignore
koko210Serve 9e5511da21 perf: reduce container sizes and build times
- miku-stt: switch PyTorch CUDA -> CPU-only (~2.5 GB savings)
  - Silero VAD already runs on CPU via ONNX (onnx=True), CUDA PyTorch was waste
  - faster-whisper/CTranslate2 uses CUDA directly, no PyTorch GPU needed
  - torch+torchaudio layer: 3.3 GB -> 796 MB; total image 9+ GB -> 6.83 GB
  - Tested: Silero VAD loads (ONNX), Whisper loads on cuda, server ready

- llama-swap-rocm: add root .dockerignore to fix 31 GB build context
  - Dockerfile clones all sources from git, never COPYs from context
  - 19 GB of GGUF model files were being transferred on every build
  - Now excludes everything (*), near-zero context transfer

- anime-face-detector: add .dockerignore to exclude accumulated outputs
  - api/outputs/ (56 accumulated detection files) no longer baked into image
  - api/__pycache__/ and images/ also excluded

- .gitignore: remove .dockerignore exclusion so these files are tracked
2026-02-25 14:41:04 +02:00

80 lines
881 B
Plaintext

# ============================================
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
*.egg-info/
dist/
build/
# Virtual environments
venv/
env/
ENV/
# IDE
.vscode/
.idea/
*.swp
*.swo
# Models (too large for git)
models/*.gguf
models/*.bin
# Keep the directory structure
!models/.gitkeep
# Environment variables & Secrets
.env
.env.local
.env.*.local
*.secret
# Logs
*.log
logs/
# OS
.DS_Store
Thumbs.db
# Bot memory (contains user data)
bot/memory/*.json
bot/memory/autonomous_context.json
!bot/memory/.gitkeep
# Sensitive files
*credentials*.json
*secrets*.json
*keys*.json
*cookies*.json
# Test outputs
*.tmp
*.temp
test_output.*
output/
temp_*
# Audio files (except static assets)
*.mp3
*.wav
*.ogg
!static/audio/*.mp3
!static/audio/*.wav
# Images (except static assets)
*.png
*.jpg
*.jpeg
*.gif
!static/images/*
# Backups
backups/
*.bak
*.backup