Download TTS/Dockerfile from MrAR/tts_trainer: direct link, hf CLI and curl.
- Browser
- Download file 776 Bytes
-
https://huggingface.co/datasets/MrAR/tts_trainer/resolve/main/TTS/Dockerfile
- Command line
-
hf download hf://datasets/MrAR/tts_trainer/TTS/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/datasets/MrAR/tts_trainer/resolve/main/TTS/Dockerfile
776 Bytes
| ARG BASE=nvcr.io/nvidia/pytorch:22.03-py3 | |
| FROM ${BASE} | |
| RUN apt-get update && apt-get install -y --no-install-recommends gcc g++ make python3 python3-dev python3-pip python3-venv python3-wheel espeak espeak-ng libsndfile1-dev && rm -rf /var/lib/apt/lists/* | |
| RUN pip install llvmlite --ignore-installed | |
| # Create and activate virtual env | |
| ENV VIRTUAL_ENV=/venv | |
| RUN python3 -m venv $VIRTUAL_ENV | |
| ENV PATH="$VIRTUAL_ENV/bin:$PATH" | |
| RUN pip install -U pip setuptools wheel | |
| WORKDIR /root | |
| COPY requirements.txt /root | |
| COPY requirements.dev.txt /root | |
| COPY requirements.notebooks.txt /root | |
| RUN ["/bin/bash", "-c", "pip install -r <(cat requirements.txt requirements.dev.txt requirements.notebooks.txt)"] | |
| COPY . /root | |
| RUN make install | |
| ENTRYPOINT ["tts"] | |
| CMD ["--help"] | |