conda create --name tortoise python=3.9 numba inflect
conda activate tortoise
pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 --index-url https://download.pytorch.org/whl/cu118
pip install transformers==4.29.2
git clone https://github.com/neonbjb/tortoise-tts.git
cd tortoise-tts
python setup.py install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use a Python image with uv pre-installed | |
FROM ghcr.io/astral-sh/uv:python3.11-bookworm-slim | |
# Configure environment variables | |
# ENV DEBIAN_FRONTEND=noninteractive | |
ENV LC_ALL=C.UTF-8 | |
ENV LANG=C.UTF-8 | |
# Install system dependencies in a single layer + ffmpeg | |
RUN apt-get update --fix-missing --no-install-recommends && \ |