截止目前最新的Linux&Windows系统平台上pip安装的xformers版本与pytorch版本和CUDA版本关系对照表
xformers pytorch CUDA v0.0.29.post2 torch==2.6.0 cu118,cu124,cu126 0.0.29.post1,0.0.29,0.0.28.post3 torch==2.5.1 cu118,cu121,cu124 0.0.28.post2 torch==2.5.0 cu118,cu121,cu124 0.0.28.post1 torch==2.4.1 cu118,cu121,cu124 0.0.27.post1,0.0.27.post2 torch==2.3.1 cu118,cu121 0.0.27 torch==2.3.0 cu118,cu121 0.0.26 torch==2.2.0 cu118,cu121 0.0.25 torch==2.2.0 cu118,cu121 0.0.24 torch==2.2.0 cu118,cu121 0.0.23 torch==2.1.1 cu118,cu121 0.0.22.post7 torch==2.1.0 cu118,cu121 0.0.22 torch==2.0.1 0.0.21 torch==2.0.1 0.0.20 torch==2.0.1 0.0.19 torch==2.0.0 0.0.18 torch==2.0.0 0.0.17 torch==1.13.1
xformers whl下载链接:https://download.pytorch.org/whl/xformers/