尝试了很多此,成功安装。环境为:win10,python3.111,torch2.4.1,cuda12.4 使用CMD powershell会失败,不清楚原因。 将储存库clone到本地,然后运行cmd,进入仓库目录 执行 git checkout apex_no_distributed 执行 pip install -v --no-cache-dir ./ 终于成功安装
copying xformers/benchmarks/benchmark_mem_eff_attn_decoder.py -> build/lib.macosx-11.1-arm64-cpython-310/xformers/benchmarks copying xformers/benchmarks/benchmark_transformer.py -> build/lib.macosx-11.1-arm64-cpython-310/xformers/benchmarks copying xformers/benchmarks/benchmark_revnet....
[[Node: clone_0/squeezenet/fire4/expand/3x3/BatchNorm/cond/FusedBatchNorm_1/Switch_3/_613 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device_incarnation=1, tensor_name="...