Update README

This commit is contained in:
Wu Zichen
2024-01-27 18:43:17 +08:00
parent fd89bb09d6
commit 5f39686b09
3 changed files with 30 additions and 9 deletions

View File

@@ -43,12 +43,19 @@ https://github.com/RVC-Boss/GPT-SoVITS/assets/129054828/05bee1fa-bdd8-4d85-9350-
- Python 3.9、PyTorch 2.0.1和CUDA 11
- Python 3.10.13, PyTorch 2.1.2和CUDA 12.3
- Python 3.9、Pytorch 2.3.0.dev20240122和macOS 14.3Apple 芯片,MPS
- Python 3.9、Pytorch 2.3.0.dev20240122和macOS 14.3Apple 芯片,GPU
_注意: numba==0.56.4 需要 python<3.11_
### Mac 用户
如果你是Mac用户使用以下命令安装
如果你是Mac用户先确保满足以下条件以使用GPU进行训练和推理
- 搭载Apple芯片或AMD GPU的Mac
- macOS 12.3或更高版本
- 已通过运行`xcode-select --install`安装Xcode command-line tools
_其他Mac仅支持使用CPU进行推理_
然后使用以下命令安装:
#### 创建环境
```bash
conda create -n GPTSoVits python=3.9
@@ -60,7 +67,7 @@ pip install -r requirements.txt
pip uninstall torch torchaudio
pip3 install --pre torch torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
```
_注意如需使用UVR5进行预处理建议[下载原项目GUI](https://github.com/Anjok07/ultimatevocalremovergui)勾选GPU运行。另外使用Mac推理时可能存在内存泄漏问题重启推理UI即可释放内存。_
_注意如需使用UVR5进行预处理建议[下载原项目GUI](https://github.com/Anjok07/ultimatevocalremovergui),勾选GPU Conversion”。另外可能会出现内存泄漏问题主要体现在推理时。重启推理webUI可以释放内存。_
### 使用Conda快速安装
```bash