24 lines
632 B
YAML
24 lines
632 B
YAML
services:
|
||
qwen3-tts-clone:
|
||
image: qwen3-tts-clone:${QWEN_TTS_VERSION:-1.2.1}
|
||
build: .
|
||
container_name: qwen3-tts-clone
|
||
restart: unless-stopped
|
||
gpus: all
|
||
environment:
|
||
HF_HOME: /cache/hf
|
||
HUGGINGFACE_HUB_CACHE: /cache/hf/hub
|
||
TRANSFORMERS_CACHE: /cache/hf/transformers
|
||
volumes:
|
||
# 这里换成你本地 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
|
||
"
|