Fix Seed-VC startup readiness and clarify Applio models
This commit is contained in:
1 parent
13a6714b2b
commit
4cdd837482
7 files changed
+18
-10
No files matched your search
@@ -3,7 +3,8 @@ FROM nvidia/cuda:12.8.1-cudnn-runtime-ubuntu22.04
|
||||
ARG SEED_VC_COMMIT=51383efd921027683c89e5348211d93ff12ac2a8
|
||||
ENV DEBIAN_FRONTEND=noninteractive \
|
||||
PIP_DISABLE_PIP_VERSION_CHECK=1 \
|
||||
HF_HOME=/models/huggingface
|
||||
HF_HOME=/models/huggingface \
|
||||
PYTHONUNBUFFERED=1
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
build-essential ca-certificates curl ffmpeg git libsndfile1 python3 python3-dev python3-pip \
|
||||
@@ -17,7 +18,8 @@ RUN git clone https://github.com/Plachtaa/seed-vc.git . \
|
||||
torch==2.7.1 torchvision==0.22.1 torchaudio==2.7.1 \
|
||||
--index-url https://download.pytorch.org/whl/cu128 \
|
||||
&& python3 -m pip install --no-cache-dir -r requirements.txt \
|
||||
&& sed -i 's/demo\.launch()/demo.launch(server_name="0.0.0.0", server_port=7860)/' app.py
|
||||
&& sed -i 's/demo\.launch()/demo.launch(server_name="0.0.0.0", server_port=7860)/' app.py \
|
||||
&& sed -i '/if args.enable_v1:/a\ print("Loading V1 models...", flush=True)\n from seed_vc_wrapper import SeedVCWrapper\n vc_wrapper_v1 = SeedVCWrapper()\n print("V1 models ready.", flush=True)' app.py
|
||||
|
||||
EXPOSE 7860
|
||||
CMD ["python3", "app.py", "--enable-v1"]
|
||||
@@ -9,6 +9,8 @@ Gradio-Oberfläche. Der Build ist auf Upstream-Commit
|
||||
- GPU: RTX 5080, exklusiv zu LLM, Musik- und anderen Voice-Modi
|
||||
- Persistenz: Hugging-Face-Cache unter `/data/huggingface`
|
||||
|
||||
Das Image enthält den Programmcode. Die benötigten Modellgewichte werden beim
|
||||
ersten tatsächlichen Einsatz in den persistenten Cache geladen.
|
||||
|
||||
Das Image enthält den Programmcode. Beim Moduswechsel werden sämtliche
|
||||
V1-Teilmodelle geladen, bevor der Healthcheck den Dienst als bereit meldet. Die
|
||||
benötigten Modellgewichte bleiben unter `/data/voice/seed-vc/checkpoints`
|
||||
erhalten; dadurch blockiert nicht mehr der erste Konvertierungsauftrag scheinbar
|
||||
ohne Fortschritt.
|
||||
@@ -15,6 +15,7 @@ services:
|
||||
- "127.0.0.1:8010:7860"
|
||||
volumes:
|
||||
- /data/voice/seed-vc/huggingface:/models/huggingface
|
||||
- /data/voice/seed-vc/checkpoints:/app/checkpoints
|
||||
- /data/voice/seed-vc/output:/app/results
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:7860/ >/dev/null"]
|
||||
|
||||
Reference in new issue
Block a user