hi @ptrblck
i get the following error log while running detectron2 on ubuntu using rtx 3090,
Requirement already satisfied: PyYAML in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from yacs>=0.1.6->detectron2==0.4) (5.3.1)
Requirement already satisfied: kiwisolver>=1.0.1 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from matplotlib->detectron2==0.4) (1.3.0)
Requirement already satisfied: numpy>=1.15 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from matplotlib->detectron2==0.4) (1.19.2)
Requirement already satisfied: cycler>=0.10 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from matplotlib->detectron2==0.4) (0.10.0)
Requirement already satisfied: python-dateutil>=2.1 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from matplotlib->detectron2==0.4) (2.8.1)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from matplotlib->detectron2==0.4) (2.4.7)
Requirement already satisfied: certifi>=2020.06.20 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from matplotlib->detectron2==0.4) (2020.12.5)
Requirement already satisfied: absl-py>=0.4 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from tensorboard->detectron2==0.4) (0.12.0)
Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from tensorboard->detectron2==0.4) (0.4.4)
Requirement already satisfied: requests<3,>=2.21.0 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from tensorboard->detectron2==0.4) (2.24.0)
Requirement already satisfied: wheel>=0.26; python_version >= β3β in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from tensorboard->detectron2==0.4) (0.35.1)
Requirement already satisfied: protobuf>=3.6.0 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from tensorboard->detectron2==0.4) (3.15.8)
Requirement already satisfied: werkzeug>=0.11.15 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from tensorboard->detectron2==0.4) (1.0.1)
Requirement already satisfied: grpcio>=1.24.3 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from tensorboard->detectron2==0.4) (1.37.0)
Requirement already satisfied: setuptools>=41.0.0 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from tensorboard->detectron2==0.4) (50.3.1.post20201107)
Requirement already satisfied: google-auth<2,>=1.6.3 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from tensorboard->detectron2==0.4) (1.29.0)
Requirement already satisfied: markdown>=2.6.8 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from tensorboard->detectron2==0.4) (3.3.4)
Requirement already satisfied: tensorboard-data-server<0.7.0,>=0.6.0 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from tensorboard->detectron2==0.4) (0.6.0)
Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from tensorboard->detectron2==0.4) (1.8.0)
Requirement already satisfied: portalocker in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from iopath<0.1.9,>=0.1.7->detectron2==0.4) (2.3.0)
Requirement already satisfied: cython>=0.27.3 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from pycocotools>=2.0.2->detectron2==0.4) (0.29.21)
Requirement already satisfied: antlr4-python3-runtime==4.8 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from omegaconf==2.1.0.dev22->detectron2==0.4) (4.8)
Requirement already satisfied: six in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from cycler>=0.10->matplotlib->detectron2==0.4) (1.15.0)
Requirement already satisfied: requests-oauthlib>=0.7.0 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard->detectron2==0.4) (1.3.0)
Requirement already satisfied: idna<3,>=2.5 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from requests<3,>=2.21.0->tensorboard->detectron2==0.4) (2.10)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from requests<3,>=2.21.0->tensorboard->detectron2==0.4) (1.25.11)
Requirement already satisfied: chardet<4,>=3.0.2 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from requests<3,>=2.21.0->tensorboard->detectron2==0.4) (3.0.4)
Requirement already satisfied: cachetools<5.0,>=2.0.0 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from google-auth<2,>=1.6.3->tensorboard->detectron2==0.4) (4.2.1)
Requirement already satisfied: pyasn1-modules>=0.2.1 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from google-auth<2,>=1.6.3->tensorboard->detectron2==0.4) (0.2.8)
Requirement already satisfied: rsa<5,>=3.1.4; python_version >= β3.6β in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from google-auth<2,>=1.6.3->tensorboard->detectron2==0.4) (4.7.2)
Requirement already satisfied: oauthlib>=3.0.0 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard->detectron2==0.4) (3.1.0)
Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in ./anaconda3/envs/pydetectron2/lib/python3.8/site-packages (from pyasn1-modules>=0.2.1->google-auth<2,>=1.6.3->tensorboard->detectron2==0.4) (0.4.8)
Installing collected packages: detectron2
Running setup.py develop for detectron2
ERROR: Command errored out with exit status 1:
command: /home/apsisdev/anaconda3/envs/pydetectron2/bin/python -c βimport sys, setuptools, tokenize; sys.argv[0] = β"β"β/home/apsisdev/detectron2/setup.pyβ"β"β; file=β"β"β/home/apsisdev/detectron2/setup.pyβ"β"β;f=getattr(tokenize, β"β"βopenβ"β"β, open)(file);code=f.read().replace(β"β"β\r\nβ"β"β, β"β"β\nβ"β"β);f.close();exec(compile(code, file, β"β"βexecβ"β"β))β develop --no-deps
cwd: /home/apsisdev/detectron2/
Complete output (92 lines):
running develop
running egg_info
writing detectron2.egg-info/PKG-INFO
writing dependency_links to detectron2.egg-info/dependency_links.txt
writing requirements to detectron2.egg-info/requires.txt
writing top-level names to detectron2.egg-info/top_level.txt
reading manifest file βdetectron2.egg-info/SOURCES.txtβ
writing manifest file βdetectron2.egg-info/SOURCES.txtβ
running build_ext
building βdetectron2.Cβ extension
Emitting ninja build file /home/apsisdev/detectron2/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] /bin/nvcc --generate-dependencies-with-compile --dependency-output /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.o.d -DWITH_CUDA -I/home/apsisdev/detectron2/detectron2/layers/csrc -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/TH -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/THC -I/include -I/home/apsisdev/anaconda3/envs/pydetectron2/include/python3.8 -c -c /home/apsisdev/detectron2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu -o /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_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β"β"ββ -O3 -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="cxxabi1011"β -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
FAILED: /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.o
/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.o.d -DWITH_CUDA -I/home/apsisdev/detectron2/detectron2/layers/csrc -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/TH -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/THC -I/include -I/home/apsisdev/anaconda3/envs/pydetectron2/include/python3.8 -c -c /home/apsisdev/detectron2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu -o /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_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β"β"ββ -O3 -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="cxxabi1011"β -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
nvcc fatal : Unknown option β-generate-dependencies-with-compileβ
[2/6] /bin/nvcc --generate-dependencies-with-compile --dependency-output /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.o.d -DWITH_CUDA -I/home/apsisdev/detectron2/detectron2/layers/csrc -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/TH -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/THC -I/include -I/home/apsisdev/anaconda3/envs/pydetectron2/include/python3.8 -c -c /home/apsisdev/detectron2/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.cu -o /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/nms_rotated/nms_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β"β"ββ -O3 -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="cxxabi1011"β -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
FAILED: /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.o
/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.o.d -DWITH_CUDA -I/home/apsisdev/detectron2/detectron2/layers/csrc -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/TH -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/THC -I/include -I/home/apsisdev/anaconda3/envs/pydetectron2/include/python3.8 -c -c /home/apsisdev/detectron2/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.cu -o /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/nms_rotated/nms_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β"β"ββ -O3 -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="cxxabi1011"β -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
nvcc fatal : Unknown option β-generate-dependencies-with-compileβ
[3/6] /bin/nvcc --generate-dependencies-with-compile --dependency-output /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.o.d -DWITH_CUDA -I/home/apsisdev/detectron2/detectron2/layers/csrc -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/TH -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/THC -I/include -I/home/apsisdev/anaconda3/envs/pydetectron2/include/python3.8 -c -c /home/apsisdev/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu -o /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.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β"β"ββ -O3 -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="cxxabi1011"β -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
FAILED: /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.o
/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.o.d -DWITH_CUDA -I/home/apsisdev/detectron2/detectron2/layers/csrc -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/TH -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/THC -I/include -I/home/apsisdev/anaconda3/envs/pydetectron2/include/python3.8 -c -c /home/apsisdev/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu -o /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.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β"β"ββ -O3 -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="cxxabi1011"β -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
nvcc fatal : Unknown option β-generate-dependencies-with-compileβ
[4/6] /bin/nvcc --generate-dependencies-with-compile --dependency-output /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.o.d -DWITH_CUDA -I/home/apsisdev/detectron2/detectron2/layers/csrc -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/TH -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/THC -I/include -I/home/apsisdev/anaconda3/envs/pydetectron2/include/python3.8 -c -c /home/apsisdev/detectron2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.cu -o /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/box_iou_rotated/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β"β"ββ -O3 -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="cxxabi1011"β -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
FAILED: /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.o
/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.o.d -DWITH_CUDA -I/home/apsisdev/detectron2/detectron2/layers/csrc -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/TH -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/THC -I/include -I/home/apsisdev/anaconda3/envs/pydetectron2/include/python3.8 -c -c /home/apsisdev/detectron2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.cu -o /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/box_iou_rotated/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β"β"ββ -O3 -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="cxxabi1011"β -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
nvcc fatal : Unknown option β-generate-dependencies-with-compileβ
[5/6] /bin/nvcc --generate-dependencies-with-compile --dependency-output /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.o.d -DWITH_CUDA -I/home/apsisdev/detectron2/detectron2/layers/csrc -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/TH -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/THC -I/include -I/home/apsisdev/anaconda3/envs/pydetectron2/include/python3.8 -c -c /home/apsisdev/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu -o /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/deformable/deform_conv_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β"β"ββ -O3 -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="cxxabi1011"β -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
FAILED: /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.o
/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.o.d -DWITH_CUDA -I/home/apsisdev/detectron2/detectron2/layers/csrc -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/TH -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/THC -I/include -I/home/apsisdev/anaconda3/envs/pydetectron2/include/python3.8 -c -c /home/apsisdev/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu -o /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/deformable/deform_conv_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β"β"ββ -O3 -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="cxxabi1011"β -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
nvcc fatal : Unknown option β-generate-dependencies-with-compileβ
[6/6] /bin/nvcc --generate-dependencies-with-compile --dependency-output /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/cuda_version.o.d -DWITH_CUDA -I/home/apsisdev/detectron2/detectron2/layers/csrc -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/TH -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/THC -I/include -I/home/apsisdev/anaconda3/envs/pydetectron2/include/python3.8 -c -c /home/apsisdev/detectron2/detectron2/layers/csrc/cuda_version.cu -o /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/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β"β"ββ -O3 -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="cxxabi1011"β -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
FAILED: /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/cuda_version.o
/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/layers/csrc/cuda_version.o.d -DWITH_CUDA -I/home/apsisdev/detectron2/detectron2/layers/csrc -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/TH -I/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/include/THC -I/include -I/home/apsisdev/anaconda3/envs/pydetectron2/include/python3.8 -c -c /home/apsisdev/detectron2/detectron2/layers/csrc/cuda_version.cu -o /home/apsisdev/detectron2/build/temp.linux-x86_64-3.8/home/apsisdev/detectron2/detectron2/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β"β"ββ -O3 -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="_cxxabi1011"β -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
nvcc fatal : Unknown option β-generate-dependencies-with-compileβ
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File β/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/utils/cpp_extension.pyβ, line 1667, in _run_ninja_build
subprocess.run(
File β/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/subprocess.pyβ, line 512, 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 "<string>", line 1, in <module>
File "/home/apsisdev/detectron2/setup.py", line 193, in <module>
setup(
File "/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/setuptools/command/develop.py", line 34, in run
self.install_for_development()
File "/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/setuptools/command/develop.py", line 136, in install_for_development
self.run_command('build_ext')
File "/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 708, in build_extensions
build_ext.build_extensions(self)
File "/home/apsisdev/anaconda3/envs/pydetectron2/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/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
_build_ext.build_extension(self, ext)
File "/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/distutils/command/build_ext.py", line 528, in build_extension
objects = self.compiler.compile(sources,
File "/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 529, in unix_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
File "/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1354, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "/home/apsisdev/anaconda3/envs/pydetectron2/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1683, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
----------------------------------------
ERROR: Command errored out with exit status 1: /home/apsisdev/anaconda3/envs/pydetectron2/bin/python -c βimport sys, setuptools, tokenize; sys.argv[0] = β"β"β/home/apsisdev/detectron2/setup.pyβ"β"β; file=β"β"β/home/apsisdev/detectron2/setup.pyβ"β"β;f=getattr(tokenize, β"β"βopenβ"β"β, open)(file);code=f.read().replace(β"β"β\r\nβ"β"β, β"β"β\nβ"β"β);f.close();exec(compile(code, file, β"β"βexecβ"β"β))β develop --no-deps Check the logs for full command output.