facebookresearch / xformers

Hackable and optimized Transformers building blocks, supporting a composable construction.
https://facebookresearch.github.io/xformers/
Other
8.61k stars 611 forks source link

'flash_attn/*.so can't find ' error when use install command :'pip install -v -U **' , linux + torch1.13.1+cu117 #889

Open bzwqq opened 1 year ago

bzwqq commented 1 year ago

❓ Questions and Help

pip install -v -U git+https://github.com/facebookresearch/xformers.git@main#egg=xformers Using pip 23.2.1 from /data/anaconda3/envs/sd/lib/python3.10/site-packages/pip (python 3.10) Collecting xformers Cloning https://github.com/facebookresearch/xformers.git (to revision main) to /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab Running command git version git version 2.19.1 Running command git clone --filter=blob:none https://github.com/facebookresearch/xformers.git /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab Cloning into '/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab'... Checking out files: 0% (2/586) Checking out files: 1% (6/586) Checking out files: 2% (12/586) Checking out files: 3% (18/586) Checking out files: 4% (24/586) Checking out files: 5% (30/586) Checking out files: 6% (36/586) Checking out files: 7% (42/586) Checking out files: 8% (47/586) Checking out files: 9% (53/586) Checking out files: 10% (59/586) Checking out files: 11% (65/586) Checking out files: 12% (71/586) Checking out files: 13% (77/586) Checking out files: 14% (83/586) Checking out files: 15% (88/586) Checking out files: 16% (94/586) Checking out files: 17% (100/586) Checking out files: 18% (106/586) Checking out files: 19% (112/586) Checking out files: 20% (118/586) Checking out files: 21% (124/586) Checking out files: 22% (129/586) Checking out files: 23% (135/586) Checking out files: 24% (141/586) Checking out files: 25% (147/586) Checking out files: 26% (153/586) Checking out files: 27% (159/586) Checking out files: 28% (165/586) Checking out files: 29% (170/586) Checking out files: 30% (176/586) Checking out files: 31% (182/586) Checking out files: 32% (188/586) Checking out files: 33% (194/586) Checking out files: 34% (200/586) Checking out files: 35% (206/586) Checking out files: 36% (211/586) Checking out files: 37% (217/586) Checking out files: 38% (223/586) Checking out files: 39% (229/586) Checking out files: 40% (235/586) Checking out files: 41% (241/586) Checking out files: 42% (247/586) Checking out files: 43% (252/586) Checking out files: 44% (258/586) Checking out files: 45% (264/586) Checking out files: 46% (270/586) Checking out files: 47% (276/586) Checking out files: 48% (282/586) Checking out files: 49% (288/586) Checking out files: 50% (293/586) Checking out files: 51% (299/586) Checking out files: 52% (305/586) Checking out files: 53% (311/586) Checking out files: 54% (317/586) Checking out files: 55% (323/586) Checking out files: 56% (329/586) Checking out files: 57% (335/586) Checking out files: 58% (340/586) Checking out files: 59% (346/586) Checking out files: 60% (352/586) Checking out files: 61% (358/586) Checking out files: 62% (364/586) Checking out files: 63% (370/586) Checking out files: 64% (376/586) Checking out files: 65% (381/586) Checking out files: 66% (387/586) Checking out files: 67% (393/586) Checking out files: 68% (399/586) Checking out files: 69% (405/586) Checking out files: 70% (411/586) Checking out files: 71% (417/586) Checking out files: 72% (422/586) Checking out files: 73% (428/586) Checking out files: 74% (434/586) Checking out files: 75% (440/586) Checking out files: 76% (446/586) Checking out files: 77% (452/586) Checking out files: 78% (458/586) Checking out files: 79% (463/586) Checking out files: 80% (469/586) Checking out files: 81% (475/586) Checking out files: 82% (481/586) Checking out files: 83% (487/586) Checking out files: 84% (493/586) Checking out files: 85% (499/586) Checking out files: 86% (504/586) Checking out files: 87% (510/586) Checking out files: 88% (516/586) Checking out files: 89% (522/586) Checking out files: 90% (528/586) Checking out files: 91% (534/586) Checking out files: 92% (540/586) Checking out files: 93% (545/586) Checking out files: 94% (551/586) Checking out files: 95% (557/586) Checking out files: 96% (563/586) Checking out files: 97% (569/586) Checking out files: 98% (575/586) Checking out files: 99% (581/586) Checking out files: 100% (586/586) Checking out files: 100% (586/586), done. Running command git show-ref main 16e4245e02f47883b6b43065a0e26dfb12e14e33 refs/heads/main 16e4245e02f47883b6b43065a0e26dfb12e14e33 refs/remotes/origin/main Running command git symbolic-ref -q HEAD refs/heads/main Resolved https://github.com/facebookresearch/xformers.git to commit 16e4245e02f47883b6b43065a0e26dfb12e14e33 Running command git submodule update --init --recursive -q Running command git rev-parse HEAD 16e4245e02f47883b6b43065a0e26dfb12e14e33 Running command python setup.py egg_info running egg_info creating /tmp/pip-pip-egg-info-qwy1_es4/xformers.egg-info writing /tmp/pip-pip-egg-info-qwy1_es4/xformers.egg-info/PKG-INFO writing dependency_links to /tmp/pip-pip-egg-info-qwy1_es4/xformers.egg-info/dependency_links.txt writing requirements to /tmp/pip-pip-egg-info-qwy1_es4/xformers.egg-info/requires.txt writing top-level names to /tmp/pip-pip-egg-info-qwy1_es4/xformers.egg-info/top_level.txt writing manifest file '/tmp/pip-pip-egg-info-qwy1_es4/xformers.egg-info/SOURCES.txt' reading manifest file '/tmp/pip-pip-egg-info-qwy1_es4/xformers.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'third_party/flash-attention/version.txt' adding license file 'LICENSE' writing manifest file '/tmp/pip-pip-egg-info-qwy1_es4/xformers.egg-info/SOURCES.txt' Preparing metadata (setup.py) ... done Requirement already satisfied: torch>=1.12 in /data/anaconda3/envs/sd/lib/python3.10/site-packages (from xformers) (1.13.1) Requirement already satisfied: numpy in /data/anaconda3/envs/sd/lib/python3.10/site-packages (from xformers) (1.26.0) Requirement already satisfied: typing-extensions in /data/anaconda3/envs/sd/lib/python3.10/site-packages (from torch>=1.12->xformers) (4.7.1) Requirement already satisfied: nvidia-cuda-runtime-cu11==11.7.99 in /data/anaconda3/envs/sd/lib/python3.10/site-packages (from torch>=1.12->xformers) (11.7.99) Requirement already satisfied: nvidia-cudnn-cu11==8.5.0.96 in /data/anaconda3/envs/sd/lib/python3.10/site-packages (from torch>=1.12->xformers) (8.5.0.96) Requirement already satisfied: nvidia-cublas-cu11==11.10.3.66 in /data/anaconda3/envs/sd/lib/python3.10/site-packages (from torch>=1.12->xformers) (11.10.3.66) Requirement already satisfied: nvidia-cuda-nvrtc-cu11==11.7.99 in /data/anaconda3/envs/sd/lib/python3.10/site-packages (from torch>=1.12->xformers) (11.7.99) Requirement already satisfied: setuptools in /data/anaconda3/envs/sd/lib/python3.10/site-packages (from nvidia-cublas-cu11==11.10.3.66->torch>=1.12->xformers) (68.0.0) Requirement already satisfied: wheel in /data/anaconda3/envs/sd/lib/python3.10/site-packages (from nvidia-cublas-cu11==11.10.3.66->torch>=1.12->xformers) (0.41.2) Building wheels for collected packages: xformers Running command git rev-parse HEAD 16e4245e02f47883b6b43065a0e26dfb12e14e33 Running command python setup.py bdist_wheel running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-310 creating build/lib.linux-x86_64-cpython-310/xformers copying xformers/utils.py -> build/lib.linux-x86_64-cpython-310/xformers copying xformers/version.py -> build/lib.linux-x86_64-cpython-310/xformers copying xformers/_deprecation_warning.py -> build/lib.linux-x86_64-cpython-310/xformers copying xformers/checkpoint.py -> build/lib.linux-x86_64-cpython-310/xformers copying xformers/init.py -> build/lib.linux-x86_64-cpython-310/xformers copying xformers/_cpp_lib.py -> build/lib.linux-x86_64-cpython-310/xformers copying xformers/test.py -> build/lib.linux-x86_64-cpython-310/xformers copying xformers/info.py -> build/lib.linux-x86_64-cpython-310/xformers creating build/lib.linux-x86_64-cpython-310/xformers/benchmarks copying xformers/benchmarks/benchmark_revnet.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks copying xformers/benchmarks/benchmark_transformer.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks copying xformers/benchmarks/utils.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks copying xformers/benchmarks/benchmark_multi_head_dispatch.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks copying xformers/benchmarks/benchmark_mlp.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks copying xformers/benchmarks/benchmark_mem_eff_attention.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks copying xformers/benchmarks/benchmark_triton_softmax.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks copying xformers/benchmarks/benchmark_triton_stride_sum.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks copying xformers/benchmarks/benchmark_attn_decoding.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks copying xformers/benchmarks/init.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks copying xformers/benchmarks/benchmark_triton_fused_linear.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks copying xformers/benchmarks/benchmark_mem_eff_attn_decoder.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks copying xformers/benchmarks/benchmark_blocksparse_transformers.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks copying xformers/benchmarks/benchmark_indexing.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks copying xformers/benchmarks/benchmark_triton_layernorm.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks copying xformers/benchmarks/benchmark_sddmm.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks copying xformers/benchmarks/benchmark_causal_blocksparse.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks copying xformers/benchmarks/benchmark_nystrom_utils.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks copying xformers/benchmarks/benchmark_triton_blocksparse.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks copying xformers/benchmarks/benchmark_swiglu.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks copying xformers/benchmarks/benchmark_triton_dropout.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks copying xformers/benchmarks/benchmark_core.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks creating build/lib.linux-x86_64-cpython-310/xformers/ops copying xformers/ops/rmsnorm.py -> build/lib.linux-x86_64-cpython-310/xformers/ops copying xformers/ops/init.py -> build/lib.linux-x86_64-cpython-310/xformers/ops copying xformers/ops/indexing.py -> build/lib.linux-x86_64-cpython-310/xformers/ops copying xformers/ops/unbind.py -> build/lib.linux-x86_64-cpython-310/xformers/ops copying xformers/ops/swiglu_op.py -> build/lib.linux-x86_64-cpython-310/xformers/ops copying xformers/ops/common.py -> build/lib.linux-x86_64-cpython-310/xformers/ops copying xformers/ops/rope_padded.py -> build/lib.linux-x86_64-cpython-310/xformers/ops creating build/lib.linux-x86_64-cpython-310/xformers/triton copying xformers/triton/k_layer_norm.py -> build/lib.linux-x86_64-cpython-310/xformers/triton copying xformers/triton/utils.py -> build/lib.linux-x86_64-cpython-310/xformers/triton copying xformers/triton/layer_norm.py -> build/lib.linux-x86_64-cpython-310/xformers/triton copying xformers/triton/vararg_kernel.py -> build/lib.linux-x86_64-cpython-310/xformers/triton copying xformers/triton/k_dropout.py -> build/lib.linux-x86_64-cpython-310/xformers/triton copying xformers/triton/softmax.py -> build/lib.linux-x86_64-cpython-310/xformers/triton copying xformers/triton/k_fused_matmul_fw.py -> build/lib.linux-x86_64-cpython-310/xformers/triton copying xformers/triton/init.py -> build/lib.linux-x86_64-cpython-310/xformers/triton copying xformers/triton/dropout.py -> build/lib.linux-x86_64-cpython-310/xformers/triton copying xformers/triton/k_activations.py -> build/lib.linux-x86_64-cpython-310/xformers/triton copying xformers/triton/fused_linear_layer.py -> build/lib.linux-x86_64-cpython-310/xformers/triton copying xformers/triton/k_fused_matmul_bw.py -> build/lib.linux-x86_64-cpython-310/xformers/triton copying xformers/triton/k_sum.py -> build/lib.linux-x86_64-cpython-310/xformers/triton copying xformers/triton/k_softmax.py -> build/lib.linux-x86_64-cpython-310/xformers/triton copying xformers/triton/sum_strided.py -> build/lib.linux-x86_64-cpython-310/xformers/triton creating build/lib.linux-x86_64-cpython-310/xformers/_flash_attn copying xformers/_flash_attn/fused_softmax.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn copying xformers/_flash_attn/flash_blocksparse_attention.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn copying xformers/_flash_attn/flash_blocksparse_attn_interface.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn copying xformers/_flash_attn/flash_attn_triton_og.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn copying xformers/_flash_attn/flash_attn_triton.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn copying xformers/_flash_attn/init.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn copying xformers/_flash_attn/flash_attn_interface.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn copying xformers/_flash_attn/bert_padding.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn creating build/lib.linux-x86_64-cpython-310/xformers/factory copying xformers/factory/block_configs.py -> build/lib.linux-x86_64-cpython-310/xformers/factory copying xformers/factory/block_factory.py -> build/lib.linux-x86_64-cpython-310/xformers/factory copying xformers/factory/weight_init.py -> build/lib.linux-x86_64-cpython-310/xformers/factory copying xformers/factory/init.py -> build/lib.linux-x86_64-cpython-310/xformers/factory copying xformers/factory/model_factory.py -> build/lib.linux-x86_64-cpython-310/xformers/factory copying xformers/factory/hydra_helper.py -> build/lib.linux-x86_64-cpython-310/xformers/factory creating build/lib.linux-x86_64-cpython-310/xformers/sparse copying xformers/sparse/utils.py -> build/lib.linux-x86_64-cpython-310/xformers/sparse copying xformers/sparse/init.py -> build/lib.linux-x86_64-cpython-310/xformers/sparse copying xformers/sparse/csr_tensor.py -> build/lib.linux-x86_64-cpython-310/xformers/sparse copying xformers/sparse/blocksparse_tensor.py -> build/lib.linux-x86_64-cpython-310/xformers/sparse copying xformers/sparse/_csr_ops.py -> build/lib.linux-x86_64-cpython-310/xformers/sparse creating build/lib.linux-x86_64-cpython-310/xformers/profiler copying xformers/profiler/api.py -> build/lib.linux-x86_64-cpython-310/xformers/profiler copying xformers/profiler/profiler.py -> build/lib.linux-x86_64-cpython-310/xformers/profiler copying xformers/profiler/slow_ops_profiler.py -> build/lib.linux-x86_64-cpython-310/xformers/profiler copying xformers/profiler/init.py -> build/lib.linux-x86_64-cpython-310/xformers/profiler copying xformers/profiler/device_limits.py -> build/lib.linux-x86_64-cpython-310/xformers/profiler creating build/lib.linux-x86_64-cpython-310/xformers/components copying xformers/components/patch_embedding.py -> build/lib.linux-x86_64-cpython-310/xformers/components copying xformers/components/multi_head_dispatch.py -> build/lib.linux-x86_64-cpython-310/xformers/components copying xformers/components/reversible.py -> build/lib.linux-x86_64-cpython-310/xformers/components copying xformers/components/simplicial_embedding.py -> build/lib.linux-x86_64-cpython-310/xformers/components copying xformers/components/init.py -> build/lib.linux-x86_64-cpython-310/xformers/components copying xformers/components/activations.py -> build/lib.linux-x86_64-cpython-310/xformers/components copying xformers/components/residual.py -> build/lib.linux-x86_64-cpython-310/xformers/components copying xformers/components/input_projection.py -> build/lib.linux-x86_64-cpython-310/xformers/components creating build/lib.linux-x86_64-cpython-310/xformers/helpers copying xformers/helpers/hierarchical_configs.py -> build/lib.linux-x86_64-cpython-310/xformers/helpers copying xformers/helpers/init.py -> build/lib.linux-x86_64-cpython-310/xformers/helpers copying xformers/helpers/timm_sparse_attention.py -> build/lib.linux-x86_64-cpython-310/xformers/helpers copying xformers/helpers/test_utils.py -> build/lib.linux-x86_64-cpython-310/xformers/helpers creating build/lib.linux-x86_64-cpython-310/xformers/benchmarks/LRA copying xformers/benchmarks/LRA/run_tasks.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks/LRA copying xformers/benchmarks/LRA/batch_submit.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks/LRA copying xformers/benchmarks/LRA/init.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks/LRA copying xformers/benchmarks/LRA/run_grid_search.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks/LRA copying xformers/benchmarks/LRA/batch_fetch_results.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks/LRA copying xformers/benchmarks/LRA/run_with_submitit.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks/LRA creating build/lib.linux-x86_64-cpython-310/xformers/benchmarks/LRA/code copying xformers/benchmarks/LRA/code/model_wrapper.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks/LRA/code copying xformers/benchmarks/LRA/code/dataset.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks/LRA/code copying xformers/benchmarks/LRA/code/init.py -> build/lib.linux-x86_64-cpython-310/xformers/benchmarks/LRA/code creating build/lib.linux-x86_64-cpython-310/xformers/ops/fmha copying xformers/ops/fmha/small_k.py -> build/lib.linux-x86_64-cpython-310/xformers/ops/fmha copying xformers/ops/fmha/decoder.py -> build/lib.linux-x86_64-cpython-310/xformers/ops/fmha copying xformers/ops/fmha/dispatch.py -> build/lib.linux-x86_64-cpython-310/xformers/ops/fmha copying xformers/ops/fmha/cutlass.py -> build/lib.linux-x86_64-cpython-310/xformers/ops/fmha copying xformers/ops/fmha/flash.py -> build/lib.linux-x86_64-cpython-310/xformers/ops/fmha copying xformers/ops/fmha/attn_bias.py -> build/lib.linux-x86_64-cpython-310/xformers/ops/fmha copying xformers/ops/fmha/triton_splitk.py -> build/lib.linux-x86_64-cpython-310/xformers/ops/fmha copying xformers/ops/fmha/init.py -> build/lib.linux-x86_64-cpython-310/xformers/ops/fmha copying xformers/ops/fmha/common.py -> build/lib.linux-x86_64-cpython-310/xformers/ops/fmha copying xformers/ops/fmha/triton.py -> build/lib.linux-x86_64-cpython-310/xformers/ops/fmha creating build/lib.linux-x86_64-cpython-310/xformers/ops/_triton copying xformers/ops/_triton/k_index_select_cat.py -> build/lib.linux-x86_64-cpython-310/xformers/ops/_triton copying xformers/ops/_triton/k_scaled_index_add.py -> build/lib.linux-x86_64-cpython-310/xformers/ops/_triton copying xformers/ops/_triton/init.py -> build/lib.linux-x86_64-cpython-310/xformers/ops/_triton copying xformers/ops/_triton/rmsnorm_kernels.py -> build/lib.linux-x86_64-cpython-310/xformers/ops/_triton copying xformers/ops/_triton/rope_padded_kernels.py -> build/lib.linux-x86_64-cpython-310/xformers/ops/_triton creating build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/models copying xformers/_flash_attn/models/gptj.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/models copying xformers/_flash_attn/models/bigcode.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/models copying xformers/_flash_attn/models/gpt_neox.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/models copying xformers/_flash_attn/models/baichuan.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/models copying xformers/_flash_attn/models/bert.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/models copying xformers/_flash_attn/models/llama.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/models copying xformers/_flash_attn/models/init.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/models copying xformers/_flash_attn/models/gpt.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/models copying xformers/_flash_attn/models/falcon.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/models copying xformers/_flash_attn/models/opt.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/models copying xformers/_flash_attn/models/vit.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/models creating build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/layers copying xformers/_flash_attn/layers/init.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/layers copying xformers/_flash_attn/layers/rotary.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/layers copying xformers/_flash_attn/layers/patch_embed.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/layers creating build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/ops copying xformers/_flash_attn/ops/layer_norm.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/ops copying xformers/_flash_attn/ops/init.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/ops copying xformers/_flash_attn/ops/fused_dense.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/ops copying xformers/_flash_attn/ops/activations.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/ops copying xformers/_flash_attn/ops/rms_norm.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/ops creating build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/modules copying xformers/_flash_attn/modules/mha.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/modules copying xformers/_flash_attn/modules/embedding.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/modules copying xformers/_flash_attn/modules/block.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/modules copying xformers/_flash_attn/modules/init.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/modules copying xformers/_flash_attn/modules/mlp.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/modules creating build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/losses copying xformers/_flash_attn/losses/cross_entropy.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/losses copying xformers/_flash_attn/losses/init.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/losses creating build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/utils copying xformers/_flash_attn/utils/generation.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/utils copying xformers/_flash_attn/utils/pretrained.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/utils copying xformers/_flash_attn/utils/distributed.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/utils copying xformers/_flash_attn/utils/init.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/utils copying xformers/_flash_attn/utils/benchmark.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/utils creating build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/ops/triton copying xformers/_flash_attn/ops/triton/linear.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/ops/triton copying xformers/_flash_attn/ops/triton/cross_entropy.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/ops/triton copying xformers/_flash_attn/ops/triton/init.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/ops/triton copying xformers/_flash_attn/ops/triton/mlp.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/ops/triton copying xformers/_flash_attn/ops/triton/rotary.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/ops/triton copying xformers/_flash_attn/ops/triton/k_activations.py -> build/lib.linux-x86_64-cpython-310/xformers/_flash_attn/ops/triton creating build/lib.linux-x86_64-cpython-310/xformers/components/attention copying xformers/components/attention/core.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention copying xformers/components/attention/favor.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention copying xformers/components/attention/nystrom.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention copying xformers/components/attention/pooling.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention copying xformers/components/attention/attention_mask.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention copying xformers/components/attention/utils.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention copying xformers/components/attention/blocksparse.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention copying xformers/components/attention/sparsity_config.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention copying xformers/components/attention/scaled_dot_product.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention copying xformers/components/attention/visual.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention copying xformers/components/attention/local.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention copying xformers/components/attention/_sputnik_sparse.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention copying xformers/components/attention/lambda_layer.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention copying xformers/components/attention/base.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention copying xformers/components/attention/attention_patterns.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention copying xformers/components/attention/global_tokens.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention copying xformers/components/attention/compositional.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention copying xformers/components/attention/random.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention copying xformers/components/attention/init.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention copying xformers/components/attention/ortho.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention copying xformers/components/attention/linformer.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention copying xformers/components/attention/fourier_mix.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention creating build/lib.linux-x86_64-cpython-310/xformers/components/positional_embedding copying xformers/components/positional_embedding/base.py -> build/lib.linux-x86_64-cpython-310/xformers/components/positional_embedding copying xformers/components/positional_embedding/sine.py -> build/lib.linux-x86_64-cpython-310/xformers/components/positional_embedding copying xformers/components/positional_embedding/init.py -> build/lib.linux-x86_64-cpython-310/xformers/components/positional_embedding copying xformers/components/positional_embedding/param.py -> build/lib.linux-x86_64-cpython-310/xformers/components/positional_embedding copying xformers/components/positional_embedding/rotary.py -> build/lib.linux-x86_64-cpython-310/xformers/components/positional_embedding copying xformers/components/positional_embedding/vocab.py -> build/lib.linux-x86_64-cpython-310/xformers/components/positional_embedding creating build/lib.linux-x86_64-cpython-310/xformers/components/feedforward copying xformers/components/feedforward/base.py -> build/lib.linux-x86_64-cpython-310/xformers/components/feedforward copying xformers/components/feedforward/conv_mlp.py -> build/lib.linux-x86_64-cpython-310/xformers/components/feedforward copying xformers/components/feedforward/fused_mlp.py -> build/lib.linux-x86_64-cpython-310/xformers/components/feedforward copying xformers/components/feedforward/init.py -> build/lib.linux-x86_64-cpython-310/xformers/components/feedforward copying xformers/components/feedforward/mlp.py -> build/lib.linux-x86_64-cpython-310/xformers/components/feedforward copying xformers/components/feedforward/mixture_of_experts.py -> build/lib.linux-x86_64-cpython-310/xformers/components/feedforward creating build/lib.linux-x86_64-cpython-310/xformers/components/attention/feature_maps copying xformers/components/attention/feature_maps/softmax.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention/feature_maps copying xformers/components/attention/feature_maps/base.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention/feature_maps copying xformers/components/attention/feature_maps/init.py -> build/lib.linux-x86_64-cpython-310/xformers/components/attention/feature_maps running build_ext building 'xformers._C_flashattention' extension creating /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310 creating /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp creating /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr creating /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab creating /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party creating /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention creating /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc creating /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn creating /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src Emitting ninja build file /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) 1.11.1.git.kitware.jobserver-1 /usr/local/gcc-7.3.0/bin/g++ -shared -Wl,-rpath,/data/anaconda3/envs/sd/lib -Wl,-rpath-link,/data/anaconda3/envs/sd/lib -L/data/anaconda3/envs/sd/lib -Wl,-rpath,/data/anaconda3/envs/sd/lib -Wl,-rpath-link,/data/anaconda3/envs/sd/lib -L/data/anaconda3/envs/sd/lib /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/flash_api.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim128_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim128_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim160_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim160_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim192_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim192_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim224_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim224_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim256_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim256_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim32_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim32_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim64_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim64_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim96_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim96_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim128_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim128_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim160_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim160_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim192_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim192_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim224_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim224_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim256_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim256_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim32_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim32_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim64_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim64_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim96_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim96_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim128_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim128_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim160_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim160_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim192_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim192_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim224_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim224_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim256_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim256_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim32_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim32_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim64_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim64_fp16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim96_bf16_sm80.o /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim96_fp16_sm80.o -L/data/anaconda3/envs/sd/lib/python3.10/site-packages/torch/lib -L/usr/local/cuda/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-cpython-310/xformers/_C_flashattention.so g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/flash_api.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim128_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim128_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim160_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim160_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim192_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim192_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim224_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim224_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim256_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim256_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim32_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim32_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim64_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim64_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim96_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim96_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim128_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim128_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim160_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim160_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim192_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim192_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim224_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim224_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim256_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim256_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim32_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim32_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim64_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim64_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim96_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim96_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim128_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim128_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim160_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim160_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim192_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim192_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim224_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim224_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim256_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim256_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim32_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim32_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp``` /pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim64_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim64_fp16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim96_bf16_sm80.o: No such file or directory g++: error: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/build/temp.linux-x86_64-cpython-310/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim96_fp16_sm80.o: No such file or directory error: command '/usr/local/gcc-7.3.0/bin/g++' failed with exit code 1 error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. full command: /data/anaconda3/envs/sd/bin/python -u -c ' exec(compile('"'"''"'"''"'"'

