Guest User

v12.0.0 + cpu

a guest
Jul 19th, 2022
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.17 KB | None | 0 0
  1. The following warnings were emitted during compilation:
  2.  
  3. warning: In file included from libtch/torch_api.cpp:12:
  4. warning: libtch/torch_api_generated.cpp.h: In function ‘void atg__cat(at::Tensor**, at::Tensor**, int, int64_t)’:
  5. warning: libtch/torch_api_generated.cpp.h:308:29: error: ‘_cat’ is not a member of ‘torch’
  6. warning: 308 | auto outputs__ = torch::_cat(of_carray_tensor(tensors_data, tensors_len), dim);
  7. warning: | ^~~~
  8. warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  9. warning: 16 | x \
  10. warning: | ^
  11. warning: libtch/torch_api_generated.cpp.h: In function ‘void atg__cat_out(at::Tensor**, tensor, at::Tensor**, int, int64_t)’:
  12. warning: libtch/torch_api_generated.cpp.h:315:29: error: ‘_cat_out’ is not a member of ‘torch’
  13. warning: 315 | auto outputs__ = torch::_cat_out(*out, of_carray_tensor(tensors_data, tensors_len), dim);
  14. warning: | ^~~~~~~~
  15. warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  16. warning: 16 | x \
  17. warning: | ^
  18. warning: libtch/torch_api_generated.cpp.h: In function ‘void atg__index_copy_(at::Tensor**, tensor, int64_t, tensor, tensor)’:
  19. warning: libtch/torch_api_generated.cpp.h:812:29: error: ‘_index_copy_’ is not a member of ‘torch’
  20. warning: 812 | auto outputs__ = torch::_index_copy_(*self, dim, *index, *source);
  21. warning: | ^~~~~~~~~~~~
  22. warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  23. warning: 16 | x \
  24. warning: | ^
  25. warning: libtch/torch_api_generated.cpp.h: In function ‘void atg__native_multi_head_self_attention(at::Tensor**, tensor, tensor, tensor, tensor, tensor, tensor)’:
  26. warning: libtch/torch_api_generated.cpp.h:986:29: error: ‘_native_multi_head_self_attention’ is not a member of ‘torch’
  27. warning: 986 | auto outputs__ = torch::_native_multi_head_self_attention(*query, *qkv_weight, *qkv_bias, *proj_weight, *proj_bias, (mask ? *mask : torch::Tensor()));
  28. warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  29. warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  30. warning: 16 | x \
  31. warning: | ^
  32. warning: libtch/torch_api_generated.cpp.h: In function ‘void atg__s_where(at::Tensor**, tensor, tensor, tensor)’:
  33. warning: libtch/torch_api_generated.cpp.h:1094:29: error: ‘_s_where’ is not a member of ‘torch’
  34. warning: 1094 | auto outputs__ = torch::_s_where(*condition, *self, *other);
  35. warning: | ^~~~~~~~
  36. warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  37. warning: 16 | x \
  38. warning: | ^
  39. warning: libtch/torch_api_generated.cpp.h: In function ‘void atg__solve_helper(at::Tensor**, tensor, tensor)’:
  40. warning: libtch/torch_api_generated.cpp.h:1195:29: error: ‘_solve_helper’ is not a member of ‘torch’
  41. warning: 1195 | auto outputs__ = torch::_solve_helper(*self, *A);
  42. warning: | ^~~~~~~~~~~~~
  43. warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  44. warning: 16 | x \
  45. warning: | ^
  46. warning: libtch/torch_api_generated.cpp.h: In function ‘void atg__weight_norm_cuda_interface(at::Tensor**, tensor, tensor, int64_t)’:
  47. warning: libtch/torch_api_generated.cpp.h:1752:29: error: ‘_weight_norm_cuda_interface’ is not a member of ‘torch’
  48. warning: 1752 | auto outputs__ = torch::_weight_norm_cuda_interface(*v, *g, dim);
  49. warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  50. warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  51. warning: 16 | x \
  52. warning: | ^
  53. warning: libtch/torch_api_generated.cpp.h: In function ‘void atg__weight_norm_cuda_interface_backward(at::Tensor**, tensor, tensor, tensor, tensor, int64_t)’:
  54. warning: libtch/torch_api_generated.cpp.h:1760:29: error: ‘_weight_norm_cuda_interface_backward’ is not a member of ‘torch’
  55. warning: 1760 | auto outputs__ = torch::_weight_norm_cuda_interface_backward(*grad_w, *saved_v, *saved_g, *saved_norms, dim);
  56. warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  57. warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  58. warning: 16 | x \
  59. warning: | ^
  60. warning: libtch/torch_api_generated.cpp.h: In function ‘void atg_bernoulli_out(at::Tensor**, tensor, tensor)’:
  61. warning: libtch/torch_api_generated.cpp.h:2906:42: error: call of overloaded ‘bernoulli_out(at::Tensor&, at::Tensor&)’ is ambiguous
  62. warning: 2906 | auto outputs__ = torch::bernoulli_out(*out, *self);
  63. warning: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  64. warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  65. warning: 16 | x \
  66. warning: | ^
  67. warning: In file included from /home/r/libtorch/include/ATen/Functions.h:423,
  68. warning: from /home/r/libtorch/include/torch/csrc/autograd/input_metadata.h:10,
  69. warning: from /home/r/libtorch/include/torch/csrc/autograd/function.h:7,
  70. warning: from /home/r/libtorch/include/torch/csrc/autograd/engine.h:11,
  71. warning: from libtch/torch_api.cpp:1:
  72. warning: /home/r/libtorch/include/ATen/ops/bernoulli.h:31:31: note: candidate: ‘at::Tensor& at::bernoulli_out(Tensor&, const Tensor&, c10::optional<Generator>)’
  73. warning: 31 | TORCH_API inline at::Tensor & bernoulli_out(at::Tensor & out, const at::Tensor & self, c10::optional<at::Generator> generator=c10::nullopt) {
  74. warning: | ^~~~~~~~~~~~~
  75. warning: /home/r/libtorch/include/ATen/ops/bernoulli.h:61:31: note: candidate: ‘at::Tensor& at::bernoulli_out(Tensor&, const Tensor&, double, c10::optional<Generator>)’
  76. warning: 61 | TORCH_API inline at::Tensor & bernoulli_out(at::Tensor & out, const at::Tensor & self, double p=0.5, c10::optional<at::Generator> generator=c10::nullopt) {
  77. warning: | ^~~~~~~~~~~~~
  78. warning: libtch/torch_api_generated.cpp.h: In function ‘void atg_grid_sampler_3d_backward(at::Tensor**, tensor, tensor, tensor, int64_t, int64_t, int)’:
  79. warning: libtch/torch_api_generated.cpp.h:6103:53: error: too few arguments to function ‘std::tuple<at::Tensor, at::Tensor> at::grid_sampler_3d_backward(const Tensor&, const Tensor&, const Tensor&, int64_t, int64_t, bool, std::array<bool, 2>)’
  80. warning: 6103 | auto outputs__ = torch::grid_sampler_3d_backward(*grad_output, *input, *grid, interpolation_mode, padding_mode, (bool)align_corners);
  81. warning: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  82. warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  83. warning: 16 | x \
  84. warning: | ^
  85. warning: In file included from /home/r/libtorch/include/ATen/Functions.h:657:
  86. warning: /home/r/libtorch/include/ATen/ops/grid_sampler_3d_backward.h:26:54: note: declared here
  87. warning: 26 | TORCH_API inline ::std::tuple<at::Tensor,at::Tensor> grid_sampler_3d_backward(const at::Tensor & grad_output, const at::Tensor & input, const at::Tensor & grid, int64_t interpolation_mode, int64_t padding_mode, bool align_corners, ::std::array<bool,2> output_mask) {
  88. warning: | ^~~~~~~~~~~~~~~~~~~~~~~~
  89. warning: libtch/torch_api_generated.cpp.h: In function ‘void atg_max_unpool2d_backward(at::Tensor**, tensor, tensor, tensor, int64_t*, int)’:
  90. warning: libtch/torch_api_generated.cpp.h:8655:29: error: ‘max_unpool2d_backward’ is not a member of ‘torch’
  91. warning: 8655 | auto outputs__ = torch::max_unpool2d_backward(*grad_output, *self, *indices, torch::IntArrayRef(output_size_data, output_size_len));
  92. warning: | ^~~~~~~~~~~~~~~~~~~~~
  93. warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  94. warning: 16 | x \
  95. warning: | ^
  96. warning: libtch/torch_api_generated.cpp.h: In function ‘void atg_max_unpool2d_backward_grad_input(at::Tensor**, tensor, tensor, tensor, tensor, int64_t*, int)’:
  97. warning: libtch/torch_api_generated.cpp.h:8662:29: error: ‘max_unpool2d_backward_out’ is not a member of ‘torch’
  98. warning: 8662 | auto outputs__ = torch::max_unpool2d_backward_out(*grad_input, *grad_output, *self, *indices, torch::IntArrayRef(output_size_data, output_size_len));
  99. warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~
  100. warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  101. warning: 16 | x \
  102. warning: | ^
  103. warning: libtch/torch_api_generated.cpp.h: In function ‘void atg_max_unpool3d_backward(at::Tensor**, tensor, tensor, tensor, int64_t*, int, int64_t*, int, int64_t*, int)’:
  104. warning: libtch/torch_api_generated.cpp.h:8683:29: error: ‘max_unpool3d_backward’ is not a member of ‘torch’
  105. warning: 8683 | auto outputs__ = torch::max_unpool3d_backward(*grad_output, *self, *indices, torch::IntArrayRef(output_size_data, output_size_len), torch::IntArrayRef(stride_data, stride_len), torch::IntArrayRef(padding_data, padding_len));
  106. warning: | ^~~~~~~~~~~~~~~~~~~~~
  107. warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  108. warning: 16 | x \
  109. warning: | ^
  110. warning: libtch/torch_api_generated.cpp.h: In function ‘void atg_max_unpool3d_backward_grad_input(at::Tensor**, tensor, tensor, tensor, tensor, int64_t*, int, int64_t*, int, int64_t*, int)’:
  111. warning: libtch/torch_api_generated.cpp.h:8690:29: error: ‘max_unpool3d_backward_out’ is not a member of ‘torch’
  112. warning: 8690 | auto outputs__ = torch::max_unpool3d_backward_out(*grad_input, *grad_output, *self, *indices, torch::IntArrayRef(output_size_data, output_size_len), torch::IntArrayRef(stride_data, stride_len), torch::IntArrayRef(padding_data, padding_len));
  113. warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~
  114. warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  115. warning: 16 | x \
  116. warning: | ^
  117. warning: libtch/torch_api_generated.cpp.h: In function ‘void atg_nansum(at::Tensor**, tensor, int)’:
  118. warning: libtch/torch_api_generated.cpp.h:9363:47: error: could not convert ‘(c10::ScalarType)((signed char)dtype)’ from ‘c10::ScalarType’ to ‘at::IntArrayRef’ {aka ‘c10::ArrayRef<long int>’}
  119. warning: 9363 | auto outputs__ = torch::nansum(*self, at::ScalarType(dtype));
  120. warning: | ^~~~~~~~~~~~~~~~~
  121. warning: | |
  122. warning: | c10::ScalarType
  123. warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  124. warning: 16 | x \
  125. warning: | ^
  126. warning: libtch/torch_api_generated.cpp.h: In function ‘void atg_normal(at::Tensor**, tensor, tensor, double)’:
  127. warning: libtch/torch_api_generated.cpp.h:9763:39: error: call of overloaded ‘normal_out(at::Tensor&, at::Tensor&, double&)’ is ambiguous
  128. warning: 9763 | auto outputs__ = torch::normal_out(*out, *mean, std);
  129. warning: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  130. warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  131. warning: 16 | x \
  132. warning: | ^
  133. warning: In file included from /home/r/libtorch/include/ATen/Functions.h:926:
  134. warning: /home/r/libtorch/include/ATen/ops/normal.h:26:31: note: candidate: ‘at::Tensor& at::normal_out(Tensor&, const Tensor&, double, c10::optional<Generator>)’
  135. warning: 26 | TORCH_API inline at::Tensor & normal_out(at::Tensor & out, const at::Tensor & mean, double std=1, c10::optional<at::Generator> generator=c10::nullopt) {
  136. warning: | ^~~~~~~~~~
  137. warning: /home/r/libtorch/include/ATen/ops/normal.h:91:31: note: candidate: ‘at::Tensor& at::normal_out(Tensor&, const Tensor&, double, double, c10::optional<Generator>)’
  138. warning: 91 | TORCH_API inline at::Tensor & normal_out(at::Tensor & out, const at::Tensor & self, double mean=0, double std=1, c10::optional<at::Generator> generator=c10::nullopt) {
  139. warning: | ^~~~~~~~~~
  140. warning: libtch/torch_api_generated.cpp.h: In function ‘void atg_solve(at::Tensor**, tensor, tensor)’:
  141. warning: libtch/torch_api_generated.cpp.h:11688:29: error: ‘solve’ is not a member of ‘torch’
  142. warning: 11688 | auto outputs__ = torch::solve(*self, *A);
  143. warning: | ^~~~~
  144. warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  145. warning: 16 | x \
  146. warning: | ^
  147. warning: libtch/torch_api_generated.cpp.h:11688:29: note: suggested alternatives:
  148. warning: 11688 | auto outputs__ = torch::solve(*self, *A);
  149. warning: | ^~~~~
  150. warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  151. warning: 16 | x \
  152. warning: | ^
  153. warning: In file included from /home/r/libtorch/include/torch/csrc/api/include/torch/all.h:12,
  154. warning: from /home/r/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
  155. warning: from libtch/torch_api.cpp:7:
  156. warning: /home/r/libtorch/include/torch/csrc/api/include/torch/linalg.h:568:15: note: ‘torch::linalg::solve’
  157. warning: 568 | inline Tensor solve(const Tensor& input, const Tensor& other) {
  158. warning: | ^~~~~
  159. warning: /home/r/libtorch/include/torch/csrc/api/include/torch/linalg.h:199:15: note: ‘torch::linalg::detail::solve’
  160. warning: 199 | inline Tensor solve(const Tensor& input, const Tensor& other) {
  161. warning: | ^~~~~
  162. warning: libtch/torch_api_generated.cpp.h: In function ‘void atg_solve_solution(at::Tensor**, tensor, tensor, tensor, tensor)’:
  163. warning: libtch/torch_api_generated.cpp.h:11696:29: error: ‘solve_out’ is not a member of ‘torch’
  164. warning: 11696 | auto outputs__ = torch::solve_out(*solution, *lu, *self, *A);
  165. warning: | ^~~~~~~~~
  166. warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  167. warning: 16 | x \
  168. warning: | ^
  169. warning: libtch/torch_api_generated.cpp.h:11696:29: note: suggested alternatives:
  170. warning: 11696 | auto outputs__ = torch::solve_out(*solution, *lu, *self, *A);
  171. warning: | ^~~~~~~~~
  172. warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  173. warning: 16 | x \
  174. warning: | ^
  175. warning: /home/r/libtorch/include/torch/csrc/api/include/torch/linalg.h:572:16: note: ‘torch::linalg::solve_out’
  176. warning: 572 | inline Tensor& solve_out(Tensor& result, const Tensor& input, const Tensor& other) {
  177. warning: | ^~~~~~~~~
  178. warning: /home/r/libtorch/include/torch/csrc/api/include/torch/linalg.h:203:16: note: ‘torch::linalg::detail::solve_out’
  179. warning: 203 | inline Tensor& solve_out(Tensor& result, const Tensor& input, const Tensor& other) {
  180. warning: | ^~~~~~~~~
  181.  
  182. error: failed to run custom build command for `torch-sys v0.7.2`
  183.  
  184. Caused by:
  185. process didn't exit successfully: `/home/r/projects/rust/stock-perception-api/target/debug/build/torch-sys-792fbc61b068f06b/build-script-build` (exit status: 1)
  186. --- stdout
  187. cargo:rerun-if-env-changed=TORCH_CUDA_VERSION
  188. cargo:rerun-if-env-changed=LIBTORCH
  189. cargo:rustc-link-search=native=/home/r/libtorch/lib
  190. cargo:rerun-if-changed=libtch/torch_api.cpp
  191. cargo:rerun-if-changed=libtch/torch_api.h
  192. cargo:rerun-if-changed=libtch/torch_api_generated.cpp.h
  193. cargo:rerun-if-changed=libtch/torch_api_generated.h
  194. cargo:rerun-if-changed=libtch/stb_image_write.h
  195. cargo:rerun-if-changed=libtch/stb_image_resize.h
  196. cargo:rerun-if-changed=libtch/stb_image.h
  197. cargo:rerun-if-env-changed=LIBTORCH_CXX11_ABI
  198. TARGET = Some("x86_64-unknown-linux-gnu")
  199. OPT_LEVEL = Some("0")
  200. HOST = Some("x86_64-unknown-linux-gnu")
  201. CXX_x86_64-unknown-linux-gnu = None
  202. CXX_x86_64_unknown_linux_gnu = None
  203. HOST_CXX = None
  204. CXX = None
  205. CXXFLAGS_x86_64-unknown-linux-gnu = None
  206. CXXFLAGS_x86_64_unknown_linux_gnu = None
  207. HOST_CXXFLAGS = None
  208. CXXFLAGS = None
  209. CRATE_CC_NO_DEFAULTS = None
  210. DEBUG = Some("true")
  211. CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  212. running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/r/libtorch/include" "-I" "/home/r/libtorch/include/torch/csrc/api/include" "-Wl,-rpath=/home/r/libtorch/lib" "-std=c++14" "-D_GLIBCXX_USE_CXX11_ABI=0" "-o" "/home/r/projects/rust/stock-perception-api/target/debug/build/torch-sys-b8f6d3441bb83c77/out/libtch/torch_api.o" "-c" "libtch/torch_api.cpp"
  213. running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/r/libtorch/include" "-I" "/home/r/libtorch/include/torch/csrc/api/include" "-Wl,-rpath=/home/r/libtorch/lib" "-std=c++14" "-D_GLIBCXX_USE_CXX11_ABI=0" "-o" "/home/r/projects/rust/stock-perception-api/target/debug/build/torch-sys-b8f6d3441bb83c77/out/libtch/dummy_cuda_dependency.o" "-c" "libtch/dummy_cuda_dependency.cpp"
  214. exit status: 0
  215. cargo:warning=In file included from libtch/torch_api.cpp:12:
  216. cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg__cat(at::Tensor**, at::Tensor**, int, int64_t)’:
  217. cargo:warning=libtch/torch_api_generated.cpp.h:308:29: error: ‘_cat’ is not a member of ‘torch’
  218. cargo:warning= 308 | auto outputs__ = torch::_cat(of_carray_tensor(tensors_data, tensors_len), dim);
  219. cargo:warning= | ^~~~
  220. cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  221. cargo:warning= 16 | x \
  222. cargo:warning= | ^
  223. cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg__cat_out(at::Tensor**, tensor, at::Tensor**, int, int64_t)’:
  224. cargo:warning=libtch/torch_api_generated.cpp.h:315:29: error: ‘_cat_out’ is not a member of ‘torch’
  225. cargo:warning= 315 | auto outputs__ = torch::_cat_out(*out, of_carray_tensor(tensors_data, tensors_len), dim);
  226. cargo:warning= | ^~~~~~~~
  227. cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  228. cargo:warning= 16 | x \
  229. cargo:warning= | ^
  230. cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg__index_copy_(at::Tensor**, tensor, int64_t, tensor, tensor)’:
  231. cargo:warning=libtch/torch_api_generated.cpp.h:812:29: error: ‘_index_copy_’ is not a member of ‘torch’
  232. cargo:warning= 812 | auto outputs__ = torch::_index_copy_(*self, dim, *index, *source);
  233. cargo:warning= | ^~~~~~~~~~~~
  234. cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  235. cargo:warning= 16 | x \
  236. cargo:warning= | ^
  237. cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg__native_multi_head_self_attention(at::Tensor**, tensor, tensor, tensor, tensor, tensor, tensor)’:
  238. cargo:warning=libtch/torch_api_generated.cpp.h:986:29: error: ‘_native_multi_head_self_attention’ is not a member of ‘torch’
  239. cargo:warning= 986 | auto outputs__ = torch::_native_multi_head_self_attention(*query, *qkv_weight, *qkv_bias, *proj_weight, *proj_bias, (mask ? *mask : torch::Tensor()));
  240. cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  241. cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  242. cargo:warning= 16 | x \
  243. cargo:warning= | ^
  244. cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg__s_where(at::Tensor**, tensor, tensor, tensor)’:
  245. cargo:warning=libtch/torch_api_generated.cpp.h:1094:29: error: ‘_s_where’ is not a member of ‘torch’
  246. cargo:warning= 1094 | auto outputs__ = torch::_s_where(*condition, *self, *other);
  247. cargo:warning= | ^~~~~~~~
  248. cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  249. cargo:warning= 16 | x \
  250. cargo:warning= | ^
  251. cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg__solve_helper(at::Tensor**, tensor, tensor)’:
  252. cargo:warning=libtch/torch_api_generated.cpp.h:1195:29: error: ‘_solve_helper’ is not a member of ‘torch’
  253. cargo:warning= 1195 | auto outputs__ = torch::_solve_helper(*self, *A);
  254. cargo:warning= | ^~~~~~~~~~~~~
  255. cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  256. cargo:warning= 16 | x \
  257. cargo:warning= | ^
  258. cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg__weight_norm_cuda_interface(at::Tensor**, tensor, tensor, int64_t)’:
  259. cargo:warning=libtch/torch_api_generated.cpp.h:1752:29: error: ‘_weight_norm_cuda_interface’ is not a member of ‘torch’
  260. cargo:warning= 1752 | auto outputs__ = torch::_weight_norm_cuda_interface(*v, *g, dim);
  261. cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  262. cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  263. cargo:warning= 16 | x \
  264. cargo:warning= | ^
  265. cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg__weight_norm_cuda_interface_backward(at::Tensor**, tensor, tensor, tensor, tensor, int64_t)’:
  266. cargo:warning=libtch/torch_api_generated.cpp.h:1760:29: error: ‘_weight_norm_cuda_interface_backward’ is not a member of ‘torch’
  267. cargo:warning= 1760 | auto outputs__ = torch::_weight_norm_cuda_interface_backward(*grad_w, *saved_v, *saved_g, *saved_norms, dim);
  268. cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  269. cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  270. cargo:warning= 16 | x \
  271. cargo:warning= | ^
  272. cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg_bernoulli_out(at::Tensor**, tensor, tensor)’:
  273. cargo:warning=libtch/torch_api_generated.cpp.h:2906:42: error: call of overloaded ‘bernoulli_out(at::Tensor&, at::Tensor&)’ is ambiguous
  274. cargo:warning= 2906 | auto outputs__ = torch::bernoulli_out(*out, *self);
  275. cargo:warning= | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
  276. cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  277. cargo:warning= 16 | x \
  278. cargo:warning= | ^
  279. cargo:warning=In file included from /home/r/libtorch/include/ATen/Functions.h:423,
  280. cargo:warning= from /home/r/libtorch/include/torch/csrc/autograd/input_metadata.h:10,
  281. cargo:warning= from /home/r/libtorch/include/torch/csrc/autograd/function.h:7,
  282. cargo:warning= from /home/r/libtorch/include/torch/csrc/autograd/engine.h:11,
  283. cargo:warning= from libtch/torch_api.cpp:1:
  284. cargo:warning=/home/r/libtorch/include/ATen/ops/bernoulli.h:31:31: note: candidate: ‘at::Tensor& at::bernoulli_out(Tensor&, const Tensor&, c10::optional<Generator>)’
  285. cargo:warning= 31 | TORCH_API inline at::Tensor & bernoulli_out(at::Tensor & out, const at::Tensor & self, c10::optional<at::Generator> generator=c10::nullopt) {
  286. cargo:warning= | ^~~~~~~~~~~~~
  287. cargo:warning=/home/r/libtorch/include/ATen/ops/bernoulli.h:61:31: note: candidate: ‘at::Tensor& at::bernoulli_out(Tensor&, const Tensor&, double, c10::optional<Generator>)’
  288. cargo:warning= 61 | TORCH_API inline at::Tensor & bernoulli_out(at::Tensor & out, const at::Tensor & self, double p=0.5, c10::optional<at::Generator> generator=c10::nullopt) {
  289. cargo:warning= | ^~~~~~~~~~~~~
  290. cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg_grid_sampler_3d_backward(at::Tensor**, tensor, tensor, tensor, int64_t, int64_t, int)’:
  291. cargo:warning=libtch/torch_api_generated.cpp.h:6103:53: error: too few arguments to function ‘std::tuple<at::Tensor, at::Tensor> at::grid_sampler_3d_backward(const Tensor&, const Tensor&, const Tensor&, int64_t, int64_t, bool, std::array<bool, 2>)’
  292. cargo:warning= 6103 | auto outputs__ = torch::grid_sampler_3d_backward(*grad_output, *input, *grid, interpolation_mode, padding_mode, (bool)align_corners);
  293. cargo:warning= | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  294. cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  295. cargo:warning= 16 | x \
  296. cargo:warning= | ^
  297. cargo:warning=In file included from /home/r/libtorch/include/ATen/Functions.h:657:
  298. cargo:warning=/home/r/libtorch/include/ATen/ops/grid_sampler_3d_backward.h:26:54: note: declared here
  299. cargo:warning= 26 | TORCH_API inline ::std::tuple<at::Tensor,at::Tensor> grid_sampler_3d_backward(const at::Tensor & grad_output, const at::Tensor & input, const at::Tensor & grid, int64_t interpolation_mode, int64_t padding_mode, bool align_corners, ::std::array<bool,2> output_mask) {
  300. cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~
  301. cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg_max_unpool2d_backward(at::Tensor**, tensor, tensor, tensor, int64_t*, int)’:
  302. cargo:warning=libtch/torch_api_generated.cpp.h:8655:29: error: ‘max_unpool2d_backward’ is not a member of ‘torch’
  303. cargo:warning= 8655 | auto outputs__ = torch::max_unpool2d_backward(*grad_output, *self, *indices, torch::IntArrayRef(output_size_data, output_size_len));
  304. cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
  305. cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  306. cargo:warning= 16 | x \
  307. cargo:warning= | ^
  308. cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg_max_unpool2d_backward_grad_input(at::Tensor**, tensor, tensor, tensor, tensor, int64_t*, int)’:
  309. cargo:warning=libtch/torch_api_generated.cpp.h:8662:29: error: ‘max_unpool2d_backward_out’ is not a member of ‘torch’
  310. cargo:warning= 8662 | auto outputs__ = torch::max_unpool2d_backward_out(*grad_input, *grad_output, *self, *indices, torch::IntArrayRef(output_size_data, output_size_len));
  311. cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~
  312. cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  313. cargo:warning= 16 | x \
  314. cargo:warning= | ^
  315. cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg_max_unpool3d_backward(at::Tensor**, tensor, tensor, tensor, int64_t*, int, int64_t*, int, int64_t*, int)’:
  316. cargo:warning=libtch/torch_api_generated.cpp.h:8683:29: error: ‘max_unpool3d_backward’ is not a member of ‘torch’
  317. cargo:warning= 8683 | auto outputs__ = torch::max_unpool3d_backward(*grad_output, *self, *indices, torch::IntArrayRef(output_size_data, output_size_len), torch::IntArrayRef(stride_data, stride_len), torch::IntArrayRef(padding_data, padding_len));
  318. cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
  319. cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  320. cargo:warning= 16 | x \
  321. cargo:warning= | ^
  322. cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg_max_unpool3d_backward_grad_input(at::Tensor**, tensor, tensor, tensor, tensor, int64_t*, int, int64_t*, int, int64_t*, int)’:
  323. cargo:warning=libtch/torch_api_generated.cpp.h:8690:29: error: ‘max_unpool3d_backward_out’ is not a member of ‘torch’
  324. cargo:warning= 8690 | auto outputs__ = torch::max_unpool3d_backward_out(*grad_input, *grad_output, *self, *indices, torch::IntArrayRef(output_size_data, output_size_len), torch::IntArrayRef(stride_data, stride_len), torch::IntArrayRef(padding_data, padding_len));
  325. cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~
  326. cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  327. cargo:warning= 16 | x \
  328. cargo:warning= | ^
  329. cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg_nansum(at::Tensor**, tensor, int)’:
  330. cargo:warning=libtch/torch_api_generated.cpp.h:9363:47: error: could not convert ‘(c10::ScalarType)((signed char)dtype)’ from ‘c10::ScalarType’ to ‘at::IntArrayRef’ {aka ‘c10::ArrayRef<long int>’}
  331. cargo:warning= 9363 | auto outputs__ = torch::nansum(*self, at::ScalarType(dtype));
  332. cargo:warning= | ^~~~~~~~~~~~~~~~~
  333. cargo:warning= | |
  334. cargo:warning= | c10::ScalarType
  335. cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  336. cargo:warning= 16 | x \
  337. cargo:warning= | ^
  338. cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg_normal(at::Tensor**, tensor, tensor, double)’:
  339. cargo:warning=libtch/torch_api_generated.cpp.h:9763:39: error: call of overloaded ‘normal_out(at::Tensor&, at::Tensor&, double&)’ is ambiguous
  340. cargo:warning= 9763 | auto outputs__ = torch::normal_out(*out, *mean, std);
  341. cargo:warning= | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  342. cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  343. cargo:warning= 16 | x \
  344. cargo:warning= | ^
  345. cargo:warning=In file included from /home/r/libtorch/include/ATen/Functions.h:926:
  346. cargo:warning=/home/r/libtorch/include/ATen/ops/normal.h:26:31: note: candidate: ‘at::Tensor& at::normal_out(Tensor&, const Tensor&, double, c10::optional<Generator>)’
  347. cargo:warning= 26 | TORCH_API inline at::Tensor & normal_out(at::Tensor & out, const at::Tensor & mean, double std=1, c10::optional<at::Generator> generator=c10::nullopt) {
  348. cargo:warning= | ^~~~~~~~~~
  349. cargo:warning=/home/r/libtorch/include/ATen/ops/normal.h:91:31: note: candidate: ‘at::Tensor& at::normal_out(Tensor&, const Tensor&, double, double, c10::optional<Generator>)’
  350. cargo:warning= 91 | TORCH_API inline at::Tensor & normal_out(at::Tensor & out, const at::Tensor & self, double mean=0, double std=1, c10::optional<at::Generator> generator=c10::nullopt) {
  351. cargo:warning= | ^~~~~~~~~~
  352. cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg_solve(at::Tensor**, tensor, tensor)’:
  353. cargo:warning=libtch/torch_api_generated.cpp.h:11688:29: error: ‘solve’ is not a member of ‘torch’
  354. cargo:warning=11688 | auto outputs__ = torch::solve(*self, *A);
  355. cargo:warning= | ^~~~~
  356. cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  357. cargo:warning= 16 | x \
  358. cargo:warning= | ^
  359. cargo:warning=libtch/torch_api_generated.cpp.h:11688:29: note: suggested alternatives:
  360. cargo:warning=11688 | auto outputs__ = torch::solve(*self, *A);
  361. cargo:warning= | ^~~~~
  362. cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  363. cargo:warning= 16 | x \
  364. cargo:warning= | ^
  365. cargo:warning=In file included from /home/r/libtorch/include/torch/csrc/api/include/torch/all.h:12,
  366. cargo:warning= from /home/r/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
  367. cargo:warning= from libtch/torch_api.cpp:7:
  368. cargo:warning=/home/r/libtorch/include/torch/csrc/api/include/torch/linalg.h:568:15: note: ‘torch::linalg::solve’
  369. cargo:warning= 568 | inline Tensor solve(const Tensor& input, const Tensor& other) {
  370. cargo:warning= | ^~~~~
  371. cargo:warning=/home/r/libtorch/include/torch/csrc/api/include/torch/linalg.h:199:15: note: ‘torch::linalg::detail::solve’
  372. cargo:warning= 199 | inline Tensor solve(const Tensor& input, const Tensor& other) {
  373. cargo:warning= | ^~~~~
  374. cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg_solve_solution(at::Tensor**, tensor, tensor, tensor, tensor)’:
  375. cargo:warning=libtch/torch_api_generated.cpp.h:11696:29: error: ‘solve_out’ is not a member of ‘torch’
  376. cargo:warning=11696 | auto outputs__ = torch::solve_out(*solution, *lu, *self, *A);
  377. cargo:warning= | ^~~~~~~~~
  378. cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  379. cargo:warning= 16 | x \
  380. cargo:warning= | ^
  381. cargo:warning=libtch/torch_api_generated.cpp.h:11696:29: note: suggested alternatives:
  382. cargo:warning=11696 | auto outputs__ = torch::solve_out(*solution, *lu, *self, *A);
  383. cargo:warning= | ^~~~~~~~~
  384. cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
  385. cargo:warning= 16 | x \
  386. cargo:warning= | ^
  387. cargo:warning=/home/r/libtorch/include/torch/csrc/api/include/torch/linalg.h:572:16: note: ‘torch::linalg::solve_out’
  388. cargo:warning= 572 | inline Tensor& solve_out(Tensor& result, const Tensor& input, const Tensor& other) {
  389. cargo:warning= | ^~~~~~~~~
  390. cargo:warning=/home/r/libtorch/include/torch/csrc/api/include/torch/linalg.h:203:16: note: ‘torch::linalg::detail::solve_out’
  391. cargo:warning= 203 | inline Tensor& solve_out(Tensor& result, const Tensor& input, const Tensor& other) {
  392. cargo:warning= | ^~~~~~~~~
  393. exit status: 1
  394.  
  395. --- stderr
  396.  
  397.  
  398. error occurred: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/r/libtorch/include" "-I" "/home/r/libtorch/include/torch/csrc/api/include" "-Wl,-rpath=/home/r/libtorch/lib" "-std=c++14" "-D_GLIBCXX_USE_CXX11_ABI=0" "-o" "/home/r/projects/rust/stock-perception-api/target/debug/build/torch-sys-b8f6d3441bb83c77/out/libtch/torch_api.o" "-c" "libtch/torch_api.cpp" with args "c++" did not execute successfully (status code exit status: 1).
Advertisement
Add Comment
Please, Sign In to add comment