怎么在服务器上安装xformers这个库吗
我安装了很多次都报错,PyTorch 2.3.0
Python 3.12(ubuntu22.04)
CUDA 12.1
安装对应版本的0.0.26.post1总是报错:
RuntimeError: Error compiling objects for extension [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for xformers Running setup.py clean for xformers Failed to build xformers ERROR: Could not build wheels for xformers, which is required to install pyproject.toml-based projects
xformers的安装
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
5条回答 默认 最新
关注pip install xformers==0.0.29.post3 torch==2.3.0 --index-url https://download.pytorch.org/whl/cu121
本回答被题主选为最佳回答 , 对您是否有帮助呢?评论 打赏 举报解决 1无用