Advertisement
lamiastella

Untitled

Jan 8th, 2021
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.98 KB | None | 0 0
  1. (smplifyx) mona@ubuntu:~/mona/code/smplify-x/torch-mesh-isect$ pip install .
  2. Processing ~/mona/code/smplify-x/torch-mesh-isect
  3. 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)
  4. 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)
  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)
  6. 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)
  7. Building wheels for collected packages: mesh-intersection
  8. Building wheel for mesh-intersection (setup.py) ... error
  9. ERROR: Command errored out with exit status 1:
  10. 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
  11. cwd: /tmp/pip-req-build-4wh957cb/
  12. Complete output (134 lines):
  13. running bdist_wheel
  14. running build
  15. running build_py
  16. running build_ext
  17. building 'bvh_cuda' extension
  18. Emitting ninja build file /tmp/pip-req-build-4wh957cb/build/temp.linux-x86_64-3.6/build.ninja...
  19. Compiling objects...
  20. Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
  21. [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
  22. FAILED: /tmp/pip-req-build-4wh957cb/build/temp.linux-x86_64-3.6/src/bvh_cuda_op.o
  23. /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
  24. /tmp/pip-req-build-4wh957cb/src/bvh_cuda_op.cu:37:10: fatal error: double_vec_ops.h: No such file or directory
  25. #include "double_vec_ops.h"
  26. ^~~~~~~~~~~~~~~~~~
  27. compilation terminated.
  28. [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
  29. In file included from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
  30. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
  31. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
  32. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
  33. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
  34. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
  35. from /tmp/pip-req-build-4wh957cb/src/bvh.cpp:18:
  36. /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
  37. #pragma omp parallel for if ((end - begin) >= grain_size)
  38.  
  39. In file included from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/c10/core/DeviceType.h:8:0,
  40. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/c10/core/Device.h:3,
  41. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6,
  42. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/ATen.h:7,
  43. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
  44. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
  45. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
  46. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
  47. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
  48. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
  49. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
  50. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
  51. from /tmp/pip-req-build-4wh957cb/src/bvh.cpp:18:
  52. /tmp/pip-req-build-4wh957cb/src/bvh.cpp: In function ‘at::Tensor bvh_forward(at::Tensor, int)’:
  53. /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]
  54. #define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
  55. ^
  56. /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
  57. #define C10_UNLIKELY(expr) (__builtin_expect(static_cast<bool>(expr), 0))
  58. ^~~~
  59. /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’
  60. if (C10_UNLIKELY_OR_CONST(!(cond))) { \
  61. ^~~~~~~~~~~~~~~~~~~~~
  62. /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’
  63. TORCH_CHECK_WITH_MSG(error_t, cond, "", __VA_ARGS__)
  64. ^~~~~~~~~~~~~~~~~~~~
  65. /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’
  66. #define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, __VA_ARGS__)
  67. ^~~~~~~~~~~~~~~~
  68. /tmp/pip-req-build-4wh957cb/src/bvh.cpp:25:23: note: in expansion of macro ‘TORCH_CHECK’
  69. #define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
  70. ^~~~~~~~~~~
  71. /tmp/pip-req-build-4wh957cb/src/bvh.cpp:27:24: note: in expansion of macro ‘CHECK_CUDA’
  72. #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  73. ^~~~~~~~~~
  74. /tmp/pip-req-build-4wh957cb/src/bvh.cpp:30:5: note: in expansion of macro ‘CHECK_INPUT’
  75. CHECK_INPUT(triangles);
  76. ^~~~~~~~~~~
  77. In file included from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  78. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  79. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
  80. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
  81. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
  82. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
  83. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
  84. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
  85. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
  86. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
  87. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
  88. from /tmp/pip-req-build-4wh957cb/src/bvh.cpp:18:
  89. /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
  90. DeprecatedTypeProperties & type() const {
  91. ^~~~
  92. ninja: build stopped: subcommand failed.
  93. Traceback (most recent call last):
  94. File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1539, in _run_ninja_build
  95. env=env)
  96. File "/usr/lib/python3.6/subprocess.py", line 438, in run
  97. output=stdout, stderr=stderr)
  98. subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
  99.  
  100. The above exception was the direct cause of the following exception:
  101.  
  102. Traceback (most recent call last):
  103. File "<string>", line 1, in <module>
  104. File "/tmp/pip-req-build-4wh957cb/setup.py", line 97, in <module>
  105. cmdclass={'build_ext': BuildExtension})
  106. File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/setuptools/__init__.py", line 153, in setup
  107. return distutils.core.setup(**attrs)
  108. File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
  109. dist.run_commands()
  110. File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
  111. self.run_command(cmd)
  112. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  113. cmd_obj.run()
  114. File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 299, in run
  115. self.run_command('build')
  116. File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
  117. self.distribution.run_command(command)
  118. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  119. cmd_obj.run()
  120. File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
  121. self.run_command(cmd_name)
  122. File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
  123. self.distribution.run_command(command)
  124. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  125. cmd_obj.run()
  126. File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 79, in run
  127. _build_ext.run(self)
  128. File "/usr/lib/python3.6/distutils/command/build_ext.py", line 339, in run
  129. self.build_extensions()
  130. File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 670, in build_extensions
  131. build_ext.build_extensions(self)
  132. File "/usr/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
  133. self._build_extensions_serial()
  134. File "/usr/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
  135. self.build_extension(ext)
  136. File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
  137. _build_ext.build_extension(self, ext)
  138. File "/usr/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension
  139. depends=ext.depends)
  140. File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 500, in unix_wrap_ninja_compile
  141. with_cuda=with_cuda)
  142. File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1255, in _write_ninja_file_and_compile_objects
  143. error_prefix='Error compiling objects for extension')
  144. File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1555, in _run_ninja_build
  145. raise RuntimeError(message) from e
  146. RuntimeError: Error compiling objects for extension
  147. ----------------------------------------
  148. ERROR: Failed building wheel for mesh-intersection
  149. Running setup.py clean for mesh-intersection
  150. Failed to build mesh-intersection
  151. Installing collected packages: mesh-intersection
  152. Running setup.py install for mesh-intersection ... error
  153. ERROR: Command errored out with exit status 1:
  154. 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
  155. cwd: /tmp/pip-req-build-4wh957cb/
  156. Complete output (144 lines):
  157. running install
  158. running build
  159. running build_py
  160. creating build/lib.linux-x86_64-3.6
  161. creating build/lib.linux-x86_64-3.6/mesh_intersection
  162. copying mesh_intersection/loss.py -> build/lib.linux-x86_64-3.6/mesh_intersection
  163. copying mesh_intersection/filter_faces.py -> build/lib.linux-x86_64-3.6/mesh_intersection
  164. copying mesh_intersection/__init__.py -> build/lib.linux-x86_64-3.6/mesh_intersection
  165. copying mesh_intersection/bvh_search_tree.py -> build/lib.linux-x86_64-3.6/mesh_intersection
  166. running build_ext
  167. building 'bvh_cuda' extension
  168. creating /tmp/pip-req-build-4wh957cb/build/temp.linux-x86_64-3.6
  169. creating /tmp/pip-req-build-4wh957cb/build/temp.linux-x86_64-3.6/src
  170. Emitting ninja build file /tmp/pip-req-build-4wh957cb/build/temp.linux-x86_64-3.6/build.ninja...
  171. Compiling objects...
  172. Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
  173. [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
  174. FAILED: /tmp/pip-req-build-4wh957cb/build/temp.linux-x86_64-3.6/src/bvh_cuda_op.o
  175. /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
  176. /tmp/pip-req-build-4wh957cb/src/bvh_cuda_op.cu:37:10: fatal error: double_vec_ops.h: No such file or directory
  177. #include "double_vec_ops.h"
  178. ^~~~~~~~~~~~~~~~~~
  179. compilation terminated.
  180. [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
  181. In file included from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
  182. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
  183. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
  184. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
  185. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
  186. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
  187. from /tmp/pip-req-build-4wh957cb/src/bvh.cpp:18:
  188. /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
  189. #pragma omp parallel for if ((end - begin) >= grain_size)
  190.  
  191. In file included from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/c10/core/DeviceType.h:8:0,
  192. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/c10/core/Device.h:3,
  193. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6,
  194. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/ATen.h:7,
  195. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
  196. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
  197. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
  198. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
  199. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
  200. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
  201. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
  202. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
  203. from /tmp/pip-req-build-4wh957cb/src/bvh.cpp:18:
  204. /tmp/pip-req-build-4wh957cb/src/bvh.cpp: In function ‘at::Tensor bvh_forward(at::Tensor, int)’:
  205. /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]
  206. #define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
  207. ^
  208. /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
  209. #define C10_UNLIKELY(expr) (__builtin_expect(static_cast<bool>(expr), 0))
  210. ^~~~
  211. /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’
  212. if (C10_UNLIKELY_OR_CONST(!(cond))) { \
  213. ^~~~~~~~~~~~~~~~~~~~~
  214. /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’
  215. TORCH_CHECK_WITH_MSG(error_t, cond, "", __VA_ARGS__)
  216. ^~~~~~~~~~~~~~~~~~~~
  217. /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’
  218. #define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, __VA_ARGS__)
  219. ^~~~~~~~~~~~~~~~
  220. /tmp/pip-req-build-4wh957cb/src/bvh.cpp:25:23: note: in expansion of macro ‘TORCH_CHECK’
  221. #define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
  222. ^~~~~~~~~~~
  223. /tmp/pip-req-build-4wh957cb/src/bvh.cpp:27:24: note: in expansion of macro ‘CHECK_CUDA’
  224. #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
  225. ^~~~~~~~~~
  226. /tmp/pip-req-build-4wh957cb/src/bvh.cpp:30:5: note: in expansion of macro ‘CHECK_INPUT’
  227. CHECK_INPUT(triangles);
  228. ^~~~~~~~~~~
  229. In file included from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
  230. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
  231. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
  232. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
  233. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
  234. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
  235. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
  236. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
  237. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
  238. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
  239. from /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
  240. from /tmp/pip-req-build-4wh957cb/src/bvh.cpp:18:
  241. /home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
  242. DeprecatedTypeProperties & type() const {
  243. ^~~~
  244. ninja: build stopped: subcommand failed.
  245. Traceback (most recent call last):
  246. File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1539, in _run_ninja_build
  247. env=env)
  248. File "/usr/lib/python3.6/subprocess.py", line 438, in run
  249. output=stdout, stderr=stderr)
  250. subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
  251.  
  252. The above exception was the direct cause of the following exception:
  253.  
  254. Traceback (most recent call last):
  255. File "<string>", line 1, in <module>
  256. File "/tmp/pip-req-build-4wh957cb/setup.py", line 97, in <module>
  257. cmdclass={'build_ext': BuildExtension})
  258. File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/setuptools/__init__.py", line 153, in setup
  259. return distutils.core.setup(**attrs)
  260. File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
  261. dist.run_commands()
  262. File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
  263. self.run_command(cmd)
  264. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  265. cmd_obj.run()
  266. File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/setuptools/command/install.py", line 61, in run
  267. return orig.install.run(self)
  268. File "/usr/lib/python3.6/distutils/command/install.py", line 589, in run
  269. self.run_command('build')
  270. File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
  271. self.distribution.run_command(command)
  272. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  273. cmd_obj.run()
  274. File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
  275. self.run_command(cmd_name)
  276. File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
  277. self.distribution.run_command(command)
  278. File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
  279. cmd_obj.run()
  280. File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 79, in run
  281. _build_ext.run(self)
  282. File "/usr/lib/python3.6/distutils/command/build_ext.py", line 339, in run
  283. self.build_extensions()
  284. File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 670, in build_extensions
  285. build_ext.build_extensions(self)
  286. File "/usr/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
  287. self._build_extensions_serial()
  288. File "/usr/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
  289. self.build_extension(ext)
  290. File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
  291. _build_ext.build_extension(self, ext)
  292. File "/usr/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension
  293. depends=ext.depends)
  294. File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 500, in unix_wrap_ninja_compile
  295. with_cuda=with_cuda)
  296. File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1255, in _write_ninja_file_and_compile_objects
  297. error_prefix='Error compiling objects for extension')
  298. File "/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1555, in _run_ninja_build
  299. raise RuntimeError(message) from e
  300. RuntimeError: Error compiling objects for extension
  301. ----------------------------------------
  302. 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.
  303.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement