2025-06-03 21:05:14 +08:00
|
|
|
## Requirements
|
|
|
|
|
|
|
|
- GPU Memory: 12GB (Inference)
|
|
|
|
- System: Linux, WSL
|
|
|
|
|
|
|
|
## Setup
|
|
|
|
|
|
|
|
First you need install pyaudio and sox, which is used for audio processing.
|
|
|
|
|
|
|
|
``` bash
|
|
|
|
apt install portaudio19-dev libsox-dev ffmpeg
|
|
|
|
```
|
|
|
|
|
|
|
|
### Conda
|
|
|
|
|
|
|
|
```bash
|
|
|
|
conda create -n fish-speech python=3.12
|
|
|
|
conda activate fish-speech
|
|
|
|
|
|
|
|
pip install -e .
|
|
|
|
```
|
|
|
|
|
|
|
|
### UV
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
|
|
|
uv sync --python 3.12
|
|
|
|
```
|
2025-06-12 06:13:02 -03:00
|
|
|
### Intel Arc XPU support
|
|
|
|
|
|
|
|
```bash
|
|
|
|
conda create -n fish-speech python=3.12
|
|
|
|
conda activate fish-speech
|
|
|
|
|
|
|
|
conda install libstdcxx -c conda-forge
|
|
|
|
|
|
|
|
pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/xpu
|
|
|
|
|
|
|
|
pip install -e .
|
|
|
|
```
|
2025-06-03 21:05:14 +08:00
|
|
|
|
|
|
|
!!! warning
|
|
|
|
The `compile` option is not supported on windows and macOS, if you want to run with compile, you need to install trition by yourself.
|