Hi,
So I am using nvidia-container to build your repo and Iget the following error log
running build
running build_py
running build_ext
building 'adet._C' extension
creating /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/build/temp.linux-x86_64-3.8/workspaces
creating /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/build/temp.linux-x86_64-3.8/workspaces/halodi-segmentation
creating /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/build/temp.linux-x86_64-3.8/workspaces/halodi-segmentation/halodi_segmentation
creating /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/build/temp.linux-x86_64-3.8/workspaces/halodi-segmentation/halodi_segmentation/models
creating /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/build/temp.linux-x86_64-3.8/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet
creating /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/build/temp.linux-x86_64-3.8/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet
creating /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/build/temp.linux-x86_64-3.8/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers
creating /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/build/temp.linux-x86_64-3.8/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc
creating /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/build/temp.linux-x86_64-3.8/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign
creating /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/build/temp.linux-x86_64-3.8/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/DefROIAlign
creating /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/build/temp.linux-x86_64-3.8/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/ml_nms
Emitting ninja build file /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/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)
[1/6] /usr/local/cuda/bin/nvcc -DWITH_CUDA -I/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc -I/opt/conda/lib/python3.8/site-packages/torch/include -I/opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.8/site-packages/torch/include/TH -I/opt/conda/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/opt/conda/include/python3.8 -c -c /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/ml_nms/ml_nms.cu -o /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/build/temp.linux-x86_64-3.8/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/ml_nms/ml_nms.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'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1013"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_52,code=sm_52 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_80,code=sm_80 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
FAILED: /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/build/temp.linux-x86_64-3.8/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/ml_nms/ml_nms.o
/usr/local/cuda/bin/nvcc -DWITH_CUDA -I/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc -I/opt/conda/lib/python3.8/site-packages/torch/include -I/opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.8/site-packages/torch/include/TH -I/opt/conda/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/opt/conda/include/python3.8 -c -c /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/ml_nms/ml_nms.cu -o /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/build/temp.linux-x86_64-3.8/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/ml_nms/ml_nms.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'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1013"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_52,code=sm_52 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_80,code=sm_80 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/ml_nms/ml_nms.cu:5:10: fatal error: THC/THCDeviceUtils.cuh: No such file or directory
5 | #include <THC/THCDeviceUtils.cuh>
| ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[2/6] /usr/local/cuda/bin/nvcc -DWITH_CUDA -I/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc -I/opt/conda/lib/python3.8/site-packages/torch/include -I/opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.8/site-packages/torch/include/TH -I/opt/conda/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/opt/conda/include/python3.8 -c -c /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/cuda_version.cu -o /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/build/temp.linux-x86_64-3.8/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/cuda_version.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'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1013"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_52,code=sm_52 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_80,code=sm_80 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
[3/6] c++ -MMD -MF /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/build/temp.linux-x86_64-3.8/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc -I/opt/conda/lib/python3.8/site-packages/torch/include -I/opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.8/site-packages/torch/include/TH -I/opt/conda/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/opt/conda/include/python3.8 -c -c /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp -o /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/build/temp.linux-x86_64-3.8/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1013"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:3:
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign.h: In function ‘at::Tensor adet::BezierAlign_forward(const at::Tensor&, const at::Tensor&, float, int, int, int, bool)’:
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign.h:62:18: 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]
62 | if (input.type().is_cuda()) {
| ^
In file included from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/TensorUtils.h:4,
from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:2:
/opt/conda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:194:30: note: declared here
194 | DeprecatedTypeProperties & type() const {
| ^~~~
In file included from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:3:
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign.h: In function ‘at::Tensor adet::BezierAlign_backward(const at::Tensor&, const at::Tensor&, float, int, int, int, int, int, int, int, bool)’:
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign.h:98:17: 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]
98 | if (grad.type().is_cuda()) {
| ^
In file included from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/TensorUtils.h:4,
from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:2:
/opt/conda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:194:30: note: declared here
194 | DeprecatedTypeProperties & type() const {
| ^~~~
In file included from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:13,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign.h:3,
from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:3:
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp: In lambda function:
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:493:50: 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]
493 | AT_DISPATCH_FLOATING_TYPES_AND_HALF(input.type(), "BezierAlign_forward", [&] {
| ^
/opt/conda/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:278:28: note: in definition of macro ‘AT_DISPATCH_FLOATING_TYPES_AND_HALF’
278 | const auto& the_type = TYPE; \
| ^~~~
In file included from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/TensorUtils.h:4,
from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:2:
/opt/conda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:194:30: note: declared here
194 | DeprecatedTypeProperties & type() const {
| ^~~~
In file included from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:13,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign.h:3,
from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:3:
/opt/conda/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:280:56: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated: passing at::DeprecatedTypeProperties to an AT_DISPATCH macro is deprecated, pass an at::ScalarType instead [-Wdeprecated-declarations]
280 | at::ScalarType _st = ::detail::scalar_type(the_type); \
| ^
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:493:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES_AND_HALF’
493 | AT_DISPATCH_FLOATING_TYPES_AND_HALF(input.type(), "BezierAlign_forward", [&] {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/conda/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:178:23: note: declared here
178 | inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {
| ^~~~~~~~~~~
/opt/conda/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:280:56: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated: passing at::DeprecatedTypeProperties to an AT_DISPATCH macro is deprecated, pass an at::ScalarType instead [-Wdeprecated-declarations]
280 | at::ScalarType _st = ::detail::scalar_type(the_type); \
| ^
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:493:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES_AND_HALF’
493 | AT_DISPATCH_FLOATING_TYPES_AND_HALF(input.type(), "BezierAlign_forward", [&] {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/conda/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:178:23: note: declared here
178 | inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {
| ^~~~~~~~~~~
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp: In lambda function:
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:545:49: 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]
545 | AT_DISPATCH_FLOATING_TYPES_AND_HALF(grad.type(), "BezierAlign_forward", [&] {
| ^
/opt/conda/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:278:28: note: in definition of macro ‘AT_DISPATCH_FLOATING_TYPES_AND_HALF’
278 | const auto& the_type = TYPE; \
| ^~~~
In file included from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/TensorUtils.h:4,
from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:2:
/opt/conda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:194:30: note: declared here
194 | DeprecatedTypeProperties & type() const {
| ^~~~
In file included from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:13,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign.h:3,
from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:3:
/opt/conda/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:280:56: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated: passing at::DeprecatedTypeProperties to an AT_DISPATCH macro is deprecated, pass an at::ScalarType instead [-Wdeprecated-declarations]
280 | at::ScalarType _st = ::detail::scalar_type(the_type); \
| ^
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:545:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES_AND_HALF’
545 | AT_DISPATCH_FLOATING_TYPES_AND_HALF(grad.type(), "BezierAlign_forward", [&] {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/conda/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:178:23: note: declared here
178 | inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {
| ^~~~~~~~~~~
/opt/conda/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:280:56: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated: passing at::DeprecatedTypeProperties to an AT_DISPATCH macro is deprecated, pass an at::ScalarType instead [-Wdeprecated-declarations]
280 | at::ScalarType _st = ::detail::scalar_type(the_type); \
| ^
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:545:3: note: in expansion of macro ‘AT_DISPATCH_FLOATING_TYPES_AND_HALF’
545 | AT_DISPATCH_FLOATING_TYPES_AND_HALF(grad.type(), "BezierAlign_forward", [&] {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/conda/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:178:23: note: declared here
178 | inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {
| ^~~~~~~~~~~
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp: In instantiation of ‘void {anonymous}::BezierAlignForward(int, const T*, const T&, int, int, int, int, int, int, const T*, T*, bool) [with T = double]’:
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:493:3: required from here
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:168:7: warning: unused variable ‘offset’ [-Wunused-variable]
168 | T offset = aligned ? (T)0.5 : (T)0.0;
| ^~~~~~
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp: In instantiation of ‘void {anonymous}::BezierAlignForward(int, const T*, const T&, int, int, int, int, int, int, const T*, T*, bool) [with T = float]’:
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:493:3: required from here
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:168:7: warning: unused variable ‘offset’ [-Wunused-variable]
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp: In instantiation of ‘void {anonymous}::BezierAlignForward(int, const T*, const T&, int, int, int, int, int, int, const T*, T*, bool) [with T = c10::Half]’:
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:493:3: required from here
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:168:7: warning: variable ‘offset’ set but not used [-Wunused-but-set-variable]
[4/6] c++ -MMD -MF /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/build/temp.linux-x86_64-3.8/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/vision.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc -I/opt/conda/lib/python3.8/site-packages/torch/include -I/opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.8/site-packages/torch/include/TH -I/opt/conda/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/opt/conda/include/python3.8 -c -c /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/vision.cpp -o /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/build/temp.linux-x86_64-3.8/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/vision.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1013"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/vision.cpp:3:
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/ml_nms/ml_nms.h: In function ‘at::Tensor adet::ml_nms(const at::Tensor&, const at::Tensor&, const at::Tensor&, float)’:
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/ml_nms/ml_nms.h:18:17: 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]
18 | if (dets.type().is_cuda()) {
| ^
In file included from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/core/Tensor.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/DeviceGuard.h:4,
from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:11,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/ml_nms/ml_nms.h:2,
from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/vision.cpp:3:
/opt/conda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:194:30: note: declared here
194 | DeprecatedTypeProperties & type() const {
| ^~~~
In file included from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/vision.cpp:4:
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/DefROIAlign/DefROIAlign.h: In function ‘at::Tensor adet::DefROIAlign_forward(const at::Tensor&, const at::Tensor&, const at::Tensor&, float, int, int, int, float, bool)’:
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/DefROIAlign/DefROIAlign.h:47:18: 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]
47 | if (input.type().is_cuda()) {
| ^
In file included from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/core/Tensor.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/DeviceGuard.h:4,
from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:11,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/ml_nms/ml_nms.h:2,
from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/vision.cpp:3:
/opt/conda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:194:30: note: declared here
194 | DeprecatedTypeProperties & type() const {
| ^~~~
In file included from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/vision.cpp:4:
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/DefROIAlign/DefROIAlign.h: In function ‘at::Tensor adet::DefROIAlign_backward(const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, float, int, int, int, int, int, int, int, float, bool)’:
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/DefROIAlign/DefROIAlign.h:82:17: 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]
82 | if (grad.type().is_cuda()) {
| ^
In file included from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/core/Tensor.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/DeviceGuard.h:4,
from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:11,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/ml_nms/ml_nms.h:2,
from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/vision.cpp:3:
/opt/conda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:194:30: note: declared here
194 | DeprecatedTypeProperties & type() const {
| ^~~~
In file included from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/vision.cpp:5:
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign.h: In function ‘at::Tensor adet::BezierAlign_forward(const at::Tensor&, const at::Tensor&, float, int, int, int, bool)’:
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign.h:62:18: 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]
62 | if (input.type().is_cuda()) {
| ^
In file included from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/core/Tensor.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/DeviceGuard.h:4,
from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:11,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/ml_nms/ml_nms.h:2,
from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/vision.cpp:3:
/opt/conda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:194:30: note: declared here
194 | DeprecatedTypeProperties & type() const {
| ^~~~
In file included from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/vision.cpp:5:
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign.h: In function ‘at::Tensor adet::BezierAlign_backward(const at::Tensor&, const at::Tensor&, float, int, int, int, int, int, int, int, bool)’:
/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign.h:98:17: 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]
98 | if (grad.type().is_cuda()) {
| ^
In file included from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/core/Tensor.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/DeviceGuard.h:4,
from /opt/conda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:11,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /opt/conda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/ml_nms/ml_nms.h:2,
from /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/vision.cpp:3:
/opt/conda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:194:30: note: declared here
194 | DeprecatedTypeProperties & type() const {
| ^~~~
[5/6] /usr/local/cuda/bin/nvcc -DWITH_CUDA -I/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc -I/opt/conda/lib/python3.8/site-packages/torch/include -I/opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.8/site-packages/torch/include/TH -I/opt/conda/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/opt/conda/include/python3.8 -c -c /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/DefROIAlign/DefROIAlign_cuda.cu -o /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/build/temp.linux-x86_64-3.8/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/DefROIAlign/DefROIAlign_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'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1013"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_52,code=sm_52 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_80,code=sm_80 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
[6/6] /usr/local/cuda/bin/nvcc -DWITH_CUDA -I/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc -I/opt/conda/lib/python3.8/site-packages/torch/include -I/opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.8/site-packages/torch/include/TH -I/opt/conda/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/opt/conda/include/python3.8 -c -c /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_cuda.cu -o /workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/build/temp.linux-x86_64-3.8/workspaces/halodi-segmentation/halodi_segmentation/models/AdelaiDet/adet/layers/csrc/BezierAlign/BezierAlign_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'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1013"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_52,code=sm_52 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_80,code=sm_80 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/opt/conda/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1723, in _run_ninja_build
subprocess.run(
File "/opt/conda/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 65, in <module>
setup(
File "/opt/conda/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/opt/conda/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/opt/conda/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/opt/conda/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/opt/conda/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/opt/conda/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/conda/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/opt/conda/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/opt/conda/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "/opt/conda/lib/python3.8/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/opt/conda/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 741, in build_extensions
build_ext.build_extensions(self)
File "/opt/conda/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
_build_ext.build_ext.build_extensions(self)
File "/opt/conda/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/opt/conda/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/opt/conda/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
_build_ext.build_extension(self, ext)
File "/opt/conda/lib/python3.8/distutils/command/build_ext.py", line 528, in build_extension
objects = self.compiler.compile(sources,
File "/opt/conda/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 562, in unix_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
File "/opt/conda/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1405, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "/opt/conda/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1739, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
Hi, So I am using nvidia-container to build your repo and Iget the following error log
pip list results :
step to reproduce
AdelaiDet/ python setup.py build develop
Please advise and let me know if you need more information