- Switch default TTS engine from Piper to Qwen3-TTS (1.7B params) - Upgrade to Python 3.12 - Add docker-compose.cpu.yml for CPU-only deployments - Improve GPU configuration with NVIDIA environment variables - Comment out optional engines (Piper, XTTS, Silero, Kokoro) in requirements - Update Makefile with local/local-cpu targets and venv support - Simplify voice_to_speaker.default.yaml for Qwen3-TTS voices - Update docs/MODELS.md with Qwen3-TTS documentation - Add git commit guidelines to CLAUDE.md
28 lines
783 B
YAML
28 lines
783 B
YAML
# GPU configuration (NVIDIA CUDA)
|
|
# Requires: nvidia-container-toolkit installed on host
|
|
# Install: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html
|
|
|
|
services:
|
|
server:
|
|
build:
|
|
dockerfile: Dockerfile
|
|
image: uncloseai-speech:local
|
|
env_file: speech.env
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
- ./voices:/app/voices
|
|
- ./config:/app/config
|
|
environment:
|
|
- NVIDIA_VISIBLE_DEVICES=all
|
|
- NVIDIA_DRIVER_CAPABILITIES=compute,utility
|
|
restart: unless-stopped
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
# Uncomment to select specific GPU(s):
|
|
# device_ids: ['0']
|
|
count: all
|
|
capabilities: [gpu]
|