Ubuntu 22.04完整安装Xinference及解决依赖报错
注:文中使用的环境为Ubuntu 22.04 LTS + CUDA 12.4.1
1、创建conda环境
conda create -n xinference python==3.11 -y
conda activate xinference
2、安装Xinference
pip install "xinference[all]"
3、解决报错
Pytorch报错
根据Pytorch安装指引进行安装,重新执行命令即可。注意,一定要在Pytorch网站上按照你的系统和CUDA版本等选择。使用pip即可。例:
pip3


3531

被折叠的 条评论
为什么被折叠?



