Views
No views yet
1# 亲测不支持python3.8/3.9/3.12,存在库兼容问题
2conda create -n GLM-4-Voice python=3.101conda activate GLM-4-Voice
2git clone https://huggingface.co/cydxg/glm-4-voice-9b-int8git clone https://hf-mirror.com/cydxg/glm-4-voice-9b-int81cd glm-4-voice-9b-int8
2conda install -c conda-forge openfst
3conda install -c conda-forge pynini==2.1.5
4pip install -r requirements.txt
5mkdir third_party
6cd third_party
7git clone https://github.com/shivammehta25/Matcha-TTS Matcha-TTS
8# 根据自己的CUDA版本选择torch
9conda install pytorch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 pytorch-cuda=12.4 -c pytorch -c nvidiapython model_server.pypython web_demo.pyhttp://localhost:8888 来使用模型。ModuleNotFoundError: No module named 'matcha.models'; 'matcha' is not a package1# 先卸载 gradio 和 diffusers ,避免出现版本冲突
2pip uninstall gradio
3pip uninstall diffusers
4pip install matcha-tts