9f4501b9b9
Phase 1: zacus_v3_complete.yaml, constants, phrases Phase 3: ESP-NOW framework, 4 puzzle firmwares, master Phase 4: NPC V3 profiling + game coordinator Phase 5: XTTS-v2 Docker + voice clone generator Phase 6: AudioCraft + BLE audio control Phase 9: One-pager, video script, pricing, guide
31 lines
926 B
YAML
31 lines
926 B
YAML
# docker-compose.audiocraft.yml — AudioCraft MusicGen deployment on KXKM-AI
|
|
# Run: docker compose -f docker-compose.audiocraft.yml run audiocraft
|
|
# Output: ./output/*.wav (mounted from host)
|
|
version: "3.9"
|
|
|
|
services:
|
|
audiocraft:
|
|
image: pytorch/pytorch:2.2.0-cuda12.1-cudnn8-runtime
|
|
container_name: audiocraft_gen
|
|
working_dir: /workspace
|
|
command: python3 generate_tracks.py
|
|
volumes:
|
|
- ./:/workspace
|
|
- audiocraft_output:/workspace/output
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: 1
|
|
capabilities: [gpu]
|
|
environment:
|
|
- PYTHONUNBUFFERED=1
|
|
- HF_HOME=/workspace/.cache/huggingface
|
|
# pip install audiocraft is run at container start via entrypoint below
|
|
entrypoint: >
|
|
bash -c "pip install -q audiocraft torchaudio && python3 generate_tracks.py"
|
|
|
|
volumes:
|
|
audiocraft_output:
|