Logo
Explore Help
Sign In
Koko210/miku-discord
1
0
Fork 0
You've already forked miku-discord
Code Issues 34 Pull Requests Actions Packages Projects Releases Wiki Activity
Files
a434f115613c97418755b1cf0175fcd5d2c58adb
miku-discord/face-detector/.dockerignore

7 lines
132 B
Plaintext
Raw Normal View History

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
# Exclude accumulated detection outputs (volume-mounted at runtime anyway)
api/outputs/
api/__pycache__/
__pycache__/
*.pyc
images/
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 33ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API