-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Hi, i have the next error when i try to install mmcv following the instructions of the github:
MMCV_WITH_OPS=1 pip install -e .
Obtaining file:///home/dmaureira/PyCenterNet/code/mmcv
Preparing metadata (setup.py) ... done
Requirement already satisfied: addict in /home/dmaureira/anaconda3/lib/python3.9/site-packages (from mmcv-full==1.3.9) (2.4.0)
Requirement already satisfied: numpy in /home/dmaureira/anaconda3/lib/python3.9/site-packages (from mmcv-full==1.3.9) (1.21.5)
Requirement already satisfied: Pillow in /home/dmaureira/anaconda3/lib/python3.9/site-packages (from mmcv-full==1.3.9) (9.2.0)
Requirement already satisfied: pyyaml in /home/dmaureira/anaconda3/lib/python3.9/site-packages (from mmcv-full==1.3.9) (6.0)
Requirement already satisfied: yapf in /home/dmaureira/anaconda3/lib/python3.9/site-packages (from mmcv-full==1.3.9) (0.31.0)
Installing collected packages: mmcv-full
Attempting uninstall: mmcv-full
Found existing installation: mmcv-full 1.3.9
Uninstalling mmcv-full-1.3.9:
Successfully uninstalled mmcv-full-1.3.9
Running setup.py develop for mmcv-full
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [77 lines of output]
/home/dmaureira/anaconda3/lib/python3.9/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
running develop
/home/dmaureira/anaconda3/lib/python3.9/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(
/home/dmaureira/anaconda3/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running egg_info
writing mmcv_full.egg-info/PKG-INFO
writing dependency_links to mmcv_full.egg-info/dependency_links.txt
writing requirements to mmcv_full.egg-info/requires.txt
writing top-level names to mmcv_full.egg-info/top_level.txt
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/utils/cpp_extension.py:411: 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.'))
reading manifest file 'mmcv_full.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
adding license file 'LICENSES.md'
writing manifest file 'mmcv_full.egg-info/SOURCES.txt'
running build_ext
building 'mmcv._ext' extension
creating build/temp.linux-x86_64-cpython-39
creating build/temp.linux-x86_64-cpython-39/mmcv
creating build/temp.linux-x86_64-cpython-39/mmcv/ops
creating build/temp.linux-x86_64-cpython-39/mmcv/ops/csrc
creating build/temp.linux-x86_64-cpython-39/mmcv/ops/csrc/pytorch
gcc -pthread -B /home/dmaureira/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -I/home/dmaureira/anaconda3/include -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -fPIC -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/bbox_overlaps.cpp -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/bbox_overlaps.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
/usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/bbox_overlaps_cuda.cu -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/bbox_overlaps_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
gcc -pthread -B /home/dmaureira/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -I/home/dmaureira/anaconda3/include -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -fPIC -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/border_align.cpp -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/border_align.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
/usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/border_align_cuda.cu -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/border_align_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
gcc -pthread -B /home/dmaureira/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -I/home/dmaureira/anaconda3/include -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -fPIC -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/box_iou_rotated.cpp -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/box_iou_rotated.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
gcc -pthread -B /home/dmaureira/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -I/home/dmaureira/anaconda3/include -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -fPIC -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/box_iou_rotated_cpu.cpp -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/box_iou_rotated_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
/usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/box_iou_rotated_cuda.cu -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/box_iou_rotated_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
./mmcv/ops/csrc/pytorch/box_iou_rotated_cuda.cu: In function ‘void box_iou_rotated_cuda(at::Tensor, at::Tensor, at::Tensor, int, bool)’:
./mmcv/ops/csrc/pytorch/box_iou_rotated_cuda.cu:10:63: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
AT_ASSERTM(boxes1.type().is_cuda(), "boxes1 must be a CUDA tensor");
^
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/ATen/core/TensorBody.h:213:1: note: declared here
DeprecatedTypeProperties & type() const {
^ ~~
./mmcv/ops/csrc/pytorch/box_iou_rotated_cuda.cu:11:63: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
AT_ASSERTM(boxes2.type().is_cuda(), "boxes2 must be a CUDA tensor");
^
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/ATen/core/TensorBody.h:213:1: note: declared here
DeprecatedTypeProperties & type() const {
^ ~~
gcc -pthread -B /home/dmaureira/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -I/home/dmaureira/anaconda3/include -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -fPIC -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/carafe.cpp -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/carafe.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
/usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/carafe_cuda.cu -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/carafe_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
gcc -pthread -B /home/dmaureira/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -I/home/dmaureira/anaconda3/include -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -fPIC -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/carafe_naive.cpp -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/carafe_naive.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
/usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/carafe_naive_cuda.cu -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/carafe_naive_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
gcc -pthread -B /home/dmaureira/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -I/home/dmaureira/anaconda3/include -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -fPIC -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/cc_attention.cpp -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/cc_attention.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
/usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/cc_attention_cuda.cu -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/cc_attention_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
./mmcv/ops/csrc/pytorch/cc_attention_cuda.cu:4:10: fatal error: THC/THC.h: No existe el archivo o el directorio
#include <THC/THC.h>
^~~~~~~~~~~
compilation terminated.
error: command '/usr/local/cuda/bin/nvcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
Rolling back uninstall of mmcv-full
Moving to /home/dmaureira/anaconda3/lib/python3.9/site-packages/mmcv-full.egg-link
from /tmp/pip-uninstall-7qr0h_v6/mmcv-full.egg-link
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [77 lines of output]
/home/dmaureira/anaconda3/lib/python3.9/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
running develop
/home/dmaureira/anaconda3/lib/python3.9/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(
/home/dmaureira/anaconda3/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running egg_info
writing mmcv_full.egg-info/PKG-INFO
writing dependency_links to mmcv_full.egg-info/dependency_links.txt
writing requirements to mmcv_full.egg-info/requires.txt
writing top-level names to mmcv_full.egg-info/top_level.txt
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/utils/cpp_extension.py:411: 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.'))
reading manifest file 'mmcv_full.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
adding license file 'LICENSES.md'
writing manifest file 'mmcv_full.egg-info/SOURCES.txt'
running build_ext
building 'mmcv.ext' extension
creating build/temp.linux-x86_64-cpython-39
creating build/temp.linux-x86_64-cpython-39/mmcv
creating build/temp.linux-x86_64-cpython-39/mmcv/ops
creating build/temp.linux-x86_64-cpython-39/mmcv/ops/csrc
creating build/temp.linux-x86_64-cpython-39/mmcv/ops/csrc/pytorch
gcc -pthread -B /home/dmaureira/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -I/home/dmaureira/anaconda3/include -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -fPIC -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/bbox_overlaps.cpp -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/bbox_overlaps.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
/usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/bbox_overlaps_cuda.cu -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/bbox_overlaps_cuda.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_BFLOAT16_CONVERSIONS_ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
gcc -pthread -B /home/dmaureira/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -I/home/dmaureira/anaconda3/include -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -fPIC -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/border_align.cpp -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/border_align.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
/usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/border_align_cuda.cu -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/border_align_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
gcc -pthread -B /home/dmaureira/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -I/home/dmaureira/anaconda3/include -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -fPIC -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/box_iou_rotated.cpp -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/box_iou_rotated.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
gcc -pthread -B /home/dmaureira/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -I/home/dmaureira/anaconda3/include -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -fPIC -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/box_iou_rotated_cpu.cpp -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/box_iou_rotated_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
/usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/box_iou_rotated_cuda.cu -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/box_iou_rotated_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
./mmcv/ops/csrc/pytorch/box_iou_rotated_cuda.cu: In function ‘void box_iou_rotated_cuda(at::Tensor, at::Tensor, at::Tensor, int, bool)’:
./mmcv/ops/csrc/pytorch/box_iou_rotated_cuda.cu:10:63: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
AT_ASSERTM(boxes1.type().is_cuda(), "boxes1 must be a CUDA tensor");
^
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/ATen/core/TensorBody.h:213:1: note: declared here
DeprecatedTypeProperties & type() const {
^ ~~
./mmcv/ops/csrc/pytorch/box_iou_rotated_cuda.cu:11:63: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
AT_ASSERTM(boxes2.type().is_cuda(), "boxes2 must be a CUDA tensor");
^
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/ATen/core/TensorBody.h:213:1: note: declared here
DeprecatedTypeProperties & type() const {
^ ~~
gcc -pthread -B /home/dmaureira/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -I/home/dmaureira/anaconda3/include -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -fPIC -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/carafe.cpp -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/carafe.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
/usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/carafe_cuda.cu -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/carafe_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
gcc -pthread -B /home/dmaureira/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -I/home/dmaureira/anaconda3/include -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -fPIC -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/carafe_naive.cpp -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/carafe_naive.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
/usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/carafe_naive_cuda.cu -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/carafe_naive_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
gcc -pthread -B /home/dmaureira/anaconda3/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -I/home/dmaureira/anaconda3/include -fPIC -O2 -isystem /home/dmaureira/anaconda3/include -fPIC -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/cc_attention.cpp -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/cc_attention.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
/usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/home/dmaureira/PyCenterNet/code/mmcv/mmcv/ops/csrc -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/TH -I/home/dmaureira/anaconda3/lib/python3.9/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/dmaureira/anaconda3/include/python3.9 -c ./mmcv/ops/csrc/pytorch/cc_attention_cuda.cu -o build/temp.linux-x86_64-cpython-39/./mmcv/ops/csrc/pytorch/cc_attention_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
./mmcv/ops/csrc/pytorch/cc_attention_cuda.cu:4:10: fatal error: THC/THC.h: No existe el archivo o el directorio
#include <THC/THC.h>
^~~~~~~~~~~
compilation terminated.
error: command '/usr/local/cuda/bin/nvcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.