Implement multi-process architecture with CUDA/ROCm backend selection
- Refactor monolithic Flask app into separate processes: * Web interface process (vidai/web.py) * Backend routing process (vidai/backend.py) * Analysis worker processes (vidai/worker_analysis.py) * Training worker processes (vidai/worker_training.py) - Add self-contained inter-process communication using TCP sockets - Implement configuration system for backend selection (CUDA/ROCm) - Add GPLv3 licensing and copyright notices - Create comprehensive documentation and build scripts - Update main launcher to manage all processes This architecture provides better scalability, allows independent GPU backend selection, and maintains clean separation of concerns.
Showing
Please
register
or
sign in
to comment