diff --git a/tts/VALL-E-X/Dockerfile b/tts/VALL-E-X/Dockerfile index 183ad75..3b6a803 100644 --- a/tts/VALL-E-X/Dockerfile +++ b/tts/VALL-E-X/Dockerfile @@ -1,24 +1,31 @@ # Use ubuntu as the base image from the hub # then have to build this as a image. FROM nvidia/cuda:12.2.0-devel-ubuntu20.04 -# Optional: Set environment variables -ENV MY_ENV_VARIABLE=value + ENV DEBIAN_FRONTEND=noninteractive -# Optional: Run commands to set up the image + RUN apt-get update && apt-get install -y curl # Preconfigure package selections (as an example) RUN echo "package-name package-name/some-option select option-value" | debconf-set-selections && \ apt-get install -y software-properties-common + RUN apt install software-properties-common -y + RUN add-apt-repository ppa:deadsnakes/ppa -RUN apt install python3.10 -y + +RUN sudo apt-get update +RUN sudo apt-get install python3.8 python3.8-venv python3.8-dev + +#RUN apt install python3.10 -y RUN apt-get install -y git RUN sudo apt install ffmpeg + + # Clone the repository # RUN pwd -RUN pip3 install requirements.txt +RUN pip3 install requirements-pinned.txt # Navigate to the cloned directory and checkout the specific commit WORKDIR TestingDockerIO diff --git a/tts/VALL-E-X/requirements-pinned.txt b/tts/VALL-E-X/requirements-pinned.txt new file mode 100644 index 0000000..892447c --- /dev/null +++ b/tts/VALL-E-X/requirements-pinned.txt @@ -0,0 +1,25 @@ +soundfile +numpy +torch +torchvision +torchaudio +tokenizers +encodec +langid +wget +unidecode +pyopenjtalk-prebuilt +pypinyin +inflect +cn2an +jieba +eng_to_ipa +# openai-whisper +openai-whisper==20230918 +phonemizer==3.2.0 +matplotlib +gradio +nltk +sudachipy +sudachidict_core +vocos