Add optional 44.1 kHz X-VC enhancement

This commit is contained in:
Mikei386 committed 2026-09-09 17:21:20 +02:00
1 parent b4f4bf37fd
commit 51ed201f6c
9 files changed
+128 -14

No files matched your search

@@ -29,6 +29,19 @@ RUN python -m pip install --no-cache-dir --upgrade pip \
RUN python -m pip install --no-cache-dir "descript-audiotools==0.7.2"
# Resemble Enhance declares old training-time pins for PyTorch, Gradio and
# DeepSpeed. Install only its inference code plus the small modules imported by
# that path, then remove the two unnecessary training imports. X-VC keeps the
# CUDA 12.8 / PyTorch 2.8 runtime required by the RTX 5080.
RUN python -m pip install --no-cache-dir --no-deps "resemble-enhance==0.0.1" \
&& python -m pip install --no-cache-dir \
"numpy==1.26.4" "scipy==1.11.4" \
"librosa==0.10.1" "soundfile==0.12.1" \
"matplotlib>=3.8,<4" "pandas>=2.1,<3" "rich>=13,<15" "tabulate>=0.9,<1"
COPY patch_resemble_enhance.py /tmp/patch_resemble_enhance.py
RUN python /tmp/patch_resemble_enhance.py && rm /tmp/patch_resemble_enhance.py
COPY app.py /opt/xvc/local_webui.py
COPY inference_log.py /opt/xvc/utils/log.py