Open xiaoyangyang123 opened 2 years ago
pip list: absl-py 1.1.0 aiohttp 3.8.1 aiosignal 1.2.0 anyio 3.6.1 aplus 0.11.0 appdirs 1.4.4 argon2-cffi 21.3.0 argon2-cffi-bindings 21.2.0 astropy 5.1 asttokens 2.0.5 async-timeout 4.0.2 attrs 21.4.0 backcall 0.2.0 beautifulsoup4 4.11.1 blake3 0.3.1 bleach 5.0.1 bqplot 0.12.33 brotlipy 0.7.0 cachetools 5.2.0 certifi 2022.6.15 cffi 1.15.0 chamfer 2.0.0 charset-normalizer 2.0.4 click 8.1.3 cloudpickle 2.1.0 commonmark 0.9.1 configparser 5.2.0 cryptography 37.0.1 cycler 0.11.0 Cython 0.29.30 dask 2022.7.0 debugpy 1.6.2 decorator 5.1.1 deepspeed 0.6.5 defusedxml 0.7.1 docker-pycreds 0.4.0 easydict 1.9 emd-ext 0.0.0 entrypoints 0.4 executing 0.8.3 fastapi 0.78.0 fastjsonschema 2.15.3 filelock 3.7.1 fonttools 4.33.3 frozendict 2.3.2 frozenlist 1.3.0 fsspec 2022.5.0 future 0.18.2 gdown 3.15.0 gitdb 4.0.9 GitPython 3.1.27 google-auth 2.8.0 google-auth-oauthlib 0.4.6 googledrivedownloader 0.4 gql 0.2.0 graphql-core 1.1 grpcio 1.47.0 h11 0.13.0 h5py 3.7.0 hjson 3.0.2 httptools 0.4.0 hydra-core 0.11.3 idna 3.3 imageio 2.19.3 importlib-metadata 4.12.0 importlib-resources 5.8.0 ipydatawidgets 4.3.1.post1 ipykernel 6.15.1 ipyleaflet 0.17.0 ipympl 0.9.1 ipython 8.4.0 ipython-genutils 0.2.0 ipyvolume 0.5.2 ipyvue 1.7.0 ipyvuetify 1.8.2 ipywebrtc 0.6.0 ipywidgets 7.7.1 isodate 0.6.1 jedi 0.18.1 Jinja2 3.1.2 joblib 1.1.0 jsonpatch 1.32 jsonpointer 2.3 jsonschema 4.6.2 jupyter-client 7.3.4 jupyter-core 4.11.1 jupyterlab-pygments 0.2.2 jupyterlab-widgets 1.1.1 kiwisolver 1.4.3 KNN-CUDA 0.2 llvmlite 0.33.0 locket 1.0.0 Markdown 3.3.7 MarkupSafe 2.1.1 matplotlib 3.5.2 matplotlib-inline 0.1.3 mistune 0.8.4 mkl-fft 1.3.1 mkl-random 1.2.2 mkl-service 2.4.0 multidict 6.0.2 multimethod 1.8 munkres 1.1.4 nbclient 0.6.6 nbconvert 6.5.0 nbformat 5.4.0 nest-asyncio 1.5.5 networkx 2.8.5 ninja 1.10.2.3 notebook 6.4.12 numba 0.50.1 numpy 1.19.5 nvidia-ml-py3 7.352.0 oauthlib 3.2.0 omegaconf 1.4.1 open3d 0.10.0.0 packaging 21.3 pandas 1.4.3 pandocfilters 1.5.0 parso 0.8.3 partd 1.2.0 pathtools 0.1.2 pexpect 4.8.0 pickleshare 0.7.5 Pillow 9.0.1 pip 22.2.1 plyfile 0.7.4 pointnet2-cuda 0.0.0 pointops 0.0.0 progressbar2 4.0.0 prometheus-client 0.14.1 promise 2.3 prompt-toolkit 3.0.30 protobuf 3.19.4 psutil 5.9.1 ptyprocess 0.7.0 pure-eval 0.2.2 py-cpuinfo 8.0.0 pyarrow 8.0.0 pyasn1 0.4.8 pyasn1-modules 0.2.8 pycparser 2.21 pydantic 1.9.1 pyerfa 2.0.0.1 Pygments 2.12.0 pyOpenSSL 22.0.0 pyparsing 3.0.9 pyrsistent 0.18.1 PySocks 1.7.1 python-dateutil 2.8.2 python-dotenv 0.20.0 python-louvain 0.16 python-utils 3.3.3 pythreejs 2.3.0 pytorch-metric-learning 0.9.99 pytz 2022.1 pyvista 0.34.1 PyWavelets 1.3.0 PyYAML 6.0 pyzmq 23.2.0 rdflib 6.2.0 requests 2.27.1 requests-oauthlib 1.3.1 rich 12.4.4 rsa 4.8 scikit-image 0.16.2 scikit-learn 1.1.1 scipy 1.8.1 scooby 0.5.12 Send2Trash 1.8.0 sentry-sdk 1.6.0 setproctitle 1.2.3 setuptools 61.2.0 SharedArray 3.2.1 shortuuid 1.0.9 sip 4.19.13 six 1.16.0 smmap 5.0.0 sniffio 1.2.0 soupsieve 2.3.2.post1 stack-data 0.3.0 starlette 0.19.1 subprocess32 3.5.4 tabulate 0.8.10 tensorboard 2.9.1 tensorboard-data-server 0.6.1 tensorboard-plugin-wit 1.8.1 tensorboardX 2.5.1 termcolor 1.1.0 terminado 0.15.0 threadpoolctl 3.1.0 timm 0.6.5 tinycss2 1.1.1 toolz 0.12.0 torch 1.12.0 torch-cluster 1.6.0 torch-geometric 1.7.2 torch-points-kernels 0.6.10 torch-points3d 1.3.0 torch-scatter 2.0.9 torch-sparse 0.6.13 torchfile 0.1.0 torchnet 0.0.4 torchvision 0.13.0 tornado 6.1 tqdm 4.64.0 traitlets 5.3.0 traittypes 0.2.1 typing_extensions 4.1.1 urllib3 1.26.9 uvicorn 0.18.2 uvloop 0.16.0 vaex 4.9.2 vaex-astro 0.9.1 vaex-core 4.9.2 vaex-hdf5 0.12.2 vaex-jupyter 0.8.0 vaex-ml 0.17.0 vaex-server 0.8.1 vaex-viz 0.5.2 visdom 0.1.8.9 vtk 9.1.0 wandb 0.8.36 watchdog 2.1.9 watchfiles 0.15.0 wcwidth 0.2.5 webencodings 0.5.1 websocket-client 1.3.3 websockets 10.3 Werkzeug 2.1.2 wheel 0.37.1 widgetsnbextension 3.6.1 wslink 1.6.5 xarray 2022.3.0 xyzservices 2022.6.0 yarl 1.7.2 zipp 3.8.0
nvcc -V: nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2021 NVIDIA Corporation Built on Sun_Mar_21_19:15:46_PDT_2021 Cuda compilation tools, release 11.3, V11.3.58 Build cuda_11.3.r11.3/compiler.29745058_0
gcc -V: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:hsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.1' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-Av3uEd/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
The errors encountered and my environment configuration:cd lib/pointops2 python3 setup.py install RuntimeError: Error compiling objects for extension
i pass:In all .cpp files lib\ comment out #include <THC/THC.h>. Apparently, this is an old file and is no longer included in PyTorch, nor is it needed. and:I replaced all mentions of AT_CHECK and THCState_getCurrentStream(state) with TORCH_CHECK and at::cuda::getCurrentCUDAStream(), respectively. I was then able to install setup.py without errors.
Error processing line 1 of /home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/matplotlib-3.5.2-py3.8-nspkg.pth:
Traceback (most recent call last): File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site.py", line 169, in addpackage exec(line) File "", line 1, in
File "", line 553, in module_from_spec
AttributeError: 'NoneType' object has no attribute 'loader'
Remainder of file ignored running install /home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( /home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( running bdist_egg running egg_info writing pointops2.egg-info/PKG-INFO writing dependency_links to pointops2.egg-info/dependency_links.txt writing top-level names to pointops2.egg-info/top_level.txt Error processing line 1 of /home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/matplotlib-3.5.2-py3.8-nspkg.pth:
Traceback (most recent call last): File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site.py", line 169, in addpackage exec(line) File "", line 1, in
File "", line 553, in module_from_spec
AttributeError: 'NoneType' object has no attribute 'loader'
Remainder of file ignored reading manifest file 'pointops2.egg-info/SOURCES.txt' writing manifest file 'pointops2.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_ext building 'pointops2_cuda' extension Error processing line 1 of /home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/matplotlib-3.5.2-py3.8-nspkg.pth:
Traceback (most recent call last): File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site.py", line 169, in addpackage exec(line) File "", line 1, in
File "", line 553, in module_from_spec
AttributeError: 'NoneType' object has no attribute 'loader'
Remainder of file ignored Emitting ninja build file /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) Error processing line 1 of /home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/matplotlib-3.5.2-py3.8-nspkg.pth:
Traceback (most recent call last): File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site.py", line 169, in addpackage exec(line) File "", line 1, in
File "", line 553, in module_from_spec
AttributeError: 'NoneType' object has no attribute 'loader'
Remainder of file ignored [1/12] c++ -MMD -MF /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/knnquery/knnquery_cuda.o.d -pthread -B /home/yn/anaconda3/envs/pytorch-gpu/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/TH -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/yn/anaconda3/envs/pytorch-gpu/include/python3.8 -c -c /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/knnquery/knnquery_cuda.cpp -o /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/knnquery/knnquery_cuda.o -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 FAILED: /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/knnquery/knnquery_cuda.o c++ -MMD -MF /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/knnquery/knnquery_cuda.o.d -pthread -B /home/yn/anaconda3/envs/pytorch-gpu/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/TH -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/yn/anaconda3/envs/pytorch-gpu/include/python3.8 -c -c /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/knnquery/knnquery_cuda.cpp -o /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/knnquery/knnquery_cuda.o -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/knnquery/knnquery_cuda.cpp:2:10: fatal error: THC/THC.h: 没有那个文件或目录 2 | #include <THC/THC.h> | ^
~~compilation terminated. [2/12] c++ -MMD -MF /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/grouping/grouping_cuda.o.d -pthread -B /home/yn/anaconda3/envs/pytorch-gpu/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/TH -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/yn/anaconda3/envs/pytorch-gpu/include/python3.8 -c -c /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/grouping/grouping_cuda.cpp -o /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/grouping/grouping_cuda.o -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 FAILED: /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/grouping/grouping_cuda.o c++ -MMD -MF /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/grouping/grouping_cuda.o.d -pthread -B /home/yn/anaconda3/envs/pytorch-gpu/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/TH -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/yn/anaconda3/envs/pytorch-gpu/include/python3.8 -c -c /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/grouping/grouping_cuda.cpp -o /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/grouping/grouping_cuda.o -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/grouping/grouping_cuda.cpp:2:10: fatal error: THC/THC.h: 没有那个文件或目录 2 | #include <THC/THC.h> | ^~~compilation terminated. [3/12] c++ -MMD -MF /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/aggregation/aggregation_cuda.o.d -pthread -B /home/yn/anaconda3/envs/pytorch-gpu/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/TH -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/yn/anaconda3/envs/pytorch-gpu/include/python3.8 -c -c /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/aggregation/aggregation_cuda.cpp -o /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/aggregation/aggregation_cuda.o -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 FAILED: /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/aggregation/aggregation_cuda.o c++ -MMD -MF /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/aggregation/aggregation_cuda.o.d -pthread -B /home/yn/anaconda3/envs/pytorch-gpu/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/TH -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/yn/anaconda3/envs/pytorch-gpu/include/python3.8 -c -c /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/aggregation/aggregation_cuda.cpp -o /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/aggregation/aggregation_cuda.o -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/aggregation/aggregation_cuda.cpp:2:10: fatal error: THC/THC.h: 没有那个文件或目录 2 | #include <THC/THC.h> | ^~~compilation terminated. [4/12] c++ -MMD -MF /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/attention_v2/attention_cuda_v2.o.d -pthread -B /home/yn/anaconda3/envs/pytorch-gpu/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/TH -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/yn/anaconda3/envs/pytorch-gpu/include/python3.8 -c -c /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/attention_v2/attention_cuda_v2.cpp -o /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/attention_v2/attention_cuda_v2.o -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 FAILED: /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/attention_v2/attention_cuda_v2.o c++ -MMD -MF /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/attention_v2/attention_cuda_v2.o.d -pthread -B /home/yn/anaconda3/envs/pytorch-gpu/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/TH -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/yn/anaconda3/envs/pytorch-gpu/include/python3.8 -c -c /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/attention_v2/attention_cuda_v2.cpp -o /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/attention_v2/attention_cuda_v2.o -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/attention_v2/attention_cuda_v2.cpp:2:10: fatal error: THC/THC.h: 没有那个文件或目录 2 | #include <THC/THC.h> | ^~~compilation terminated. [5/12] c++ -MMD -MF /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/attention/attention_cuda.o.d -pthread -B /home/yn/anaconda3/envs/pytorch-gpu/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/TH -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/yn/anaconda3/envs/pytorch-gpu/include/python3.8 -c -c /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/attention/attention_cuda.cpp -o /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/attention/attention_cuda.o -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 FAILED: /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/attention/attention_cuda.o c++ -MMD -MF /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/attention/attention_cuda.o.d -pthread -B /home/yn/anaconda3/envs/pytorch-gpu/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/TH -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/yn/anaconda3/envs/pytorch-gpu/include/python3.8 -c -c /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/attention/attention_cuda.cpp -o /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/attention/attention_cuda.o -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/attention/attention_cuda.cpp:2:10: fatal error: THC/THC.h: 没有那个文件或目录 2 | #include <THC/THC.h> | ^~~compilation terminated. [6/12] c++ -MMD -MF /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/rpe/relative_pos_encoding_cuda.o.d -pthread -B /home/yn/anaconda3/envs/pytorch-gpu/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/TH -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/yn/anaconda3/envs/pytorch-gpu/include/python3.8 -c -c /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/rpe/relative_pos_encoding_cuda.cpp -o /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/rpe/relative_pos_encoding_cuda.o -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 FAILED: /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/rpe/relative_pos_encoding_cuda.o c++ -MMD -MF /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/rpe/relative_pos_encoding_cuda.o.d -pthread -B /home/yn/anaconda3/envs/pytorch-gpu/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/TH -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/yn/anaconda3/envs/pytorch-gpu/include/python3.8 -c -c /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/rpe/relative_pos_encoding_cuda.cpp -o /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/rpe/relative_pos_encoding_cuda.o -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/rpe/relative_pos_encoding_cuda.cpp:2:10: fatal error: THC/THC.h: 没有那个文件或目录 2 | #include <THC/THC.h> | ^~~compilation terminated. [7/12] c++ -MMD -MF /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/interpolation/interpolation_cuda.o.d -pthread -B /home/yn/anaconda3/envs/pytorch-gpu/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/TH -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/yn/anaconda3/envs/pytorch-gpu/include/python3.8 -c -c /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/interpolation/interpolation_cuda.cpp -o /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/interpolation/interpolation_cuda.o -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 FAILED: /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/interpolation/interpolation_cuda.o c++ -MMD -MF /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/interpolation/interpolation_cuda.o.d -pthread -B /home/yn/anaconda3/envs/pytorch-gpu/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/TH -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/yn/anaconda3/envs/pytorch-gpu/include/python3.8 -c -c /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/interpolation/interpolation_cuda.cpp -o /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/interpolation/interpolation_cuda.o -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/interpolation/interpolation_cuda.cpp:2:10: fatal error: THC/THC.h: 没有那个文件或目录 2 | #include <THC/THC.h> | ^~~compilation terminated. [8/12] c++ -MMD -MF /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/rpe_v2/relative_pos_encoding_cuda_v2.o.d -pthread -B /home/yn/anaconda3/envs/pytorch-gpu/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/TH -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/yn/anaconda3/envs/pytorch-gpu/include/python3.8 -c -c /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/rpe_v2/relative_pos_encoding_cuda_v2.cpp -o /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/rpe_v2/relative_pos_encoding_cuda_v2.o -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 FAILED: /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/rpe_v2/relative_pos_encoding_cuda_v2.o c++ -MMD -MF /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/rpe_v2/relative_pos_encoding_cuda_v2.o.d -pthread -B /home/yn/anaconda3/envs/pytorch-gpu/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/TH -I/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/yn/anaconda3/envs/pytorch-gpu/include/python3.8 -c -c /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/rpe_v2/relative_pos_encoding_cuda_v2.cpp -o /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/build/temp.linux-x86_64-3.8/src/rpe_v2/relative_pos_encoding_cuda_v2.o -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ /home/yn/project/Stratified-Transformer-main/Stratified-Transformer-main/lib/pointops2/src/rpe_v2/relative_pos_encoding_cuda_v2.cpp:2:10: fatal error: THC/THC.h: 没有那个文件或目录 2 | #include <THC/THC.h> | ^~~compilation terminated. ninja: build stopped: subcommand failed. Traceback (most recent call last): File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1740, in _run_ninja_build subprocess.run( File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/subprocess.py", line 516, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "setup.py", line 12, in
setup(
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 148, in setup
return run_commands(dist)
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
dist.run_commands()
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/dist.py", line 1214, in run_command
super().run_command(command)
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/command/install.py", line 74, in run
self.do_egg_install()
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/command/install.py", line 123, in do_egg_install
self.run_command('bdist_egg')
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/dist.py", line 1214, in run_command
super().run_command(command)
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/command/bdist_egg.py", line 165, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/command/bdist_egg.py", line 151, in call_command
self.run_command(cmdname)
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/dist.py", line 1214, in run_command
super().run_command(command)
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/command/install_lib.py", line 11, in run
self.build()
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/_distutils/command/install_lib.py", line 107, in build
self.run_command('build_ext')
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/dist.py", line 1214, in run_command
super().run_command(command)
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 741, in build_extensions
build_ext.build_extensions(self)
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
_build_ext.build_ext.build_extensions(self)
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
_build_ext.build_extension(self, ext)
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 528, in build_extension
objects = self.compiler.compile(sources,
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 562, in unix_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1419, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "/home/yn/anaconda3/envs/pytorch-gpu/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1756, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension