Update README.md
Browse files
README.md
CHANGED
@@ -14,7 +14,7 @@ GLM-4-Voice 是智谱 AI 推出的端到端语音模型。GLM-4-Voice 能够直
|
|
14 |
### 创建虚拟环境
|
15 |
首先,确保使用Python 3.10,创建虚拟环境:
|
16 |
```bash
|
17 |
-
#
|
18 |
conda create -n GLM-4-Voice python=3.10
|
19 |
```
|
20 |
|
@@ -34,6 +34,9 @@ git clone https://hf-mirror.com/cydxg/glm-4-voice-9b-int4
|
|
34 |
```bash
|
35 |
cd glm-4-voice-9b-int4
|
36 |
pip install -r requirements.txt
|
|
|
|
|
|
|
37 |
# 根据自己的CUDA版本选择torch
|
38 |
conda install pytorch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 pytorch-cuda=12.4 -c pytorch -c nvidia
|
39 |
```
|
|
|
14 |
### 创建虚拟环境
|
15 |
首先,确保使用Python 3.10,创建虚拟环境:
|
16 |
```bash
|
17 |
+
# 亲测不支持python3.8/3.9/3.12,存在库兼容问题
|
18 |
conda create -n GLM-4-Voice python=3.10
|
19 |
```
|
20 |
|
|
|
34 |
```bash
|
35 |
cd glm-4-voice-9b-int4
|
36 |
pip install -r requirements.txt
|
37 |
+
mkdir third_party
|
38 |
+
cd third_party
|
39 |
+
git clone https://github.com/shivammehta25/Matcha-TTS Matcha-TTS
|
40 |
# 根据自己的CUDA版本选择torch
|
41 |
conda install pytorch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 pytorch-cuda=12.4 -c pytorch -c nvidia
|
42 |
```
|