69 lines
1.8 KiB
YAML
69 lines
1.8 KiB
YAML
services:
|
||
qwen3-tts-custom:
|
||
image: qwen3-tts-custom:${QWEN_TTS_VERSION:-1.2.1}
|
||
container_name: qwen3-tts-custom
|
||
restart: unless-stopped
|
||
gpus: all
|
||
environment:
|
||
HF_HOME: /cache/hf
|
||
HUGGINGFACE_HUB_CACHE: /cache/hf/hub
|
||
TRANSFORMERS_CACHE: /cache/hf/transformers
|
||
volumes:
|
||
- ./cache:/cache
|
||
- ./qwen3-tts-customer:/models/qwen3-custom:ro
|
||
ports:
|
||
- "8000:8000"
|
||
command: >
|
||
bash -lc "
|
||
qwen-tts-demo /models/qwen3-custom
|
||
--ip 0.0.0.0
|
||
--port 8000
|
||
--no-flash-attn
|
||
"
|
||
|
||
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
|
||
"
|
||
|
||
qwen3-tts-base:
|
||
image: qwen3-tts-base:${QWEN_TTS_VERSION:-1.2.1}
|
||
container_name: qwen3-tts-base
|
||
restart: unless-stopped
|
||
gpus: all
|
||
environment:
|
||
HF_HOME: /cache/hf
|
||
HUGGINGFACE_HUB_CACHE: /cache/hf/hub
|
||
TRANSFORMERS_CACHE: /cache/hf/transformers
|
||
volumes:
|
||
- ./cache:/cache
|
||
# 这里换成你本地 Base 模型目录(用于 voice clone)
|
||
- ./qwen3-tts-base:/models/qwen3-base:ro
|
||
ports:
|
||
- "8002:8000"
|
||
command: >
|
||
bash -lc "
|
||
qwen-tts-demo /models/qwen3-base
|
||
--ip 0.0.0.0
|
||
--port 8000
|
||
--no-flash-attn
|
||
"
|