GPT-SoVITS Docker & Self-Hosted Deployment

GitHub

1 min voice data can also be used to train a good TTS model! (few shot voice cloning)

63,510 stars Python Python 1 file ยท ~21,347 tokens #text-to-speech#tts#vits#voice-clone#voice-cloneai#voice-cloning
RAW Compose
1. Pull Image (DOCKERHUB) docker pull xxxxrt666/gpt-sovits
2. Docker Run (1-Click Launch) docker run -d --name gpt-sovits -p 9871:9871 --restart always xxxxrt666/gpt-sovits:latest-cu126
3. Podman Run podman run -d --name gpt-sovits -p 9871:9871 --restart always xxxxrt666/gpt-sovits:latest-cu126
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/xxxxrt666/gpt-sovits:latest-cu126
5. ORAS Pull (OCI Artifact) oras pull xxxxrt666/gpt-sovits:latest-cu126
6. Compose Deployment docker compose up -d
docker-compose.yaml
Download .yml
version: "3.8"

services:
  GPT-SoVITS-CU126:
    image: xxxxrt666/gpt-sovits:latest-cu126
    container_name: GPT-SoVITS-CU126
    ports:
      - "9871:9871"
      - "9872:9872"
      - "9873:9873"
      - "9874:9874"
      - "9880:9880"
    volumes:
      - .:/workspace/GPT-SoVITS
    environment:
      - is_half=true
    tty: true
    stdin_open: true
    shm_size: "16g"
    restart: unless-stopped
    runtime: nvidia
  GPT-SoVITS-CU126-Lite:
    image: xxxxrt666/gpt-sovits:latest-cu126-lite
    container_name: GPT-SoVITS-CU126-Lite
    ports:
      - "9871:9871"
      - "9872:9872"
      - "9873:9873"
      - "9874:9874"
      - "9880:9880"
    volumes:
      - .:/workspace/GPT-SoVITS
      - tools/asr/models:/workspace/models/asr_models
      - tools/uvr5/uvr5_weights:/workspace/models/uvr5_weights
    environment:
      - is_half=true
    tty: true
    stdin_open: true
    shm_size: "16g"
    restart: unless-stopped
    runtime: nvidia
  GPT-SoVITS-CU128:
    image: xxxxrt666/gpt-sovits:latest-cu128
    container_name: GPT-SoVITS-CU128
    ports:
      - "9871:9871"
      - "9872:9872"
      - "9873:9873"
      - "9874:9874"
      - "9880:9880"
    volumes:
      - .:/workspace/GPT-SoVITS
    environment:
      - is_half=true
    tty: true
    stdin_open: true
    shm_size: "16g"
    restart: unless-stopped
    runtime: nvidia
  GPT-SoVITS-CU128-Lite:
    image: xxxxrt666/gpt-sovits:latest-cu128-lite
    container_name: GPT-SoVITS-CU128-Lite
    ports:
      - "9871:9871"
      - "9872:9872"
      - "9873:9873"
      - "9874:9874"
      - "9880:9880"
    volumes:
      - .:/workspace/GPT-SoVITS
      - tools/asr/models:/workspace/models/asr_models
      - tools/uvr5/uvr5_weights:/workspace/models/uvr5_weights
    environment:
      - is_half=true
    tty: true
    stdin_open: true
    shm_size: "16g"
    restart: unless-stopped
    runtime: nvidia