kokoro-fastapi,pytouch2.6镜像p4等老卡可用 先同步https://github.com/remsky/Kokoro-FastAPI 将docker-cmpose.yml,替换docker/gpu下的docker-cmpose.yml文件。
docker-compose参考如下
services:
kokoro-tts:
image: kokoro-fastapi:touch2.6
runtime: nvidia
volumes:
- ../../api:/app/api
user: "1001:1001" # Ensure container runs as UID 1001 (appuser)
stdin_open: true # 分配一个伪终端
tty: true # 保持伪终端打开
ports:
- "8880:8880"
environment:
- PYTHONPATH=/app:/app/api
- USE_GPU=true
- PYTHONUNBUFFERED=1
- TZ=Asia/Shanghai
- NVIDIA_DRIVER_CAPABILITIES=compute,utility
- NVIDIA_VISIBLE_DEVICES=1
Content type
Image
Digest
sha256:c0b4effd0…
Size
7.8 GB
Last updated
about 1 year ago
docker pull xbl916/kokoro-fastapi:touch2.6