This is -- a caller that pip uses to run setup.py

#

- It imports setuptools before invoking setup.py, to enable projects that directly

import from distutils.core to work with newer packaging standards.

- It provides a clear error message when setuptools is not installed.

- It sets sys.argv[0] to the underlying setup.py, when invoking setup.py so

setuptools doesn'"'"'t think the script is -c. This avoids the following warning:

manifest_maker: standard file '"'"'-c'"'"' not found".

- It generates a shim setup.py, for handling setup.cfg-only projects.

import os, sys, tokenize

try: import setuptools except ImportError as error: print( "ERROR: Can not execute setup.py since setuptools is not available in " "the build environment.", file=sys.stderr, ) sys.exit(1)

file = %r sys.argv[0] = file

if os.path.exists(file): filename = file with tokenize.open(file) as f: setup_py_code = f.read() else: filename = "" setup_py_code = "from setuptools import setup; setup()"

exec(compile(setup_py_code, filename, "exec")) '"'"''"'"''"'"' % ('"'"'/tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-2sytwlhn cwd: /tmp/pip-install-yf1h_9jr/xformers_9405337445704f9caa515a687a829bab/ Building wheel for xformers (setup.py) ... error ERROR: Failed building wheel for xformers Running setup.py clean for xformers Running command python setup.py clean running clean 'build/lib.linux-x86_64-cpython-310' does not exist -- can't clean it 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.10' does not exist -- can't clean it Failed to build xformers ERROR: Could not build wheels for xformers, which is required to install pyproject.toml-based projects

