前言
部署人工智能开源模型的过程中,一定会遇到各种坑。这个系列我想针对conda做个总结,名字就叫“一定要用conda,不然会出错”。
一、部署方法
git clone --recursive https://github.com/FunAudioLLM/CosyVoice.git
cd CosyVoice
git submodule update --init --recursive
conda create -n cosyvoice python=3.8
conda activate cosyvoice
conda install -y -c conda-forge pynini==2.1.5
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host