From 446c2f6814d40c9b4bd46b64708ced0a625bfdd3 Mon Sep 17 00:00:00 2001 From: ekoc Date: Fri, 11 Jul 2025 20:33:20 +0200 Subject: [PATCH] Updating to CUDA 12.8, pytorch 2.7 and deepseepd 0.17.2 --- DOCKER_README.md | 9 +++++++-- Dockerfile | 2 +- docker/base/Dockerfile | 7 ++++--- docker/deepspeed/Dockerfile | 11 +---------- docker/variables.sh | 4 ++-- system/tts_engines/rvc/lib/utils.py | 12 ++++++------ 6 files changed, 21 insertions(+), 24 deletions(-) diff --git a/DOCKER_README.md b/DOCKER_README.md index 098f883..2a531f6 100644 --- a/DOCKER_README.md +++ b/DOCKER_README.md @@ -3,7 +3,7 @@ The Docker image currently works on Windows and Linux supporting NVIDIA GPUs. ## System requirements - AMD compatible Windows or Linux system -- CUDA 12.6 +- CUDA 12.8 - Nvidia Docker Container Toolkit - At least 25GB of free disk space @@ -34,7 +34,7 @@ visit `http://localhost:7851/`. See instructions below for passing more argument 4. Download CUDA toolkit keyring: `wget https://developer.download.nvidia.com/compute/cuda/repos/wsl-ubuntu/x86_64/cuda-keyring_1.1-1_all.deb` 5. Install keyring: `sudo dpkg -i cuda-keyring_1.1-1_all.deb` 6. Update package list: `sudo apt-get update` -7. Install CUDA toolkit: `sudo apt-get -y install cuda-toolkit-12-6` +7. Install CUDA toolkit: `sudo apt-get -y install cuda-toolkit-12-8` 8. Install Docker Desktop using WSL2 as the backend 9. Restart 10. If you wish to monitor the terminal remotely via SSH, follow [this guide](https://www.hanselman.com/blog/how-to-ssh-into-wsl2-on-windows-10-from-an-external-machine). @@ -108,3 +108,8 @@ reason, you may want to use `docker-build.sh` with the following arguments: - Example: `docker-build.sh --clean` +# Older images +- CUDA 12.6: + - XTTS Dockerhub hash: sha256:fd4741714af0c82e4e7a66bf9ae47c98f3e51ebefdb3af5795b47d41ca5fb159 + - VITS Dockerhub hash: sha256:9f411e8fdb997486bc217fcd316bf6b163c39736655ea3400028ad4fcc5c60f9 + - Piper: Dockerhub hash: sha256:6ae2520051bb00a0356dc4ed80a33bf6784cb567b59759af46046ddcf356b765 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 2b0baf9..cc57a77 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ FROM ${DOCKER_REPOSITORY}alltalk_tts_environment:${DOCKER_TAG} ARG TTS_MODEL="xtts" ENV TTS_MODEL=$TTS_MODEL -ARG DEEPSPEED_VERSION=0.16.2 +ARG DEEPSPEED_VERSION=0.17.2 ENV DEEPSPEED_VERSION=$DEEPSPEED_VERSION ENV GRADIO_SERVER_NAME="0.0.0.0" diff --git a/docker/base/Dockerfile b/docker/base/Dockerfile index 59a2a51..abb137e 100644 --- a/docker/base/Dockerfile +++ b/docker/base/Dockerfile @@ -1,6 +1,6 @@ FROM continuumio/miniconda3:24.7.1-0 AS build -ARG CUDA_VERSION=12.6.0 +ARG CUDA_VERSION=12.8.1 ENV CUDA_VERSION=$CUDA_VERSION ARG PYTHON_VERSION=3.11.11 @@ -53,7 +53,8 @@ RUN < 2.6 +import sys +sys.path = [str(p) for p in sys.path] + +from fairseq import checkpoint_utils +import torch import logging logging.getLogger("fairseq").setLevel(logging.WARNING) import sys -import os import numpy as np -import asyncio import ffmpeg from pathlib import Path -import subprocess # Get the parent directory of the current file this_dir = Path(__file__).resolve().parent.parent.parent.parent.parent