Spaces:
Runtime error
Runtime error
Commit History
-
Add C++ compiler for PyTorch Moshi compilation
Peter Michael Gits +1: Claudev1.4.7 - Add build tools for Moshi text generation: - Added build-essential, g++, gcc to Dockerfile - Fixes: InvalidCxxCompiler: No working C++ compiler found - PyTorch needs C++ compiler for Moshi language model compilation - Now Moshi text generation should work on CPU Progress: Audio encoding ✅ → Text generation ready ✅ 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>17f8efe -
Revert to working OMP_NUM_THREADS approach from SHA 9201e6d
Peter Michael Gits +1: Claudev1.4.6 - REVERT to working configuration: - You confirmed SHA 9201e6d fixed OMP_NUM_THREADS issue cleanly - That used: Python os.environ override + simple CMD ['python', 'app.py'] - I kept changing Dockerfile CMD after it worked, causing regression - Reverting to proven working approach instead of complex shell commands Back to basics that worked! 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>a6a4464 -
Fix persistent OMP_NUM_THREADS override with unset + export
Peter Michael Gits +1: Claudev1.4.5 - CRITICAL: OMP_NUM_THREADS still being overridden by HF - HuggingFace keeps setting OMP_NUM_THREADS='3500m' despite Python override - Added unset OMP_NUM_THREADS && export OMP_NUM_THREADS=1 in CMD - Added debug echo to see actual value at startup - This should prevent libgomp crash: 'Invalid value for environment variable' 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>10a540d -
Fix libgomp OMP_NUM_THREADS Invalid value error with explicit export
Peter Michael Gits +1: Claudev1.3.12 - Research-based fix for persistent libgomp warning: - Root cause: OMP_NUM_THREADS getting set to empty string somewhere - Solution: Explicit export in CMD: 'export OMP_NUM_THREADS=1 && python app.py' - This ensures the variable is set to valid positive integer at runtime - Based on libgomp documentation: requires positive integer, not empty string 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>9f6a62e -
Fix CUDA memory issues and libgomp warning
Peter Michael Gits +1: Claudev1.3.11 - Critical memory management fixes: 1. Added PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True for fragmentation 2. Added torch.cuda.empty_cache() calls to free GPU memory 3. Added CPU fallback for Moshi model if CUDA OOM occurs 4. Added GPU memory logging for debugging 5. Fixed OMP_NUM_THREADS with quotes: ENV OMP_NUM_THREADS="1" 6. Disabled flash attention to reduce memory usage This should resolve both CUDA out of memory and libgomp warnings 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>812a43d -
Fix OMP_NUM_THREADS warning and restart loop issues
Peter Michael Gits +1: Claudev1.3.10 - Final fixes for clean startup: 1. Moved OMP_NUM_THREADS=1 to Dockerfile ENV (not Python os.environ) 2. Moved all HF cache environment variables to Dockerfile ENV 3. Extended health check timing: 300s start period, 60s interval, 5 retries (allows more time for Moshi model loading without failing health checks) 4. Cleaned up Python environment variable setting code Should eliminate both libgomp warning and restart loops 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>049566b
-
Fix main Dockerfile permission issue and update to working versions
Peter Michael Gits +1: Claudev1.3.8 - CRITICAL FIX: Main Dockerfile was trying to create /app/hf_cache as non-root user after WORKDIR created /app as root - Fixed directory creation order: create as root first, then switch users - Updated main app.py to use working cache-fixed version - Updated main requirements.txt to use compatible numpy>=1.26.0 version - This should resolve the persistent 'Permission denied' Docker build error 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>bb8fb42 -
Fix v1.3.7: Git config permissions - use non-root user for git operations
Verified signaturee0a39c1 -
Fix v1.3.1: Dockerfile - Add wget, tar for HF Spaces compatibility
Verified signature7718ce4 -
Deploy v1.3.0: Dockerfile - Official Moshi PyTorch STT implementation
Verified signature27f2588 -
Fix v1.1.3: Dockerfile - Remove complex deps causing wget/openvscode error
Verified signature8bc67f1 -
Fix Docker implementation: Upload Dockerfile for real-time WebSocket STT streaming
Verified signaturef81b15b -
Fix build errors: Update dependencies and Docker configuration
Peter Michael Gits +1: Claude- Fix moshi package installation (remove non-existent version pin) - Update PyTorch to compatible version 2.4.0 - Simplify Dockerfile with python:3.10-slim base image - Remove unnecessary system dependencies - Add datasets dependency for transformers compatibility Resolves build error in HuggingFace Space deployment 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>7ea77be -
Upload Dockerfile with huggingface_hub
Verified signature0d732a6