robotyingtang commented 1 year ago

i have also encountered this problem, have you solved it?

bzwqq commented 1 year ago

i have also encountered this problem, have you solved it?

lastly,i got an resolution here: download the released conda-install-package file in https://anaconda.org/xformers/xformers/files about your environment, and use command "conda install linux-64/xformers-0.0.22.post4-py310_cu11.7.1_pyt1.13.1.tar.bz2".
try and good luck to you

dongzhiwen1218 commented 1 year ago

i have also encountered this problem, have you solved it? root@dc4b22bacc2f:/# export MAX_JOBS=1 root@dc4b22bacc2f:/# pip install -v -U git+https://github.com/facebookresearch/xformers.git@main#egg=xformers Using pip 23.3.1 from /usr/local/lib/python3.10/dist-packages/pip (python 3.10) Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting xformers Cloning https://github.com/facebookresearch/xformers.git (to revision main) to /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d Running command git version git version 2.34.1 Running command git clone --filter=blob:none https://github.com/facebookresearch/xformers.git /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d Cloning into '/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d'... Updating files: 0% (2/588) Updating files: 1% (6/588) Updating files: 2% (12/588) Updating files: 3% (18/588) Updating files: 4% (24/588) Updating files: 5% (30/588) Updating files: 6% (36/588) Updating files: 7% (42/588) Updating files: 8% (48/588) Updating files: 9% (53/588) Updating files: 10% (59/588) Updating files: 11% (65/588) Updating files: 12% (71/588) Updating files: 13% (77/588) Updating files: 14% (83/588) Updating files: 15% (89/588) Updating files: 16% (95/588) Updating files: 17% (100/588) Updating files: 18% (106/588) Updating files: 19% (112/588) Updating files: 20% (118/588) Updating files: 21% (124/588) Updating files: 22% (130/588) Updating files: 23% (136/588) Updating files: 24% (142/588) Updating files: 25% (147/588) Updating files: 26% (153/588) Updating files: 27% (159/588) Updating files: 28% (165/588) Updating files: 29% (171/588) Updating files: 30% (177/588) Updating files: 31% (183/588) Updating files: 32% (189/588) Updating files: 33% (195/588) Updating files: 34% (200/588) Updating files: 35% (206/588) Updating files: 36% (212/588) Updating files: 37% (218/588) Updating files: 38% (224/588) Updating files: 39% (230/588) Updating files: 40% (236/588) Updating files: 41% (242/588) Updating files: 42% (247/588) Updating files: 43% (253/588) Updating files: 44% (259/588) Updating files: 45% (265/588) Updating files: 46% (271/588) Updating files: 47% (277/588) Updating files: 48% (283/588) Updating files: 49% (289/588) Updating files: 50% (294/588) Updating files: 51% (300/588) Updating files: 52% (306/588) Updating files: 53% (312/588) Updating files: 54% (318/588) Updating files: 55% (324/588) Updating files: 56% (330/588) Updating files: 57% (336/588) Updating files: 58% (342/588) Updating files: 59% (347/588) Updating files: 60% (353/588) Updating files: 61% (359/588) Updating files: 62% (365/588) Updating files: 63% (371/588) Updating files: 64% (377/588) Updating files: 65% (383/588) Updating files: 66% (389/588) Updating files: 67% (394/588) Updating files: 68% (400/588) Updating files: 69% (406/588) Updating files: 70% (412/588) Updating files: 71% (418/588) Updating files: 72% (424/588) Updating files: 73% (430/588) Updating files: 74% (436/588) Updating files: 75% (441/588) Updating files: 76% (447/588) Updating files: 77% (453/588) Updating files: 78% (459/588) Updating files: 79% (465/588) Updating files: 80% (471/588) Updating files: 81% (477/588) Updating files: 82% (483/588) Updating files: 83% (489/588) Updating files: 84% (494/588) Updating files: 85% (500/588) Updating files: 86% (506/588) Updating files: 87% (512/588) Updating files: 88% (518/588) Updating files: 89% (524/588) Updating files: 90% (530/588) Updating files: 91% (536/588) Updating files: 92% (541/588) Updating files: 93% (547/588) Updating files: 94% (553/588) Updating files: 95% (559/588) Updating files: 96% (565/588) Updating files: 97% (571/588) Updating files: 98% (577/588) Updating files: 99% (583/588) Updating files: 100% (588/588) Updating files: 100% (588/588), done. Running command git show-ref main e1b36f781ba1c9d10f36fc0ec87170e0b381fdad refs/heads/main e1b36f781ba1c9d10f36fc0ec87170e0b381fdad refs/remotes/origin/main Running command git symbolic-ref -q HEAD refs/heads/main Resolved https://github.com/facebookresearch/xformers.git to commit e1b36f781ba1c9d10f36fc0ec87170e0b381fdad Running command git submodule update --init --recursive -q Running command git rev-parse HEAD e1b36f781ba1c9d10f36fc0ec87170e0b381fdad Running command python setup.py egg_info running egg_info creating /tmp/pip-pip-egg-info-17nxkvqf/xformers.egg-info writing /tmp/pip-pip-egg-info-17nxkvqf/xformers.egg-info/PKG-INFO writing dependency_links to /tmp/pip-pip-egg-info-17nxkvqf/xformers.egg-info/dependency_links.txt writing requirements to /tmp/pip-pip-egg-info-17nxkvqf/xformers.egg-info/requires.txt writing top-level names to /tmp/pip-pip-egg-info-17nxkvqf/xformers.egg-info/top_level.txt writing manifest file '/tmp/pip-pip-egg-info-17nxkvqf/xformers.egg-info/SOURCES.txt' reading manifest file '/tmp/pip-pip-egg-info-17nxkvqf/xformers.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'third_party/flash-attention/version.txt' adding license file 'LICENSE' writing manifest file '/tmp/pip-pip-egg-info-17nxkvqf/xformers.egg-info/SOURCES.txt' Preparing metadata (setup.py) ... done Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from xformers) (1.26.1) Requirement already satisfied: torch>=1.12 in /usr/local/lib/python3.10/dist-packages (from xformers) (2.2.0.dev20231024+cu118) Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from torch>=1.12->xformers) (3.12.4) Requirement already satisfied: typing-extensions in /usr/local/lib/python3.10/dist-packages (from torch>=1.12->xformers) (4.8.0) Requirement already satisfied: sympy in /usr/local/lib/python3.10/dist-packages (from torch>=1.12->xformers) (1.12) Requirement already satisfied: networkx in /usr/local/lib/python3.10/dist-packages (from torch>=1.12->xformers) (3.2) Requirement already satisfied: jinja2 in /usr/local/lib/python3.10/dist-packages (from torch>=1.12->xformers) (3.1.2) Requirement already satisfied: fsspec in /usr/local/lib/python3.10/dist-packages (from torch>=1.12->xformers) (2023.10.0) Requirement already satisfied: pytorch-triton==2.1.0+6e4932cda8 in /usr/local/lib/python3.10/dist-packages (from torch>=1.12->xformers) (2.1.0+6e4932cda8) Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.10/dist-packages (from jinja2->torch>=1.12->xformers) (2.1.3) Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.10/dist-packages (from sympy->torch>=1.12->xformers) (1.3.0) Building wheels for collected packages: xformers Running command git rev-parse HEAD e1b36f781ba1c9d10f36fc0ec87170e0b381fdad Running command python setup.py bdist_wheel running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.10 creating build/lib.linux-x86_64-3.10/xformers copying xformers/init.py -> build/lib.linux-x86_64-3.10/xformers copying xformers/info.py -> build/lib.linux-x86_64-3.10/xformers copying xformers/version.py -> build/lib.linux-x86_64-3.10/xformers copying xformers/_cpp_lib.py -> build/lib.linux-x86_64-3.10/xformers copying xformers/_deprecation_warning.py -> build/lib.linux-x86_64-3.10/xformers copying xformers/test.py -> build/lib.linux-x86_64-3.10/xformers copying xformers/utils.py -> build/lib.linux-x86_64-3.10/xformers copying xformers/checkpoint.py -> build/lib.linux-x86_64-3.10/xformers creating build/lib.linux-x86_64-3.10/xformers/sparse copying xformers/sparse/init.py -> build/lib.linux-x86_64-3.10/xformers/sparse copying xformers/sparse/blocksparse_tensor.py -> build/lib.linux-x86_64-3.10/xformers/sparse copying xformers/sparse/_csr_ops.py -> build/lib.linux-x86_64-3.10/xformers/sparse copying xformers/sparse/csr_tensor.py -> build/lib.linux-x86_64-3.10/xformers/sparse copying xformers/sparse/utils.py -> build/lib.linux-x86_64-3.10/xformers/sparse creating build/lib.linux-x86_64-3.10/xformers/profiler copying xformers/profiler/init.py -> build/lib.linux-x86_64-3.10/xformers/profiler copying xformers/profiler/device_limits.py -> build/lib.linux-x86_64-3.10/xformers/profiler copying xformers/profiler/api.py -> build/lib.linux-x86_64-3.10/xformers/profiler copying xformers/profiler/slow_ops_profiler.py -> build/lib.linux-x86_64-3.10/xformers/profiler copying xformers/profiler/profiler.py -> build/lib.linux-x86_64-3.10/xformers/profiler creating build/lib.linux-x86_64-3.10/xformers/benchmarks copying xformers/benchmarks/init.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks copying xformers/benchmarks/benchmark_indexing.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks copying xformers/benchmarks/benchmark_nystrom_utils.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks copying xformers/benchmarks/benchmark_attn_decoding.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks copying xformers/benchmarks/benchmark_multi_head_dispatch.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks copying xformers/benchmarks/benchmark_triton_softmax.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks copying xformers/benchmarks/benchmark_triton_fused_linear.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks copying xformers/benchmarks/benchmark_mem_eff_attention.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks copying xformers/benchmarks/benchmark_sddmm.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks copying xformers/benchmarks/benchmark_swiglu.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks copying xformers/benchmarks/benchmark_revnet.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks copying xformers/benchmarks/benchmark_core.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks copying xformers/benchmarks/benchmark_triton_layernorm.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks copying xformers/benchmarks/benchmark_triton_stride_sum.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks copying xformers/benchmarks/benchmark_mem_eff_attn_decoder.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks copying xformers/benchmarks/benchmark_triton_blocksparse.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks copying xformers/benchmarks/benchmark_transformer.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks copying xformers/benchmarks/benchmark_causal_blocksparse.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks copying xformers/benchmarks/benchmark_blocksparse_transformers.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks copying xformers/benchmarks/utils.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks copying xformers/benchmarks/benchmark_mlp.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks copying xformers/benchmarks/benchmark_triton_dropout.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks creating build/lib.linux-x86_64-3.10/xformers/triton copying xformers/triton/init.py -> build/lib.linux-x86_64-3.10/xformers/triton copying xformers/triton/k_fused_matmul_fw.py -> build/lib.linux-x86_64-3.10/xformers/triton copying xformers/triton/dropout.py -> build/lib.linux-x86_64-3.10/xformers/triton copying xformers/triton/k_layer_norm.py -> build/lib.linux-x86_64-3.10/xformers/triton copying xformers/triton/k_sum.py -> build/lib.linux-x86_64-3.10/xformers/triton copying xformers/triton/k_fused_matmul_bw.py -> build/lib.linux-x86_64-3.10/xformers/triton copying xformers/triton/fused_linear_layer.py -> build/lib.linux-x86_64-3.10/xformers/triton copying xformers/triton/k_softmax.py -> build/lib.linux-x86_64-3.10/xformers/triton copying xformers/triton/sum_strided.py -> build/lib.linux-x86_64-3.10/xformers/triton copying xformers/triton/k_activations.py -> build/lib.linux-x86_64-3.10/xformers/triton copying xformers/triton/vararg_kernel.py -> build/lib.linux-x86_64-3.10/xformers/triton copying xformers/triton/softmax.py -> build/lib.linux-x86_64-3.10/xformers/triton copying xformers/triton/layer_norm.py -> build/lib.linux-x86_64-3.10/xformers/triton copying xformers/triton/utils.py -> build/lib.linux-x86_64-3.10/xformers/triton copying xformers/triton/k_dropout.py -> build/lib.linux-x86_64-3.10/xformers/triton creating build/lib.linux-x86_64-3.10/xformers/components copying xformers/components/init.py -> build/lib.linux-x86_64-3.10/xformers/components copying xformers/components/activations.py -> build/lib.linux-x86_64-3.10/xformers/components copying xformers/components/reversible.py -> build/lib.linux-x86_64-3.10/xformers/components copying xformers/components/simplicial_embedding.py -> build/lib.linux-x86_64-3.10/xformers/components copying xformers/components/patch_embedding.py -> build/lib.linux-x86_64-3.10/xformers/components copying xformers/components/residual.py -> build/lib.linux-x86_64-3.10/xformers/components copying xformers/components/multi_head_dispatch.py -> build/lib.linux-x86_64-3.10/xformers/components copying xformers/components/input_projection.py -> build/lib.linux-x86_64-3.10/xformers/components creating build/lib.linux-x86_64-3.10/xformers/helpers copying xformers/helpers/init.py -> build/lib.linux-x86_64-3.10/xformers/helpers copying xformers/helpers/hierarchical_configs.py -> build/lib.linux-x86_64-3.10/xformers/helpers copying xformers/helpers/test_utils.py -> build/lib.linux-x86_64-3.10/xformers/helpers copying xformers/helpers/timm_sparse_attention.py -> build/lib.linux-x86_64-3.10/xformers/helpers creating build/lib.linux-x86_64-3.10/xformers/_flash_attn copying xformers/_flash_attn/init.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn copying xformers/_flash_attn/bert_padding.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn copying xformers/_flash_attn/flash_blocksparse_attention.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn copying xformers/_flash_attn/flash_attn_interface.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn copying xformers/_flash_attn/flash_blocksparse_attn_interface.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn copying xformers/_flash_attn/flash_attn_triton_og.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn copying xformers/_flash_attn/flash_attn_triton.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn copying xformers/_flash_attn/fused_softmax.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn creating build/lib.linux-x86_64-3.10/xformers/ops copying xformers/ops/init.py -> build/lib.linux-x86_64-3.10/xformers/ops copying xformers/ops/rope_padded.py -> build/lib.linux-x86_64-3.10/xformers/ops copying xformers/ops/rmsnorm.py -> build/lib.linux-x86_64-3.10/xformers/ops copying xformers/ops/swiglu_op.py -> build/lib.linux-x86_64-3.10/xformers/ops copying xformers/ops/common.py -> build/lib.linux-x86_64-3.10/xformers/ops copying xformers/ops/indexing.py -> build/lib.linux-x86_64-3.10/xformers/ops copying xformers/ops/unbind.py -> build/lib.linux-x86_64-3.10/xformers/ops creating build/lib.linux-x86_64-3.10/xformers/factory copying xformers/factory/init.py -> build/lib.linux-x86_64-3.10/xformers/factory copying xformers/factory/block_factory.py -> build/lib.linux-x86_64-3.10/xformers/factory copying xformers/factory/model_factory.py -> build/lib.linux-x86_64-3.10/xformers/factory copying xformers/factory/hydra_helper.py -> build/lib.linux-x86_64-3.10/xformers/factory copying xformers/factory/weight_init.py -> build/lib.linux-x86_64-3.10/xformers/factory copying xformers/factory/block_configs.py -> build/lib.linux-x86_64-3.10/xformers/factory creating build/lib.linux-x86_64-3.10/xformers/benchmarks/LRA copying xformers/benchmarks/LRA/init.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks/LRA copying xformers/benchmarks/LRA/batch_submit.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks/LRA copying xformers/benchmarks/LRA/batch_fetch_results.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks/LRA copying xformers/benchmarks/LRA/run_with_submitit.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks/LRA copying xformers/benchmarks/LRA/run_grid_search.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks/LRA copying xformers/benchmarks/LRA/run_tasks.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks/LRA creating build/lib.linux-x86_64-3.10/xformers/benchmarks/LRA/code copying xformers/benchmarks/LRA/code/init.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks/LRA/code copying xformers/benchmarks/LRA/code/dataset.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks/LRA/code copying xformers/benchmarks/LRA/code/model_wrapper.py -> build/lib.linux-x86_64-3.10/xformers/benchmarks/LRA/code creating build/lib.linux-x86_64-3.10/xformers/components/feedforward copying xformers/components/feedforward/init.py -> build/lib.linux-x86_64-3.10/xformers/components/feedforward copying xformers/components/feedforward/conv_mlp.py -> build/lib.linux-x86_64-3.10/xformers/components/feedforward copying xformers/components/feedforward/fused_mlp.py -> build/lib.linux-x86_64-3.10/xformers/components/feedforward copying xformers/components/feedforward/mixture_of_experts.py -> build/lib.linux-x86_64-3.10/xformers/components/feedforward copying xformers/components/feedforward/base.py -> build/lib.linux-x86_64-3.10/xformers/components/feedforward copying xformers/components/feedforward/mlp.py -> build/lib.linux-x86_64-3.10/xformers/components/feedforward creating build/lib.linux-x86_64-3.10/xformers/components/attention copying xformers/components/attention/init.py -> build/lib.linux-x86_64-3.10/xformers/components/attention copying xformers/components/attention/visual.py -> build/lib.linux-x86_64-3.10/xformers/components/attention copying xformers/components/attention/attention_patterns.py -> build/lib.linux-x86_64-3.10/xformers/components/attention copying xformers/components/attention/sparsity_config.py -> build/lib.linux-x86_64-3.10/xformers/components/attention copying xformers/components/attention/pooling.py -> build/lib.linux-x86_64-3.10/xformers/components/attention copying xformers/components/attention/nystrom.py -> build/lib.linux-x86_64-3.10/xformers/components/attention copying xformers/components/attention/global_tokens.py -> build/lib.linux-x86_64-3.10/xformers/components/attention copying xformers/components/attention/random.py -> build/lib.linux-x86_64-3.10/xformers/components/attention copying xformers/components/attention/_sputnik_sparse.py -> build/lib.linux-x86_64-3.10/xformers/components/attention copying xformers/components/attention/blocksparse.py -> build/lib.linux-x86_64-3.10/xformers/components/attention copying xformers/components/attention/lambda_layer.py -> build/lib.linux-x86_64-3.10/xformers/components/attention copying xformers/components/attention/favor.py -> build/lib.linux-x86_64-3.10/xformers/components/attention copying xformers/components/attention/compositional.py -> build/lib.linux-x86_64-3.10/xformers/components/attention copying xformers/components/attention/ortho.py -> build/lib.linux-x86_64-3.10/xformers/components/attention copying xformers/components/attention/linformer.py -> build/lib.linux-x86_64-3.10/xformers/components/attention copying xformers/components/attention/core.py -> build/lib.linux-x86_64-3.10/xformers/components/attention copying xformers/components/attention/attention_mask.py -> build/lib.linux-x86_64-3.10/xformers/components/attention copying xformers/components/attention/local.py -> build/lib.linux-x86_64-3.10/xformers/components/attention copying xformers/components/attention/base.py -> build/lib.linux-x86_64-3.10/xformers/components/attention copying xformers/components/attention/utils.py -> build/lib.linux-x86_64-3.10/xformers/components/attention copying xformers/components/attention/fourier_mix.py -> build/lib.linux-x86_64-3.10/xformers/components/attention copying xformers/components/attention/scaled_dot_product.py -> build/lib.linux-x86_64-3.10/xformers/components/attention creating build/lib.linux-x86_64-3.10/xformers/components/positional_embedding copying xformers/components/positional_embedding/init.py -> build/lib.linux-x86_64-3.10/xformers/components/positional_embedding copying xformers/components/positional_embedding/rotary.py -> build/lib.linux-x86_64-3.10/xformers/components/positional_embedding copying xformers/components/positional_embedding/sine.py -> build/lib.linux-x86_64-3.10/xformers/components/positional_embedding copying xformers/components/positional_embedding/vocab.py -> build/lib.linux-x86_64-3.10/xformers/components/positional_embedding copying xformers/components/positional_embedding/param.py -> build/lib.linux-x86_64-3.10/xformers/components/positional_embedding copying xformers/components/positional_embedding/base.py -> build/lib.linux-x86_64-3.10/xformers/components/positional_embedding creating build/lib.linux-x86_64-3.10/xformers/components/attention/feature_maps copying xformers/components/attention/feature_maps/init.py -> build/lib.linux-x86_64-3.10/xformers/components/attention/feature_maps copying xformers/components/attention/feature_maps/softmax.py -> build/lib.linux-x86_64-3.10/xformers/components/attention/feature_maps copying xformers/components/attention/feature_maps/base.py -> build/lib.linux-x86_64-3.10/xformers/components/attention/feature_maps creating build/lib.linux-x86_64-3.10/xformers/_flash_attn/losses copying xformers/_flash_attn/losses/init.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/losses copying xformers/_flash_attn/losses/cross_entropy.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/losses creating build/lib.linux-x86_64-3.10/xformers/_flash_attn/models copying xformers/_flash_attn/models/init.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/models copying xformers/_flash_attn/models/falcon.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/models copying xformers/_flash_attn/models/bigcode.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/models copying xformers/_flash_attn/models/gpt.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/models copying xformers/_flash_attn/models/llama.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/models copying xformers/_flash_attn/models/gptj.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/models copying xformers/_flash_attn/models/opt.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/models copying xformers/_flash_attn/models/bert.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/models copying xformers/_flash_attn/models/baichuan.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/models copying xformers/_flash_attn/models/vit.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/models copying xformers/_flash_attn/models/gpt_neox.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/models creating build/lib.linux-x86_64-3.10/xformers/_flash_attn/modules copying xformers/_flash_attn/modules/init.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/modules copying xformers/_flash_attn/modules/block.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/modules copying xformers/_flash_attn/modules/mha.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/modules copying xformers/_flash_attn/modules/mlp.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/modules copying xformers/_flash_attn/modules/embedding.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/modules creating build/lib.linux-x86_64-3.10/xformers/_flash_attn/layers copying xformers/_flash_attn/layers/init.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/layers copying xformers/_flash_attn/layers/rotary.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/layers copying xformers/_flash_attn/layers/patch_embed.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/layers creating build/lib.linux-x86_64-3.10/xformers/_flash_attn/utils copying xformers/_flash_attn/utils/init.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/utils copying xformers/_flash_attn/utils/distributed.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/utils copying xformers/_flash_attn/utils/benchmark.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/utils copying xformers/_flash_attn/utils/generation.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/utils copying xformers/_flash_attn/utils/pretrained.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/utils creating build/lib.linux-x86_64-3.10/xformers/_flash_attn/ops copying xformers/_flash_attn/ops/init.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/ops copying xformers/_flash_attn/ops/activations.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/ops copying xformers/_flash_attn/ops/rms_norm.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/ops copying xformers/_flash_attn/ops/layer_norm.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/ops copying xformers/_flash_attn/ops/fused_dense.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/ops creating build/lib.linux-x86_64-3.10/xformers/_flash_attn/ops/triton copying xformers/_flash_attn/ops/triton/init.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/ops/triton copying xformers/_flash_attn/ops/triton/rotary.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/ops/triton copying xformers/_flash_attn/ops/triton/cross_entropy.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/ops/triton copying xformers/_flash_attn/ops/triton/k_activations.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/ops/triton copying xformers/_flash_attn/ops/triton/linear.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/ops/triton copying xformers/_flash_attn/ops/triton/mlp.py -> build/lib.linux-x86_64-3.10/xformers/_flash_attn/ops/triton creating build/lib.linux-x86_64-3.10/xformers/ops/_triton copying xformers/ops/_triton/init.py -> build/lib.linux-x86_64-3.10/xformers/ops/_triton copying xformers/ops/_triton/k_scaled_index_add.py -> build/lib.linux-x86_64-3.10/xformers/ops/_triton copying xformers/ops/_triton/rmsnorm_kernels.py -> build/lib.linux-x86_64-3.10/xformers/ops/_triton copying xformers/ops/_triton/rope_padded_kernels.py -> build/lib.linux-x86_64-3.10/xformers/ops/_triton copying xformers/ops/_triton/k_index_select_cat.py -> build/lib.linux-x86_64-3.10/xformers/ops/_triton creating build/lib.linux-x86_64-3.10/xformers/ops/fmha copying xformers/ops/fmha/init.py -> build/lib.linux-x86_64-3.10/xformers/ops/fmha copying xformers/ops/fmha/flash.py -> build/lib.linux-x86_64-3.10/xformers/ops/fmha copying xformers/ops/fmha/common.py -> build/lib.linux-x86_64-3.10/xformers/ops/fmha copying xformers/ops/fmha/decoder.py -> build/lib.linux-x86_64-3.10/xformers/ops/fmha copying xformers/ops/fmha/dispatch.py -> build/lib.linux-x86_64-3.10/xformers/ops/fmha copying xformers/ops/fmha/triton_splitk.py -> build/lib.linux-x86_64-3.10/xformers/ops/fmha copying xformers/ops/fmha/attn_bias.py -> build/lib.linux-x86_64-3.10/xformers/ops/fmha copying xformers/ops/fmha/triton.py -> build/lib.linux-x86_64-3.10/xformers/ops/fmha copying xformers/ops/fmha/cutlass.py -> build/lib.linux-x86_64-3.10/xformers/ops/fmha copying xformers/ops/fmha/small_k.py -> build/lib.linux-x86_64-3.10/xformers/ops/fmha running build_ext /usr/local/lib/python3.10/dist-packages/torch/utils/cpp_extension.py:424: UserWarning: There are no x86_64-linux-gnu-g++ version bounds defined for CUDA version 11.8 warnings.warn(f'There are no {compiler_name} version bounds defined for CUDA version {cuda_str_version}') building 'xformers._C_flashattention' extension creating /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10 creating /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp creating /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46 creating /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d creating /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party creating /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention creating /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc creating /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn creating /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src Emitting ninja build file /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/build.ninja... Compiling objects... Using envvar MAX_JOBS (1) as the number of workers... 1.11.1.git.kitware.jobserver-1 x86_64-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/flash_api.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim128_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim128_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim160_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim160_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim192_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim192_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim224_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim224_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim256_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim256_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim32_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim32_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim64_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim64_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim96_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim96_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim128_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim128_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim160_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim160_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim192_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim192_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim224_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim224_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim256_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim256_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim32_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim32_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim64_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim64_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim96_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim96_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim128_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim128_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim160_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim160_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim192_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim192_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim224_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim224_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim256_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim256_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim32_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim32_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim64_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim64_fp16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim96_bf16_sm80.o /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim96_fp16_sm80.o -L/usr/local/lib/python3.10/dist-packages/torch/lib -L/usr/local/cuda/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-3.10/xformers/_C_flashattention.so /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/flash_api.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim128_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim128_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim160_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim160_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim192_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim192_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim224_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim224_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim256_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim256_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim32_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim32_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim64_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim64_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim96_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_bwd_hdim96_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim128_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim128_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim160_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim160_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim192_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim192_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim224_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim224_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim256_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim256_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim32_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim32_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim64_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim64_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim96_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_hdim96_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim128_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim128_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim160_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim160_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim192_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim192_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim224_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim224_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim256_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim256_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim32_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim32_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim64_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim64_fp16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim96_bf16_sm80.o: No such file or directory /usr/bin/ld: cannot find /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/build/temp.linux-x86_64-3.10/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/third_party/flash-attention/csrc/flash_attn/src/flash_fwd_split_hdim96_fp16_sm80.o: No such file or directory collect2: error: ld returned 1 exit status error: command '/usr/bin/x86_64-linux-gnu-g++' failed with exit code 1 error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. full command: /usr/bin/python3 -u -c ' exec(compile('"'"''"'"''"'"'

This is -- a caller that pip uses to run setup.py

#

- It imports setuptools before invoking setup.py, to enable projects that directly

import from distutils.core to work with newer packaging standards.

- It provides a clear error message when setuptools is not installed.

- It sets sys.argv[0] to the underlying setup.py, when invoking setup.py so

setuptools doesn'"'"'t think the script is -c. This avoids the following warning:

manifest_maker: standard file '"'"'-c'"'"' not found".

- It generates a shim setup.py, for handling setup.cfg-only projects.

import os, sys, tokenize

try: import setuptools except ImportError as error: print( "ERROR: Can not execute setup.py since setuptools is not available in " "the build environment.", file=sys.stderr, ) sys.exit(1)

file = %r sys.argv[0] = file

if os.path.exists(file): filename = file with tokenize.open(file) as f: setup_py_code = f.read() else: filename = "" setup_py_code = "from setuptools import setup; setup()"

exec(compile(setup_py_code, filename, "exec")) '"'"''"'"''"'"' % ('"'"'/tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-e6nhqg05 cwd: /tmp/pip-install-s8pvan46/xformers_7983fc5d778547b384f4427e07b6984d/ Building wheel for xformers (setup.py) ... error ERROR: Failed building wheel for xformers Running setup.py clean for xformers Running command python setup.py clean running clean 'build/lib.linux-x86_64-3.10' does not exist -- can't clean it 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.10' does not exist -- can't clean it Failed to build xformers ERROR: Could not build wheels for xformers, which is required to install pyproject.toml-based projects