idiap / fast-transformers

Pytorch library for fast transformer implementations
1.63k stars 175 forks source link

ERROR: Could not build wheels for pytorch-fast-transformers, which is required to install pyproject.toml-based projects #128

Open ouusan opened 9 months ago

ouusan commented 9 months ago

Hello,Thankyou for your work! my torch version 2.1.0 cuda 11.1 Python 3.10.13 with Ubuntu and checked my gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2) I try to install it with : pip install --user pytorch-fast-transformers This is my installing process and error occurs as following, can you give me some advice on how to solve it? Thank you in advance.

Collecting pytorch-fast-transformers Using cached pytorch-fast-transformers-0.4.0.tar.gz (93 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: torch in /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages (from pytorch-fast-transformers) (2.1.0) Requirement already satisfied: filelock in /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages (from torch->pytorch-fast-transformers) (3.13.0) Requirement already satisfied: typing-extensions in /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages (from torch->pytorch-fast-transformers) (4.8.0) Requirement already satisfied: sympy in /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages (from torch->pytorch-fast-transformers) (1.12) Requirement already satisfied: networkx in /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages (from torch->pytorch-fast-transformers) (3.2.1) Requirement already satisfied: jinja2 in /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages (from torch->pytorch-fast-transformers) (3.1.2) Requirement already satisfied: fsspec in /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages (from torch->pytorch-fast-transformers) (2023.10.0) Requirement already satisfied: MarkupSafe>=2.0 in /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages (from jinja2->torch->pytorch-fast-transformers) (2.1.3) Requirement already satisfied: mpmath>=0.19 in /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages (from sympy->torch->pytorch-fast-transformers) (1.3.0) Building wheels for collected packages: pytorch-fast-transformers Building wheel for pytorch-fast-transformers (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [278 lines of output] running bdist_wheel /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/utils/cpp_extension.py:502: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend. warnings.warn(msg.format('we could not find ninja.')) running build running build_py creating build creating build/lib.linux-x86_64-cpython-310 creating build/lib.linux-x86_64-cpython-310/fast_transformers copying fast_transformers/masking.py -> build/lib.linux-x86_64-cpython-310/fast_transformers copying fast_transformers/weight_mapper.py -> build/lib.linux-x86_64-cpython-310/fast_transformers copying fast_transformers/transformers.py -> build/lib.linux-x86_64-cpython-310/fast_transformers copying fast_transformers/utils.py -> build/lib.linux-x86_64-cpython-310/fast_transformers copying fast_transformers/init.py -> build/lib.linux-x86_64-cpython-310/fast_transformers creating build/lib.linux-x86_64-cpython-310/fast_transformers/clustering copying fast_transformers/clustering/init.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/clustering creating build/lib.linux-x86_64-cpython-310/fast_transformers/hashing copying fast_transformers/hashing/init.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/hashing creating build/lib.linux-x86_64-cpython-310/fast_transformers/builders copying fast_transformers/builders/base.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/builders copying fast_transformers/builders/attention_builders.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/builders copying fast_transformers/builders/init.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/builders copying fast_transformers/builders/transformer_builders.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/builders creating build/lib.linux-x86_64-cpython-310/fast_transformers/recurrent copying fast_transformers/recurrent/transformers.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/recurrent copying fast_transformers/recurrent/_utils.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/recurrent copying fast_transformers/recurrent/init.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/recurrent creating build/lib.linux-x86_64-cpython-310/fast_transformers/local_product copying fast_transformers/local_product/init.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/local_product creating build/lib.linux-x86_64-cpython-310/fast_transformers/attention_registry copying fast_transformers/attention_registry/registry.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/attention_registry copying fast_transformers/attention_registry/spec.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/attention_registry copying fast_transformers/attention_registry/init.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/attention_registry creating build/lib.linux-x86_64-cpython-310/fast_transformers/sparse_product copying fast_transformers/sparse_product/init.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/sparse_product creating build/lib.linux-x86_64-cpython-310/fast_transformers/events copying fast_transformers/events/event.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/events copying fast_transformers/events/filters.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/events copying fast_transformers/events/event_dispatcher.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/events copying fast_transformers/events/init.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/events creating build/lib.linux-x86_64-cpython-310/fast_transformers/attention copying fast_transformers/attention/full_attention.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/attention copying fast_transformers/attention/clustered_attention.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/attention copying fast_transformers/attention/conditional_full_attention.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/attention copying fast_transformers/attention/causal_linear_attention.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/attention copying fast_transformers/attention/attention_layer.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/attention copying fast_transformers/attention/reformer_attention.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/attention copying fast_transformers/attention/improved_clustered_attention.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/attention copying fast_transformers/attention/exact_topk_attention.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/attention copying fast_transformers/attention/init.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/attention copying fast_transformers/attention/linear_attention.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/attention copying fast_transformers/attention/local_attention.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/attention copying fast_transformers/attention/improved_clustered_causal_attention.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/attention creating build/lib.linux-x86_64-cpython-310/fast_transformers/aggregate copying fast_transformers/aggregate/init.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/aggregate creating build/lib.linux-x86_64-cpython-310/fast_transformers/feature_maps copying fast_transformers/feature_maps/base.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/feature_maps copying fast_transformers/feature_maps/fourier_features.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/feature_maps copying fast_transformers/feature_maps/init.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/feature_maps creating build/lib.linux-x86_64-cpython-310/fast_transformers/causal_product copying fast_transformers/causal_product/init.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/causal_product creating build/lib.linux-x86_64-cpython-310/fast_transformers/clustering/hamming copying fast_transformers/clustering/hamming/init.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/clustering/hamming creating build/lib.linux-x86_64-cpython-310/fast_transformers/recurrent/attention copying fast_transformers/recurrent/attention/init.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/recurrent/attention creating build/lib.linux-x86_64-cpython-310/fast_transformers/recurrent/attention/cross_attention copying fast_transformers/recurrent/attention/cross_attention/full_attention.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/recurrent/attention/cross_attention copying fast_transformers/recurrent/attention/cross_attention/attention_layer.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/recurrent/attention/cross_attention copying fast_transformers/recurrent/attention/cross_attention/init.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/recurrent/attention/cross_attention copying fast_transformers/recurrent/attention/cross_attention/linear_attention.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/recurrent/attention/cross_attention creating build/lib.linux-x86_64-cpython-310/fast_transformers/recurrent/attention/self_attention copying fast_transformers/recurrent/attention/self_attention/full_attention.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/recurrent/attention/self_attention copying fast_transformers/recurrent/attention/self_attention/attention_layer.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/recurrent/attention/self_attention copying fast_transformers/recurrent/attention/self_attention/init.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/recurrent/attention/self_attention copying fast_transformers/recurrent/attention/self_attention/linear_attention.py -> build/lib.linux-x86_64-cpython-310/fast_transformers/recurrent/attention/self_attention running build_ext /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/utils/cpp_extension.py:414: UserWarning: The detected CUDA version (11.1) has a minor version mismatch with the version that was used to compile PyTorch (11.8). Most likely this shouldn't be a problem. warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda)) building 'fast_transformers.hashing.hash_cpu' extension creating build/temp.linux-x86_64-cpython-310 creating build/temp.linux-x86_64-cpython-310/fast_transformers creating build/temp.linux-x86_64-cpython-310/fast_transformers/hashing gcc -pthread -B /home/ouusan/anaconda3/envs/4D-humans/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/ouusan/anaconda3/envs/4D-humans/include -fPIC -O2 -isystem /home/ouusan/anaconda3/envs/4D-humans/include -fPIC -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/TH -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/THC -I/home/ouusan/anaconda3/envs/4D-humans/include/python3.10 -c fast_transformers/hashing/hash_cpu.cpp -o build/temp.linux-x86_64-cpython-310/fast_transformers/hashing/hash_cpu.o -fopenmp -ffast-math -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=hash_cpu -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 g++ -pthread -B /home/ouusan/anaconda3/envs/4D-humans/compiler_compat -shared -Wl,--allow-shlib-undefined -Wl,-rpath,/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,-rpath-link,/home/ouusan/anaconda3/envs/4D-humans/lib -L/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,--allow-shlib-undefined -Wl,-rpath,/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,-rpath-link,/home/ouusan/anaconda3/envs/4D-humans/lib -L/home/ouusan/anaconda3/envs/4D-humans/lib build/temp.linux-x86_64-cpython-310/fast_transformers/hashing/hash_cpu.o -L/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/lib -lc10 -ltorch -ltorch_cpu -ltorch_python -o build/lib.linux-x86_64-cpython-310/fast_transformers/hashing/hash_cpu.cpython-310-x86_64-linux-gnu.so building 'fast_transformers.aggregate.aggregate_cpu' extension creating build/temp.linux-x86_64-cpython-310/fast_transformers/aggregate gcc -pthread -B /home/ouusan/anaconda3/envs/4D-humans/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/ouusan/anaconda3/envs/4D-humans/include -fPIC -O2 -isystem /home/ouusan/anaconda3/envs/4D-humans/include -fPIC -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/TH -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/THC -I/home/ouusan/anaconda3/envs/4D-humans/include/python3.10 -c fast_transformers/aggregate/aggregate_cpu.cpp -o build/temp.linux-x86_64-cpython-310/fast_transformers/aggregate/aggregate_cpu.o -fopenmp -ffast-math -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=aggregate_cpu -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 g++ -pthread -B /home/ouusan/anaconda3/envs/4D-humans/compiler_compat -shared -Wl,--allow-shlib-undefined -Wl,-rpath,/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,-rpath-link,/home/ouusan/anaconda3/envs/4D-humans/lib -L/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,--allow-shlib-undefined -Wl,-rpath,/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,-rpath-link,/home/ouusan/anaconda3/envs/4D-humans/lib -L/home/ouusan/anaconda3/envs/4D-humans/lib build/temp.linux-x86_64-cpython-310/fast_transformers/aggregate/aggregate_cpu.o -L/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/lib -lc10 -ltorch -ltorch_cpu -ltorch_python -o build/lib.linux-x86_64-cpython-310/fast_transformers/aggregate/aggregate_cpu.cpython-310-x86_64-linux-gnu.so building 'fast_transformers.clustering.hamming.cluster_cpu' extension creating build/temp.linux-x86_64-cpython-310/fast_transformers/clustering creating build/temp.linux-x86_64-cpython-310/fast_transformers/clustering/hamming gcc -pthread -B /home/ouusan/anaconda3/envs/4D-humans/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/ouusan/anaconda3/envs/4D-humans/include -fPIC -O2 -isystem /home/ouusan/anaconda3/envs/4D-humans/include -fPIC -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/TH -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/THC -I/home/ouusan/anaconda3/envs/4D-humans/include/python3.10 -c fast_transformers/clustering/hamming/cluster_cpu.cpp -o build/temp.linux-x86_64-cpython-310/fast_transformers/clustering/hamming/cluster_cpu.o -fopenmp -ffast-math -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=cluster_cpu -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 g++ -pthread -B /home/ouusan/anaconda3/envs/4D-humans/compiler_compat -shared -Wl,--allow-shlib-undefined -Wl,-rpath,/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,-rpath-link,/home/ouusan/anaconda3/envs/4D-humans/lib -L/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,--allow-shlib-undefined -Wl,-rpath,/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,-rpath-link,/home/ouusan/anaconda3/envs/4D-humans/lib -L/home/ouusan/anaconda3/envs/4D-humans/lib build/temp.linux-x86_64-cpython-310/fast_transformers/clustering/hamming/cluster_cpu.o -L/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/lib -lc10 -ltorch -ltorch_cpu -ltorch_python -o build/lib.linux-x86_64-cpython-310/fast_transformers/clustering/hamming/cluster_cpu.cpython-310-x86_64-linux-gnu.so building 'fast_transformers.sparse_product.sparse_product_cpu' extension creating build/temp.linux-x86_64-cpython-310/fast_transformers/sparse_product gcc -pthread -B /home/ouusan/anaconda3/envs/4D-humans/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/ouusan/anaconda3/envs/4D-humans/include -fPIC -O2 -isystem /home/ouusan/anaconda3/envs/4D-humans/include -fPIC -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/TH -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/THC -I/home/ouusan/anaconda3/envs/4D-humans/include/python3.10 -c fast_transformers/sparse_product/sparse_product_cpu.cpp -o build/temp.linux-x86_64-cpython-310/fast_transformers/sparse_product/sparse_product_cpu.o -fopenmp -ffast-math -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=sparse_product_cpu -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 g++ -pthread -B /home/ouusan/anaconda3/envs/4D-humans/compiler_compat -shared -Wl,--allow-shlib-undefined -Wl,-rpath,/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,-rpath-link,/home/ouusan/anaconda3/envs/4D-humans/lib -L/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,--allow-shlib-undefined -Wl,-rpath,/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,-rpath-link,/home/ouusan/anaconda3/envs/4D-humans/lib -L/home/ouusan/anaconda3/envs/4D-humans/lib build/temp.linux-x86_64-cpython-310/fast_transformers/sparse_product/sparse_product_cpu.o -L/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/lib -lc10 -ltorch -ltorch_cpu -ltorch_python -o build/lib.linux-x86_64-cpython-310/fast_transformers/sparse_product/sparse_product_cpu.cpython-310-x86_64-linux-gnu.so building 'fast_transformers.sparse_product.clustered_sparse_product_cpu' extension gcc -pthread -B /home/ouusan/anaconda3/envs/4D-humans/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/ouusan/anaconda3/envs/4D-humans/include -fPIC -O2 -isystem /home/ouusan/anaconda3/envs/4D-humans/include -fPIC -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/TH -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/THC -I/home/ouusan/anaconda3/envs/4D-humans/include/python3.10 -c fast_transformers/sparse_product/clustered_sparse_product_cpu.cpp -o build/temp.linux-x86_64-cpython-310/fast_transformers/sparse_product/clustered_sparse_product_cpu.o -fopenmp -ffast-math -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=clustered_sparse_product_cpu -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 g++ -pthread -B /home/ouusan/anaconda3/envs/4D-humans/compiler_compat -shared -Wl,--allow-shlib-undefined -Wl,-rpath,/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,-rpath-link,/home/ouusan/anaconda3/envs/4D-humans/lib -L/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,--allow-shlib-undefined -Wl,-rpath,/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,-rpath-link,/home/ouusan/anaconda3/envs/4D-humans/lib -L/home/ouusan/anaconda3/envs/4D-humans/lib build/temp.linux-x86_64-cpython-310/fast_transformers/sparse_product/clustered_sparse_product_cpu.o -L/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/lib -lc10 -ltorch -ltorch_cpu -ltorch_python -o build/lib.linux-x86_64-cpython-310/fast_transformers/sparse_product/clustered_sparse_product_cpu.cpython-310-x86_64-linux-gnu.so building 'fast_transformers.causal_product.causal_product_cpu' extension creating build/temp.linux-x86_64-cpython-310/fast_transformers/causal_product gcc -pthread -B /home/ouusan/anaconda3/envs/4D-humans/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/ouusan/anaconda3/envs/4D-humans/include -fPIC -O2 -isystem /home/ouusan/anaconda3/envs/4D-humans/include -fPIC -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/TH -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/THC -I/home/ouusan/anaconda3/envs/4D-humans/include/python3.10 -c fast_transformers/causal_product/causal_product_cpu.cpp -o build/temp.linux-x86_64-cpython-310/fast_transformers/causal_product/causal_product_cpu.o -fopenmp -ffast-math -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=causal_product_cpu -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 g++ -pthread -B /home/ouusan/anaconda3/envs/4D-humans/compiler_compat -shared -Wl,--allow-shlib-undefined -Wl,-rpath,/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,-rpath-link,/home/ouusan/anaconda3/envs/4D-humans/lib -L/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,--allow-shlib-undefined -Wl,-rpath,/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,-rpath-link,/home/ouusan/anaconda3/envs/4D-humans/lib -L/home/ouusan/anaconda3/envs/4D-humans/lib build/temp.linux-x86_64-cpython-310/fast_transformers/causal_product/causal_product_cpu.o -L/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/lib -lc10 -ltorch -ltorch_cpu -ltorch_python -o build/lib.linux-x86_64-cpython-310/fast_transformers/causal_product/causal_product_cpu.cpython-310-x86_64-linux-gnu.so building 'fast_transformers.local_product.local_product_cpu' extension creating build/temp.linux-x86_64-cpython-310/fast_transformers/local_product gcc -pthread -B /home/ouusan/anaconda3/envs/4D-humans/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/ouusan/anaconda3/envs/4D-humans/include -fPIC -O2 -isystem /home/ouusan/anaconda3/envs/4D-humans/include -fPIC -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/TH -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/THC -I/home/ouusan/anaconda3/envs/4D-humans/include/python3.10 -c fast_transformers/local_product/local_product_cpu.cpp -o build/temp.linux-x86_64-cpython-310/fast_transformers/local_product/local_product_cpu.o -fopenmp -ffast-math -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=local_product_cpu -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 g++ -pthread -B /home/ouusan/anaconda3/envs/4D-humans/compiler_compat -shared -Wl,--allow-shlib-undefined -Wl,-rpath,/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,-rpath-link,/home/ouusan/anaconda3/envs/4D-humans/lib -L/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,--allow-shlib-undefined -Wl,-rpath,/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,-rpath-link,/home/ouusan/anaconda3/envs/4D-humans/lib -L/home/ouusan/anaconda3/envs/4D-humans/lib build/temp.linux-x86_64-cpython-310/fast_transformers/local_product/local_product_cpu.o -L/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/lib -lc10 -ltorch -ltorch_cpu -ltorch_python -o build/lib.linux-x86_64-cpython-310/fast_transformers/local_product/local_product_cpu.cpython-310-x86_64-linux-gnu.so building 'fast_transformers.hashing.hash_cuda' extension /usr/local/cuda-11.1/bin/nvcc -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/TH -I/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-11.1/include -I/home/ouusan/anaconda3/envs/4D-humans/include/python3.10 -c fast_transformers/hashing/hash_cuda.cu -o build/temp.linux-x86_64-cpython-310/fast_transformers/hashing/hash_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options '-fPIC' -arch=compute_50 -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=hash_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:141:1: warning: attribute ignored [-Wattributes] 141 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:141:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:143:1: warning: attribute ignored [-Wattributes] 143 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:143:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:145:1: warning: attribute ignored [-Wattributes] 145 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:145:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:222:1: warning: attribute ignored [-Wattributes] 222 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:222:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:235:1: warning: attribute ignored [-Wattributes] 235 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:235:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:258:1: warning: attribute ignored [-Wattributes] 258 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:258:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:267:1: warning: attribute ignored [-Wattributes] 267 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:267:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:276:1: warning: attribute ignored [-Wattributes] 276 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:276:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:285:1: warning: attribute ignored [-Wattributes] 285 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:285:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:314:1: warning: attribute ignored [-Wattributes] 314 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:314:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:323:1: warning: attribute ignored [-Wattributes] 323 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:323:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:333:1: warning: attribute ignored [-Wattributes] 333 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:333:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:342:1: warning: attribute ignored [-Wattributes] 342 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:342:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:352:1: warning: attribute ignored [-Wattributes] 352 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:352:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:361:1: warning: attribute ignored [-Wattributes] 361 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:361:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:371:1: warning: attribute ignored [-Wattributes] 371 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:371:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:380:1: warning: attribute ignored [-Wattributes] 380 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:380:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:494:1: warning: attribute ignored [-Wattributes] 494 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:494:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:507:1: warning: attribute ignored [-Wattributes] 507 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:507:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:520:1: warning: attribute ignored [-Wattributes] 520 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:520:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:533:1: warning: attribute ignored [-Wattributes] 533 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:533:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:836:1: warning: attribute ignored [-Wattributes] 836 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:836:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:871:1: warning: attribute ignored [-Wattributes] 871 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:871:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:882:1: warning: attribute ignored [-Wattributes] 882 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:882:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:893:1: warning: attribute ignored [-Wattributes] 893 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:893:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:918:1: warning: attribute ignored [-Wattributes] 918 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:918:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:932:1: warning: attribute ignored [-Wattributes] 932 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:932:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:946:1: warning: attribute ignored [-Wattributes] 946 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:946:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:960:1: warning: attribute ignored [-Wattributes] 960 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:960:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:994:1: warning: attribute ignored [-Wattributes] 994 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:994:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:1065:1: warning: attribute ignored [-Wattributes] 1065 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:1065:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:1077:1: warning: attribute ignored [-Wattributes] 1077 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:1077:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:1089:1: warning: attribute ignored [-Wattributes] 1089 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:1089:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:1101:1: warning: attribute ignored [-Wattributes] 1101 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:1101:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:1114:1: warning: attribute ignored [-Wattributes] 1114 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:1114:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:1198:1: warning: attribute ignored [-Wattributes] 1198 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:1198:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:1210:1: warning: attribute ignored [-Wattributes] 1210 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:1210:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:1222:1: warning: attribute ignored [-Wattributes] 1222 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:1222:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:1234:1: warning: attribute ignored [-Wattributes] 1234 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:1234:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:1247:1: warning: attribute ignored [-Wattributes] 1247 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:1247:1: note: an attribute that appertains to a type-specifier is ignored /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:1260:1: warning: attribute ignored [-Wattributes] 1260 | STRONG_NODISCARD | ^ /home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/include/c10/util/strong_type.h:1260:1: note: an attribute that appertains to a type-specifier is ignored g++ -pthread -B /home/ouusan/anaconda3/envs/4D-humans/compiler_compat -shared -Wl,--allow-shlib-undefined -Wl,-rpath,/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,-rpath-link,/home/ouusan/anaconda3/envs/4D-humans/lib -L/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,--allow-shlib-undefined -Wl,-rpath,/home/ouusan/anaconda3/envs/4D-humans/lib -Wl,-rpath-link,/home/ouusan/anaconda3/envs/4D-humans/lib -L/home/ouusan/anaconda3/envs/4D-humans/lib build/temp.linux-x86_64-cpython-310/fast_transformers/hashing/hash_cuda.o -L/home/ouusan/anaconda3/envs/4D-humans/lib/python3.10/site-packages/torch/lib -L/usr/local/cuda-11.1/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-cpython-310/fast_transformers/hashing/hash_cuda.cpython-310-x86_64-linux-gnu.so /home/ouusan/anaconda3/envs/4D-humans/compiler_compat/ld: cannot find -lcudart: 没有那个文件或目录 collect2: error: ld returned 1 exit status error: command '/usr/bin/g++' failed with exit code 1 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pytorch-fast-transformers Running setup.py clean for pytorch-fast-transformers Failed to build pytorch-fast-transformers ERROR: Could not build wheels for pytorch-fast-transformers, which is required to install pyproject.toml-based projects

liuliuli302 commented 9 months ago

@ouusan This problem may happen when you got wrong match of torch and cuda. or you may lack visual studio c++ env. I just overcome this problem on another computer. and finally use python -m pip install ****.whl to install this pkg. i kept this .whl file, if you nedd the file, i can send you.

Leepoet commented 8 months ago

@liuliuli302 hey, I need it. Can you send me? My torch verson is 1.7.1 (cuda 10.2).

Zhreyu commented 8 months ago

@liuliuli302 could you send me as well?

Conceptual-Geek commented 6 months ago

@ouusan This problem may happen when you got wrong match of torch and cuda. or you may lack visual studio c++ env. I just overcome this problem on another computer. and finally use python -m pip install ****.whl to install this pkg. i kept this .whl file, if you nedd the file, i can send you.

@liuliuli302 Can you please send me as well . looking forward

PerToZl commented 6 months ago

@liuliuli302 could you send me as well ?

ornid22-da commented 5 months ago

@liuliuli302 could you send me the .whl file as well? I have cuda 9 and pytorch 1.7

altriavin commented 5 months ago

@liuliuli302 could you send me the .whl file as well? Thank you very much.

AndyWeasley2004 commented 5 months ago

@liuliuli302 Hi, could you kindly send me the .whl file as well. Thank you very much!

Luis-Rojas-composer commented 2 months ago

@liuliuli302 Hi!!! One more, please... could you send me the .whl file. Thank you in advance!

Luis-Rojas-composer commented 2 months ago

@liuliuli302 @AndyWeasley2004 @altriavin @ornid22-da Hi!!! One more, please... could you send me the .whl file. Thank you in advance!

lyuzhuoqi commented 1 month ago

hi could you send me one as well? Thanks so much for your help? @liuliuli302 @ouusan @Leepoet @Zhreyu @Conceptual-Geek @PerToZl @ornid22-da @altriavin @AndyWeasley2004 @Luis-Rojas-composer

hongnianwang commented 1 day ago

hi could you send me a WHL file? Thanks @liuliuli302 @ouusan @Leepoet @Zhreyu @Conceptual-Geek @PerToZl @ornid22-da @altriavin @AndyWeasley2004 @Luis-Rojas-composer @lyuzhuoqi