24 lines
686 B
YAML
24 lines
686 B
YAML
services:
|
|
qwen3-tts-voicedesign:
|
|
image: qwen3-tts-voicedesign:${QWEN_TTS_VERSION:-1.2.1}
|
|
container_name: qwen3-tts-voicedesign
|
|
restart: unless-stopped
|
|
gpus: all
|
|
environment:
|
|
HF_HOME: /cache/hf
|
|
HUGGINGFACE_HUB_CACHE: /cache/hf/hub
|
|
TRANSFORMERS_CACHE: /cache/hf/transformers
|
|
volumes:
|
|
- ./cache:/cache
|
|
# 这里换成你本地 VoiceDesign 模型目录(你需要提前下载好)
|
|
- ./qwen3-tts-design:/models/qwen3-voicedesign:ro
|
|
ports:
|
|
- "8001:8000"
|
|
command: >
|
|
bash -lc "
|
|
qwen-tts-demo /models/qwen3-voicedesign
|
|
--ip 0.0.0.0
|
|
--port 8000
|
|
--no-flash-attn
|
|
"
|