Skip to content

Instantly share code, notes, and snippets.

@Flock1
Created February 26, 2019 04:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Flock1/8c82d180e1e9fd9c01c1cefbb9742d21 to your computer and use it in GitHub Desktop.
Save Flock1/8c82d180e1e9fd9c01c1cefbb9742d21 to your computer and use it in GitHub Desktop.
Created temporary directory: /tmp/pip-ephem-wheel-cache-h28bm0z4
Created temporary directory: /tmp/pip-req-tracker-a9vehy36
Created requirements tracker '/tmp/pip-req-tracker-a9vehy36'
Created temporary directory: /tmp/pip-install-lla89gd9
Processing /home/sarvagya/Desktop/RBC/box-convolutions
Created temporary directory: /tmp/pip-req-build-k9raxzlj
Added file:///home/sarvagya/Desktop/RBC/box-convolutions to build tracker '/tmp/pip-req-tracker-a9vehy36'
Running setup.py (path:/tmp/pip-req-build-k9raxzlj/setup.py) egg_info for package from file:///home/sarvagya/Desktop/RBC/box-convolutions
Running command python setup.py egg_info
running egg_info
creating pip-egg-info/box_convolution.egg-info
writing pip-egg-info/box_convolution.egg-info/PKG-INFO
writing dependency_links to pip-egg-info/box_convolution.egg-info/dependency_links.txt
writing requirements to pip-egg-info/box_convolution.egg-info/requires.txt
writing top-level names to pip-egg-info/box_convolution.egg-info/top_level.txt
writing manifest file 'pip-egg-info/box_convolution.egg-info/SOURCES.txt'
reading manifest file 'pip-egg-info/box_convolution.egg-info/SOURCES.txt'
writing manifest file 'pip-egg-info/box_convolution.egg-info/SOURCES.txt'
Source in /tmp/pip-req-build-k9raxzlj has version 0.0.0, which satisfies requirement box-convolution==0.0.0 from file:///home/sarvagya/Desktop/RBC/box-convolutions
Removed box-convolution==0.0.0 from file:///home/sarvagya/Desktop/RBC/box-convolutions from build tracker '/tmp/pip-req-tracker-a9vehy36'
Requirement already satisfied: future in /home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages (from box-convolution==0.0.0) (0.17.1)
Requirement already satisfied: torch>=1.0.0a0 in /home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages (from box-convolution==0.0.0) (1.0.1.post2)
Building wheels for collected packages: box-convolution
Created temporary directory: /tmp/pip-wheel-4h4hmfnw
Destination directory: /tmp/pip-wheel-4h4hmfnw
Running command /home/sarvagya/anaconda3/envs/tf/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-req-build-k9raxzlj/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-4h4hmfnw --python-tag cp36
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/box_convolution
copying box_convolution/test.py -> build/lib.linux-x86_64-3.6/box_convolution
copying box_convolution/__init__.py -> build/lib.linux-x86_64-3.6/box_convolution
copying box_convolution/box_convolution_module.py -> build/lib.linux-x86_64-3.6/box_convolution
copying box_convolution/box_convolution_function.py -> build/lib.linux-x86_64-3.6/box_convolution
running build_ext
building 'box_convolution_cpp_cuda' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/src
g++-7 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/TH -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/home/sarvagya/anaconda3/envs/tf/include/python3.6m -c src/integral_image_interface.cpp -o build/temp.linux-x86_64-3.6/src/integral_image_interface.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=box_convolution_cpp_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
g++-7 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/TH -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/home/sarvagya/anaconda3/envs/tf/include/python3.6m -c src/integral_image.cpp -o build/temp.linux-x86_64-3.6/src/integral_image.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=box_convolution_cpp_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
unable to execute 'g++-7': No such file or directory
g++-7 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/TH -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/home/sarvagya/anaconda3/envs/tf/include/python3.6m -c src/box_convolution_interface.cpp -o build/temp.linux-x86_64-3.6/src/box_convolution_interface.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=box_convolution_cpp_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
unable to execute 'g++-7': No such file or directory
g++-7 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/TH -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/home/sarvagya/anaconda3/envs/tf/include/python3.6m -c src/box_convolution.cpp -o build/temp.linux-x86_64-3.6/src/box_convolution.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=box_convolution_cpp_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
g++-7 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/TH -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/home/sarvagya/anaconda3/envs/tf/include/python3.6m -c src/bind.cpp -o build/temp.linux-x86_64-3.6/src/bind.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=box_convolution_cpp_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
unable to execute 'g++-7': No such file or directory
unable to execute 'g++-7': No such file or directory
/usr/local/cuda/bin/nvcc -Isrc -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/TH -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/home/sarvagya/anaconda3/envs/tf/include/python3.6m -c src/integral_image_cuda.cu -o build/temp.linux-x86_64-3.6/src/integral_image_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=box_convolution_cpp_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
/usr/local/cuda/bin/nvcc -Isrc -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/TH -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/home/sarvagya/anaconda3/envs/tf/include/python3.6m -c src/box_convolution_cuda_forward.cu -o build/temp.linux-x86_64-3.6/src/box_convolution_cuda_forward.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=box_convolution_cpp_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
/usr/local/cuda/bin/nvcc -Isrc -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/TH -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/home/sarvagya/anaconda3/envs/tf/include/python3.6m -c src/box_convolution_cuda_backward.cu -o build/temp.linux-x86_64-3.6/src/box_convolution_cuda_backward.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=box_convolution_cpp_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
unable to execute 'g++-7': No such file or directory
/usr/local/cuda/bin/nvcc -Isrc -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/TH -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/home/sarvagya/anaconda3/envs/tf/include/python3.6m -c src/box_convolution_cuda_misc.cu -o build/temp.linux-x86_64-3.6/src/box_convolution_cuda_misc.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=box_convolution_cpp_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/ATen/core/jit_type.h(907): warning: statement is unreachable
/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/ATen/core/jit_type.h(907): warning: statement is unreachable
/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/ATen/core/jit_type.h(907): warning: statement is unreachable
/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/ATen/core/jit_type.h(907): warning: statement is unreachable
src/box_convolution_cuda_forward.cu: In instantiation of ‘gpu::boxConvUpdateOutput(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&)::<lambda()>::<lambda()> [with bool normalize = true; bool exact = true]’:
src/box_convolution_cuda_forward.cu:223:2242: required from ‘struct gpu::boxConvUpdateOutput(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&)::<lambda()> [with bool normalize = true; bool exact = true]::<lambda()>’
src/box_convolution_cuda_forward.cu:223:2739: required from ‘gpu::boxConvUpdateOutput(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&)::<lambda()> [with bool normalize = true; bool exact = true]’
src/box_convolution_cuda_forward.cu:223:914: required from ‘struct gpu::boxConvUpdateOutput(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&) [with bool normalize = true; bool exact = true]::<lambda()>’
src/box_convolution_cuda_forward.cu:223:6: required from ‘void gpu::boxConvUpdateOutput(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&) [with bool normalize = true; bool exact = true]’
src/box_convolution_cuda_forward.cu:253:298: required from here
src/box_convolution_cuda_forward.cu:213:26: internal compiler error: in tsubst_copy, at cp/pt.c:13039
const int h = output.size(-2);
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
src/box_convolution_cuda_backward.cu: In instantiation of ‘gpu::boxConvUpdateGradInput(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&)::<lambda()>::<lambda()> [with bool normalize = true; bool exact = true]’:
src/box_convolution_cuda_backward.cu:176:1890: required from ‘struct gpu::boxConvUpdateGradInput(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&)::<lambda()> [with bool normalize = true; bool exact = true]::<lambda()>’
src/box_convolution_cuda_backward.cu:176:2036: required from ‘gpu::boxConvUpdateGradInput(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&)::<lambda()> [with bool normalize = true; bool exact = true]’
src/box_convolution_cuda_backward.cu:176:915: required from ‘struct gpu::boxConvUpdateGradInput(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&) [with bool normalize = true; bool exact = true]::<lambda()>’
src/box_convolution_cuda_backward.cu:176:6: required from ‘void gpu::boxConvUpdateGradInput(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&) [with bool normalize = true; bool exact = true]’
src/box_convolution_cuda_backward.cu:195:309: required from here
src/box_convolution_cuda_backward.cu:176:1420: internal compiler error: in tsubst_copy, at cp/pt.c:13189
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
error: command 'g++-7' failed with exit status 1
Failed building wheel for box-convolution
Running setup.py clean for box-convolution
Running command /home/sarvagya/anaconda3/envs/tf/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-req-build-k9raxzlj/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" clean --all
running clean
removing 'build/temp.linux-x86_64-3.6' (and everything under it)
removing 'build/lib.linux-x86_64-3.6' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.6' does not exist -- can't clean it
removing 'build'
Failed to build box-convolution
Installing collected packages: box-convolution
Created temporary directory: /tmp/pip-record-kdwsut4_
Running command /home/sarvagya/anaconda3/envs/tf/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-req-build-k9raxzlj/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-kdwsut4_/install-record.txt --single-version-externally-managed --compile
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/box_convolution
copying box_convolution/test.py -> build/lib.linux-x86_64-3.6/box_convolution
copying box_convolution/__init__.py -> build/lib.linux-x86_64-3.6/box_convolution
copying box_convolution/box_convolution_module.py -> build/lib.linux-x86_64-3.6/box_convolution
copying box_convolution/box_convolution_function.py -> build/lib.linux-x86_64-3.6/box_convolution
running build_ext
building 'box_convolution_cpp_cuda' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/src
g++-7 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/TH -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/home/sarvagya/anaconda3/envs/tf/include/python3.6m -c src/integral_image_interface.cpp -o build/temp.linux-x86_64-3.6/src/integral_image_interface.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=box_convolution_cpp_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
g++-7 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/TH -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/home/sarvagya/anaconda3/envs/tf/include/python3.6m -c src/integral_image.cpp -o build/temp.linux-x86_64-3.6/src/integral_image.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=box_convolution_cpp_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
unable to execute 'g++-7': No such file or directory
g++-7 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/TH -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/home/sarvagya/anaconda3/envs/tf/include/python3.6m -c src/box_convolution_interface.cpp -o build/temp.linux-x86_64-3.6/src/box_convolution_interface.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=box_convolution_cpp_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
unable to execute 'g++-7': No such file or directory
g++-7 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/TH -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/home/sarvagya/anaconda3/envs/tf/include/python3.6m -c src/box_convolution.cpp -o build/temp.linux-x86_64-3.6/src/box_convolution.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=box_convolution_cpp_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
unable to execute 'g++-7': No such file or directory
g++-7 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/TH -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/home/sarvagya/anaconda3/envs/tf/include/python3.6m -c src/bind.cpp -o build/temp.linux-x86_64-3.6/src/bind.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=box_convolution_cpp_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
unable to execute 'g++-7': No such file or directory
/usr/local/cuda/bin/nvcc -Isrc -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/TH -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/home/sarvagya/anaconda3/envs/tf/include/python3.6m -c src/integral_image_cuda.cu -o build/temp.linux-x86_64-3.6/src/integral_image_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=box_convolution_cpp_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
unable to execute 'g++-7': No such file or directory
/usr/local/cuda/bin/nvcc -Isrc -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/TH -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/home/sarvagya/anaconda3/envs/tf/include/python3.6m -c src/box_convolution_cuda_forward.cu -o build/temp.linux-x86_64-3.6/src/box_convolution_cuda_forward.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=box_convolution_cpp_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
/usr/local/cuda/bin/nvcc -Isrc -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/TH -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/home/sarvagya/anaconda3/envs/tf/include/python3.6m -c src/box_convolution_cuda_backward.cu -o build/temp.linux-x86_64-3.6/src/box_convolution_cuda_backward.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=box_convolution_cpp_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
/usr/local/cuda/bin/nvcc -Isrc -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/TH -I/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/home/sarvagya/anaconda3/envs/tf/include/python3.6m -c src/box_convolution_cuda_misc.cu -o build/temp.linux-x86_64-3.6/src/box_convolution_cuda_misc.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=box_convolution_cpp_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/ATen/core/jit_type.h(907): warning: statement is unreachable
/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/ATen/core/jit_type.h(907): warning: statement is unreachable
/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/ATen/core/jit_type.h(907): warning: statement is unreachable
/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/torch/lib/include/ATen/core/jit_type.h(907): warning: statement is unreachable
src/box_convolution_cuda_forward.cu: In instantiation of ‘gpu::boxConvUpdateOutput(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&)::<lambda()>::<lambda()> [with bool normalize = true; bool exact = true]’:
src/box_convolution_cuda_forward.cu:223:2242: required from ‘struct gpu::boxConvUpdateOutput(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&)::<lambda()> [with bool normalize = true; bool exact = true]::<lambda()>’
src/box_convolution_cuda_forward.cu:223:2739: required from ‘gpu::boxConvUpdateOutput(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&)::<lambda()> [with bool normalize = true; bool exact = true]’
src/box_convolution_cuda_forward.cu:223:914: required from ‘struct gpu::boxConvUpdateOutput(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&) [with bool normalize = true; bool exact = true]::<lambda()>’
src/box_convolution_cuda_forward.cu:223:6: required from ‘void gpu::boxConvUpdateOutput(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&) [with bool normalize = true; bool exact = true]’
src/box_convolution_cuda_forward.cu:253:298: required from here
src/box_convolution_cuda_forward.cu:213:26: internal compiler error: in tsubst_copy, at cp/pt.c:13039
const int h = output.size(-2);
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
src/box_convolution_cuda_backward.cu: In instantiation of ‘gpu::boxConvUpdateGradInput(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&)::<lambda()>::<lambda()> [with bool normalize = true; bool exact = true]’:
src/box_convolution_cuda_backward.cu:176:1890: required from ‘struct gpu::boxConvUpdateGradInput(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&)::<lambda()> [with bool normalize = true; bool exact = true]::<lambda()>’
src/box_convolution_cuda_backward.cu:176:2036: required from ‘gpu::boxConvUpdateGradInput(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&)::<lambda()> [with bool normalize = true; bool exact = true]’
src/box_convolution_cuda_backward.cu:176:915: required from ‘struct gpu::boxConvUpdateGradInput(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&) [with bool normalize = true; bool exact = true]::<lambda()>’
src/box_convolution_cuda_backward.cu:176:6: required from ‘void gpu::boxConvUpdateGradInput(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&) [with bool normalize = true; bool exact = true]’
src/box_convolution_cuda_backward.cu:195:309: required from here
src/box_convolution_cuda_backward.cu:176:1420: internal compiler error: in tsubst_copy, at cp/pt.c:13189
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
error: command 'g++-7' failed with exit status 1
Cleaning up...
Removing source in /tmp/pip-req-build-k9raxzlj
Removed build tracker '/tmp/pip-req-tracker-a9vehy36'
Command "/home/sarvagya/anaconda3/envs/tf/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-req-build-k9raxzlj/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-kdwsut4_/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-req-build-k9raxzlj/
Exception information:
Traceback (most recent call last):
File "/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/pip/_internal/basecommand.py", line 141, in main
status = self.run(options, args)
File "/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 347, in run
use_user_site=options.use_user_site,
File "/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/pip/_internal/req/__init__.py", line 49, in install_given_reqs
**kwargs
File "/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/pip/_internal/req/req_install.py", line 972, in install
spinner=spinner,
File "/home/sarvagya/anaconda3/envs/tf/lib/python3.6/site-packages/pip/_internal/utils/misc.py", line 701, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip._internal.exceptions.InstallationError: Command "/home/sarvagya/anaconda3/envs/tf/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-req-build-k9raxzlj/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-kdwsut4_/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-req-build-k9raxzlj/
You are using pip version 18.0, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment