Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (smplifyx) mona@ubuntu:~/mona/code/smplify-x/torch-mesh-isect$ pip install .
- Processing ~/mona/code/smplify-x/torch-mesh-isect
- Requirement already satisfied: torch>=1.0.1 in /home/mona/venv/smplifyx/lib/python3.6/site-packages (from mesh-intersection==0.1.0) (1.7.1)
- Requirement already satisfied: numpy in /home/mona/venv/smplifyx/lib/python3.6/site-packages (from torch>=1.0.1->mesh-intersection==0.1.0) (1.19.5)
- Requirement already satisfied: typing-extensions in /home/mona/venv/smplifyx/lib/python3.6/site-packages (from torch>=1.0.1->mesh-intersection==0.1.0) (3.7.4.3)
- Requirement already satisfied: dataclasses in /home/mona/venv/smplifyx/lib/python3.6/site-packages (from torch>=1.0.1->mesh-intersection==0.1.0) (0.8)
- Building wheels for collected packages: mesh-intersection
- Building wheel for mesh-intersection (setup.py) ... error
- ERROR: Command errored out with exit status 1:
- command: /home/mona/venv/smplifyx/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-4wh957cb/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-4wh957cb/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-_m9mkifv
- cwd: /tmp/pip-req-build-4wh957cb/
- Complete output (134 lines):
- running bdist_wheel
- running build
- running build_py
- running build_ext
- building 'bvh_cuda' extension
- Emitting ninja build file /tmp/pip-req-build-4wh957cb/build/temp.linux-x86_64-3.6/build.ninja...
- Compiling objects...
- Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
- [1/2] /usr/local/cuda/bin/nvcc -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/TH -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/THC -Iinclude -I/usr/local/cuda-10.2/samples/common/inc/ -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/TH -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/mona/venv/smplifyx/include -I/usr/include/python3.6m -c -c /tmp/pip-req-build-4wh957cb/src/bvh_cuda_op.cu -o /tmp/pip-req-build-4wh957cb/build/temp.linux-x86_64-3.6/src/bvh_cuda_op.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DPRINT_TIMINGS=0 -DDEBUG_PRINT=0 -DERROR_CHECKING=1 -DCOLLISION_ORDERING=1 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=bvh_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
- FAILED: /tmp/pip-req-build-4wh957cb/build/temp.linux-x86_64-3.6/src/bvh_cuda_op.o
- /usr/local/cuda/bin/nvcc -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/TH -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/THC -Iinclude -I/usr/local/cuda-10.2/samples/common/inc/ -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/TH -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/mona/venv/smplifyx/include -I/usr/include/python3.6m -c -c /tmp/pip-req-build-4wh957cb/src/bvh_cuda_op.cu -o /tmp/pip-req-build-4wh957cb/build/temp.linux-x86_64-3.6/src/bvh_cuda_op.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DPRINT_TIMINGS=0 -DDEBUG_PRINT=0 -DERROR_CHECKING=1 -DCOLLISION_ORDERING=1 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=bvh_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
- /tmp/pip-req-build-4wh957cb/src/bvh_cuda_op.cu:37:10: fatal error: double_vec_ops.h: No such file or directory
- #include "double_vec_ops.h"
- ^~~~~~~~~~~~~~~~~~
- compilation terminated.
- [2/2] c++ -MMD -MF /tmp/pip-req-build-4wh957cb/build/temp.linux-x86_64-3.6/src/bvh.o.d -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/TH -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/THC -Iinclude -I/usr/local/cuda-10.2/samples/common/inc/ -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/TH -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/mona/venv/smplifyx/include -I/usr/include/python3.6m -c -c /tmp/pip-req-build-4wh957cb/src/bvh.cpp -o /tmp/pip-req-build-4wh957cb/build/temp.linux-x86_64-3.6/src/bvh.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=bvh_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
- In file included from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
- from /tmp/pip-req-build-4wh957cb/src/bvh.cpp:18:
- /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
- #pragma omp parallel for if ((end - begin) >= grain_size)
- In file included from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/c10/core/DeviceType.h:8:0,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/c10/core/Device.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/ATen.h:7,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
- from /tmp/pip-req-build-4wh957cb/src/bvh.cpp:18:
- /tmp/pip-req-build-4wh957cb/src/bvh.cpp: In function ‘at::Tensor bvh_forward(at::Tensor, int)’:
- /tmp/pip-req-build-4wh957cb/src/bvh.cpp:25:42: 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]
- #define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
- #define C10_UNLIKELY(expr) (__builtin_expect(static_cast<bool>(expr), 0))
- ^~~~
- /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
- TORCH_CHECK_WITH_MSG(error_t, cond, "", __VA_ARGS__)
- ^~~~~~~~~~~~~~~~~~~~
- /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
- #define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, __VA_ARGS__)
- ^~~~~~~~~~~~~~~~
- /tmp/pip-req-build-4wh957cb/src/bvh.cpp:25:23: note: in expansion of macro ‘TORCH_CHECK’
- #define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~~
- /tmp/pip-req-build-4wh957cb/src/bvh.cpp:27:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- /tmp/pip-req-build-4wh957cb/src/bvh.cpp:30:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(triangles);
- ^~~~~~~~~~~
- In file included from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
- from /tmp/pip-req-build-4wh957cb/src/bvh.cpp:18:
- /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- ninja: build stopped: subcommand failed.
- Traceback (most recent call last):
- File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1539, in _run_ninja_build
- env=env)
- File "/usr/lib/python3.6/subprocess.py", line 438, in run
- output=stdout, stderr=stderr)
- 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 "/tmp/pip-req-build-4wh957cb/setup.py", line 97, in <module>
- cmdclass={'build_ext': BuildExtension})
- File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/setuptools/__init__.py", line 153, in setup
- return distutils.core.setup(**attrs)
- File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
- dist.run_commands()
- File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
- self.run_command(cmd)
- File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
- cmd_obj.run()
- File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 299, in run
- self.run_command('build')
- File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
- self.distribution.run_command(command)
- File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
- cmd_obj.run()
- File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
- self.run_command(cmd_name)
- File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
- self.distribution.run_command(command)
- File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
- cmd_obj.run()
- File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 79, in run
- _build_ext.run(self)
- File "/usr/lib/python3.6/distutils/command/build_ext.py", line 339, in run
- self.build_extensions()
- File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 670, in build_extensions
- build_ext.build_extensions(self)
- File "/usr/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
- self._build_extensions_serial()
- File "/usr/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
- self.build_extension(ext)
- File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
- _build_ext.build_extension(self, ext)
- File "/usr/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension
- depends=ext.depends)
- File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 500, in unix_wrap_ninja_compile
- with_cuda=with_cuda)
- File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1255, in _write_ninja_file_and_compile_objects
- error_prefix='Error compiling objects for extension')
- File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1555, in _run_ninja_build
- raise RuntimeError(message) from e
- RuntimeError: Error compiling objects for extension
- ----------------------------------------
- ERROR: Failed building wheel for mesh-intersection
- Running setup.py clean for mesh-intersection
- Failed to build mesh-intersection
- Installing collected packages: mesh-intersection
- Running setup.py install for mesh-intersection ... error
- ERROR: Command errored out with exit status 1:
- command: /home/mona/venv/smplifyx/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-4wh957cb/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-4wh957cb/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-ii1jv6l9/install-record.txt --single-version-externally-managed --compile --install-headers /home/mona/venv/smplifyx/include/site/python3.6/mesh-intersection
- cwd: /tmp/pip-req-build-4wh957cb/
- Complete output (144 lines):
- running install
- running build
- running build_py
- creating build/lib.linux-x86_64-3.6
- creating build/lib.linux-x86_64-3.6/mesh_intersection
- copying mesh_intersection/loss.py -> build/lib.linux-x86_64-3.6/mesh_intersection
- copying mesh_intersection/filter_faces.py -> build/lib.linux-x86_64-3.6/mesh_intersection
- copying mesh_intersection/__init__.py -> build/lib.linux-x86_64-3.6/mesh_intersection
- copying mesh_intersection/bvh_search_tree.py -> build/lib.linux-x86_64-3.6/mesh_intersection
- running build_ext
- building 'bvh_cuda' extension
- creating /tmp/pip-req-build-4wh957cb/build/temp.linux-x86_64-3.6
- creating /tmp/pip-req-build-4wh957cb/build/temp.linux-x86_64-3.6/src
- Emitting ninja build file /tmp/pip-req-build-4wh957cb/build/temp.linux-x86_64-3.6/build.ninja...
- Compiling objects...
- Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
- [1/2] /usr/local/cuda/bin/nvcc -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/TH -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/THC -Iinclude -I/usr/local/cuda-10.2/samples/common/inc/ -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/TH -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/mona/venv/smplifyx/include -I/usr/include/python3.6m -c -c /tmp/pip-req-build-4wh957cb/src/bvh_cuda_op.cu -o /tmp/pip-req-build-4wh957cb/build/temp.linux-x86_64-3.6/src/bvh_cuda_op.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DPRINT_TIMINGS=0 -DDEBUG_PRINT=0 -DERROR_CHECKING=1 -DCOLLISION_ORDERING=1 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=bvh_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
- FAILED: /tmp/pip-req-build-4wh957cb/build/temp.linux-x86_64-3.6/src/bvh_cuda_op.o
- /usr/local/cuda/bin/nvcc -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/TH -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/THC -Iinclude -I/usr/local/cuda-10.2/samples/common/inc/ -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/TH -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/mona/venv/smplifyx/include -I/usr/include/python3.6m -c -c /tmp/pip-req-build-4wh957cb/src/bvh_cuda_op.cu -o /tmp/pip-req-build-4wh957cb/build/temp.linux-x86_64-3.6/src/bvh_cuda_op.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DPRINT_TIMINGS=0 -DDEBUG_PRINT=0 -DERROR_CHECKING=1 -DCOLLISION_ORDERING=1 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=bvh_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
- /tmp/pip-req-build-4wh957cb/src/bvh_cuda_op.cu:37:10: fatal error: double_vec_ops.h: No such file or directory
- #include "double_vec_ops.h"
- ^~~~~~~~~~~~~~~~~~
- compilation terminated.
- [2/2] c++ -MMD -MF /tmp/pip-req-build-4wh957cb/build/temp.linux-x86_64-3.6/src/bvh.o.d -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/TH -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/THC -Iinclude -I/usr/local/cuda-10.2/samples/common/inc/ -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/TH -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/mona/venv/smplifyx/include -I/usr/include/python3.6m -c -c /tmp/pip-req-build-4wh957cb/src/bvh.cpp -o /tmp/pip-req-build-4wh957cb/build/temp.linux-x86_64-3.6/src/bvh.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=bvh_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
- In file included from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
- from /tmp/pip-req-build-4wh957cb/src/bvh.cpp:18:
- /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
- #pragma omp parallel for if ((end - begin) >= grain_size)
- In file included from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/c10/core/DeviceType.h:8:0,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/c10/core/Device.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/ATen.h:7,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
- from /tmp/pip-req-build-4wh957cb/src/bvh.cpp:18:
- /tmp/pip-req-build-4wh957cb/src/bvh.cpp: In function ‘at::Tensor bvh_forward(at::Tensor, int)’:
- /tmp/pip-req-build-4wh957cb/src/bvh.cpp:25:42: 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]
- #define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^
- /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
- #define C10_UNLIKELY(expr) (__builtin_expect(static_cast<bool>(expr), 0))
- ^~~~
- /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
- if (C10_UNLIKELY_OR_CONST(!(cond))) { \
- ^~~~~~~~~~~~~~~~~~~~~
- /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
- TORCH_CHECK_WITH_MSG(error_t, cond, "", __VA_ARGS__)
- ^~~~~~~~~~~~~~~~~~~~
- /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
- #define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, __VA_ARGS__)
- ^~~~~~~~~~~~~~~~
- /tmp/pip-req-build-4wh957cb/src/bvh.cpp:25:23: note: in expansion of macro ‘TORCH_CHECK’
- #define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
- ^~~~~~~~~~~
- /tmp/pip-req-build-4wh957cb/src/bvh.cpp:27:24: note: in expansion of macro ‘CHECK_CUDA’
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
- ^~~~~~~~~~
- /tmp/pip-req-build-4wh957cb/src/bvh.cpp:30:5: note: in expansion of macro ‘CHECK_INPUT’
- CHECK_INPUT(triangles);
- ^~~~~~~~~~~
- In file included from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
- from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
- from /tmp/pip-req-build-4wh957cb/src/bvh.cpp:18:
- /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
- DeprecatedTypeProperties & type() const {
- ^~~~
- ninja: build stopped: subcommand failed.
- Traceback (most recent call last):
- File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1539, in _run_ninja_build
- env=env)
- File "/usr/lib/python3.6/subprocess.py", line 438, in run
- output=stdout, stderr=stderr)
- 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 "/tmp/pip-req-build-4wh957cb/setup.py", line 97, in <module>
- cmdclass={'build_ext': BuildExtension})
- File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/setuptools/__init__.py", line 153, in setup
- return distutils.core.setup(**attrs)
- File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
- dist.run_commands()
- File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
- self.run_command(cmd)
- File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
- cmd_obj.run()
- File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/setuptools/command/install.py", line 61, in run
- return orig.install.run(self)
- File "/usr/lib/python3.6/distutils/command/install.py", line 589, in run
- self.run_command('build')
- File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
- self.distribution.run_command(command)
- File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
- cmd_obj.run()
- File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
- self.run_command(cmd_name)
- File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
- self.distribution.run_command(command)
- File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
- cmd_obj.run()
- File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 79, in run
- _build_ext.run(self)
- File "/usr/lib/python3.6/distutils/command/build_ext.py", line 339, in run
- self.build_extensions()
- File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 670, in build_extensions
- build_ext.build_extensions(self)
- File "/usr/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
- self._build_extensions_serial()
- File "/usr/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
- self.build_extension(ext)
- File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
- _build_ext.build_extension(self, ext)
- File "/usr/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension
- depends=ext.depends)
- File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 500, in unix_wrap_ninja_compile
- with_cuda=with_cuda)
- File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1255, in _write_ninja_file_and_compile_objects
- error_prefix='Error compiling objects for extension')
- File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1555, in _run_ninja_build
- raise RuntimeError(message) from e
- RuntimeError: Error compiling objects for extension
- ----------------------------------------
- ERROR: Command errored out with exit status 1: /home/mona/venv/smplifyx/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-4wh957cb/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-4wh957cb/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-ii1jv6l9/install-record.txt --single-version-externally-managed --compile --install-headers /home/mona/venv/smplifyx/include/site/python3.6/mesh-intersection Check the logs for full command output.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement