Major architecture overhaul to address RunPod Docker limitations: Core Infrastructure: - Add base_service.py: Abstract base class for all AI services - Add service_manager.py: Process lifecycle management - Add core/requirements.txt: Core dependencies Model Services (Standalone Python): - Add models/vllm/server.py: Qwen 2.5 7B text generation - Add models/flux/server.py: Flux.1 Schnell image generation - Add models/musicgen/server.py: MusicGen Medium music generation - Each service inherits from GPUService base class - OpenAI-compatible APIs - Standalone execution support Ansible Deployment: - Add playbook.yml: Comprehensive deployment automation - Add ansible.cfg: Ansible configuration - Add inventory.yml: Localhost inventory - Tags: base, python, dependencies, models, tailscale, validate, cleanup Scripts: - Add scripts/install.sh: Full installation wrapper - Add scripts/download-models.sh: Model download wrapper - Add scripts/start-all.sh: Start orchestrator - Add scripts/stop-all.sh: Stop all services Documentation: - Update ARCHITECTURE.md: Document distributed VPS+GPU architecture Benefits: - No Docker: Avoids RunPod CAP_SYS_ADMIN limitations - Fully reproducible via Ansible - Extensible: Add models in 3 steps - Direct Python execution (no container overhead) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
22 lines
399 B
Plaintext
22 lines
399 B
Plaintext
# Flux.1 Image Generation Service Dependencies
|
|
|
|
# Diffusers library (for Flux.1 pipeline)
|
|
diffusers==0.30.0
|
|
|
|
# PyTorch (required by diffusers)
|
|
torch==2.1.0
|
|
torchvision==0.16.0
|
|
|
|
# Transformers (for model components)
|
|
transformers==4.36.0
|
|
|
|
# Image processing
|
|
Pillow==10.1.0
|
|
|
|
# Accelerate (for optimizations)
|
|
accelerate==0.25.0
|
|
|
|
# Additional dependencies for Flux
|
|
sentencepiece==0.1.99
|
|
protobuf==4.25.1
|