安装xinference报错
ERROR: Failed building wheel for llama-cpp-python
Failed to build llama-cpp-python
ERROR: Could not build wheels for llama-cpp-python, which is required to install pyproject.toml-based projects
后找到一个加速器
wget https://git.886.be/https://github.com/abetlen/llama-cpp-python/releases/download/v0.2.88-cu122/llama_cpp_python-0.2.88-cp311-cp311-linux_x86_64.whl
pip install llama_cpp_python-0.2.88-cp311-cp311-linux_x86_64.whl
然后继续全量安装 xinference
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple "xinference[all]"
安装是成功的,
但是执行 下面命令时
xinference --version