1.基本环境
ubuntu22.04
cuda 12.4
显卡:RTX2080Ti
anaconda
2 Qwen2-Audio安装
2.1 仓库克隆
# 国内github镜像克隆
git clone https://mirror.ghproxy.com/https://github.com/QwenLM/Qwen2-Audio.git
# 进入目录
cd Qwen2-Audio/
2.2 安装依赖
2.2.1 创建进入虚拟环境
# 1.创建虚拟环境
conda create -n qwen2 python=3.10
# 2.激活环境
conda activate qwen2
2.2.2安装依赖
(1)设置清华源、更新pip
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
python -m pip install --upgrade pip