How to install SWivid/F5-TTS. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.
SWivid/F5-TTS Installation Guide
How to install SWivid/F5-TTS. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for SWivid/F5-TTS. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i SWivid/F5-TTSor
Install via npx
npx @hexmos/ipm i SWivid/F5-TTSPrerequisites
Python
languageVersion: 3.10.0 or later
PyTorch
package_managerVersion: 2.4.0 or later
Hugging Face Transformers
libraryVersion: 4.31.0 or later
Triton Inference Server
system_toolFor inference on GPU.
TensorRT-LLM
libraryVersion: 1.0.0 or later
Accelerate
package_managerVersion: 2.4.0 or later
Pre-commit
package_managerVersion: 1.3.0 or later
Manual Installation Methods
Manual installation instructions. How to install from GitHub source.
Local Editable (with pip)
git clone https://github.com/SWivid/F5-TTS.git
cd F5-TTS
pip install -e . Docker (with Docker Compose)
docker build -t f5tts:v1 .
docker container run --rm -it --gpus=all --mount 'type=volume,source=f5-tts,target=/root/.cache/huggingface/hub/' -p 7860:7860 ghcr.io/swivid/f5-tts:mainConda (with Python)
conda create -n f5-tts python=3.11
pip install torch==2.4.0+cu124 torchaudio==2.4.0+cu124 --extra-index-url https://download.pytorch.org/whl/cu124Post Installation Steps
- Start the server: `python -m f5-tts.server`
- Run migrations: `python manage.py makemigrations` followed by `python manage.py migrate`
