Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The following warnings were emitted during compilation:
- warning: In file included from libtch/torch_api.cpp:12:
- warning: libtch/torch_api_generated.cpp.h: In function ‘void atg__cat(at::Tensor**, at::Tensor**, int, int64_t)’:
- warning: libtch/torch_api_generated.cpp.h:308:29: error: ‘_cat’ is not a member of ‘torch’
- warning: 308 | auto outputs__ = torch::_cat(of_carray_tensor(tensors_data, tensors_len), dim);
- warning: | ^~~~
- warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- warning: 16 | x \
- warning: | ^
- warning: libtch/torch_api_generated.cpp.h: In function ‘void atg__cat_out(at::Tensor**, tensor, at::Tensor**, int, int64_t)’:
- warning: libtch/torch_api_generated.cpp.h:315:29: error: ‘_cat_out’ is not a member of ‘torch’
- warning: 315 | auto outputs__ = torch::_cat_out(*out, of_carray_tensor(tensors_data, tensors_len), dim);
- warning: | ^~~~~~~~
- warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- warning: 16 | x \
- warning: | ^
- warning: libtch/torch_api_generated.cpp.h: In function ‘void atg__index_copy_(at::Tensor**, tensor, int64_t, tensor, tensor)’:
- warning: libtch/torch_api_generated.cpp.h:812:29: error: ‘_index_copy_’ is not a member of ‘torch’
- warning: 812 | auto outputs__ = torch::_index_copy_(*self, dim, *index, *source);
- warning: | ^~~~~~~~~~~~
- warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- warning: 16 | x \
- warning: | ^
- warning: libtch/torch_api_generated.cpp.h: In function ‘void atg__native_multi_head_self_attention(at::Tensor**, tensor, tensor, tensor, tensor, tensor, tensor)’:
- warning: libtch/torch_api_generated.cpp.h:986:29: error: ‘_native_multi_head_self_attention’ is not a member of ‘torch’
- warning: 986 | auto outputs__ = torch::_native_multi_head_self_attention(*query, *qkv_weight, *qkv_bias, *proj_weight, *proj_bias, (mask ? *mask : torch::Tensor()));
- warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- warning: 16 | x \
- warning: | ^
- warning: libtch/torch_api_generated.cpp.h: In function ‘void atg__s_where(at::Tensor**, tensor, tensor, tensor)’:
- warning: libtch/torch_api_generated.cpp.h:1094:29: error: ‘_s_where’ is not a member of ‘torch’
- warning: 1094 | auto outputs__ = torch::_s_where(*condition, *self, *other);
- warning: | ^~~~~~~~
- warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- warning: 16 | x \
- warning: | ^
- warning: libtch/torch_api_generated.cpp.h: In function ‘void atg__solve_helper(at::Tensor**, tensor, tensor)’:
- warning: libtch/torch_api_generated.cpp.h:1195:29: error: ‘_solve_helper’ is not a member of ‘torch’
- warning: 1195 | auto outputs__ = torch::_solve_helper(*self, *A);
- warning: | ^~~~~~~~~~~~~
- warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- warning: 16 | x \
- warning: | ^
- warning: libtch/torch_api_generated.cpp.h: In function ‘void atg__weight_norm_cuda_interface(at::Tensor**, tensor, tensor, int64_t)’:
- warning: libtch/torch_api_generated.cpp.h:1752:29: error: ‘_weight_norm_cuda_interface’ is not a member of ‘torch’
- warning: 1752 | auto outputs__ = torch::_weight_norm_cuda_interface(*v, *g, dim);
- warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- warning: 16 | x \
- warning: | ^
- warning: libtch/torch_api_generated.cpp.h: In function ‘void atg__weight_norm_cuda_interface_backward(at::Tensor**, tensor, tensor, tensor, tensor, int64_t)’:
- warning: libtch/torch_api_generated.cpp.h:1760:29: error: ‘_weight_norm_cuda_interface_backward’ is not a member of ‘torch’
- warning: 1760 | auto outputs__ = torch::_weight_norm_cuda_interface_backward(*grad_w, *saved_v, *saved_g, *saved_norms, dim);
- warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- warning: 16 | x \
- warning: | ^
- warning: libtch/torch_api_generated.cpp.h: In function ‘void atg_bernoulli_out(at::Tensor**, tensor, tensor)’:
- warning: libtch/torch_api_generated.cpp.h:2906:42: error: call of overloaded ‘bernoulli_out(at::Tensor&, at::Tensor&)’ is ambiguous
- warning: 2906 | auto outputs__ = torch::bernoulli_out(*out, *self);
- warning: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
- warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- warning: 16 | x \
- warning: | ^
- warning: In file included from /home/r/libtorch/include/ATen/Functions.h:423,
- warning: from /home/r/libtorch/include/torch/csrc/autograd/input_metadata.h:10,
- warning: from /home/r/libtorch/include/torch/csrc/autograd/function.h:7,
- warning: from /home/r/libtorch/include/torch/csrc/autograd/engine.h:11,
- warning: from libtch/torch_api.cpp:1:
- warning: /home/r/libtorch/include/ATen/ops/bernoulli.h:31:31: note: candidate: ‘at::Tensor& at::bernoulli_out(Tensor&, const Tensor&, c10::optional<Generator>)’
- warning: 31 | TORCH_API inline at::Tensor & bernoulli_out(at::Tensor & out, const at::Tensor & self, c10::optional<at::Generator> generator=c10::nullopt) {
- warning: | ^~~~~~~~~~~~~
- 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>)’
- 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) {
- warning: | ^~~~~~~~~~~~~
- 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)’:
- 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>)’
- warning: 6103 | auto outputs__ = torch::grid_sampler_3d_backward(*grad_output, *input, *grid, interpolation_mode, padding_mode, (bool)align_corners);
- warning: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- warning: 16 | x \
- warning: | ^
- warning: In file included from /home/r/libtorch/include/ATen/Functions.h:657:
- warning: /home/r/libtorch/include/ATen/ops/grid_sampler_3d_backward.h:26:54: note: declared here
- 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) {
- warning: | ^~~~~~~~~~~~~~~~~~~~~~~~
- warning: libtch/torch_api_generated.cpp.h: In function ‘void atg_max_unpool2d_backward(at::Tensor**, tensor, tensor, tensor, int64_t*, int)’:
- warning: libtch/torch_api_generated.cpp.h:8655:29: error: ‘max_unpool2d_backward’ is not a member of ‘torch’
- warning: 8655 | auto outputs__ = torch::max_unpool2d_backward(*grad_output, *self, *indices, torch::IntArrayRef(output_size_data, output_size_len));
- warning: | ^~~~~~~~~~~~~~~~~~~~~
- warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- warning: 16 | x \
- warning: | ^
- 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)’:
- warning: libtch/torch_api_generated.cpp.h:8662:29: error: ‘max_unpool2d_backward_out’ is not a member of ‘torch’
- warning: 8662 | auto outputs__ = torch::max_unpool2d_backward_out(*grad_input, *grad_output, *self, *indices, torch::IntArrayRef(output_size_data, output_size_len));
- warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~
- warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- warning: 16 | x \
- warning: | ^
- 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)’:
- warning: libtch/torch_api_generated.cpp.h:8683:29: error: ‘max_unpool3d_backward’ is not a member of ‘torch’
- 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));
- warning: | ^~~~~~~~~~~~~~~~~~~~~
- warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- warning: 16 | x \
- warning: | ^
- 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)’:
- warning: libtch/torch_api_generated.cpp.h:8690:29: error: ‘max_unpool3d_backward_out’ is not a member of ‘torch’
- 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));
- warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~
- warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- warning: 16 | x \
- warning: | ^
- warning: libtch/torch_api_generated.cpp.h: In function ‘void atg_nansum(at::Tensor**, tensor, int)’:
- 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>’}
- warning: 9363 | auto outputs__ = torch::nansum(*self, at::ScalarType(dtype));
- warning: | ^~~~~~~~~~~~~~~~~
- warning: | |
- warning: | c10::ScalarType
- warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- warning: 16 | x \
- warning: | ^
- warning: libtch/torch_api_generated.cpp.h: In function ‘void atg_normal(at::Tensor**, tensor, tensor, double)’:
- warning: libtch/torch_api_generated.cpp.h:9763:39: error: call of overloaded ‘normal_out(at::Tensor&, at::Tensor&, double&)’ is ambiguous
- warning: 9763 | auto outputs__ = torch::normal_out(*out, *mean, std);
- warning: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- warning: 16 | x \
- warning: | ^
- warning: In file included from /home/r/libtorch/include/ATen/Functions.h:926:
- 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>)’
- 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) {
- warning: | ^~~~~~~~~~
- 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>)’
- 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) {
- warning: | ^~~~~~~~~~
- warning: libtch/torch_api_generated.cpp.h: In function ‘void atg_solve(at::Tensor**, tensor, tensor)’:
- warning: libtch/torch_api_generated.cpp.h:11688:29: error: ‘solve’ is not a member of ‘torch’
- warning: 11688 | auto outputs__ = torch::solve(*self, *A);
- warning: | ^~~~~
- warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- warning: 16 | x \
- warning: | ^
- warning: libtch/torch_api_generated.cpp.h:11688:29: note: suggested alternatives:
- warning: 11688 | auto outputs__ = torch::solve(*self, *A);
- warning: | ^~~~~
- warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- warning: 16 | x \
- warning: | ^
- warning: In file included from /home/r/libtorch/include/torch/csrc/api/include/torch/all.h:12,
- warning: from /home/r/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
- warning: from libtch/torch_api.cpp:7:
- warning: /home/r/libtorch/include/torch/csrc/api/include/torch/linalg.h:568:15: note: ‘torch::linalg::solve’
- warning: 568 | inline Tensor solve(const Tensor& input, const Tensor& other) {
- warning: | ^~~~~
- warning: /home/r/libtorch/include/torch/csrc/api/include/torch/linalg.h:199:15: note: ‘torch::linalg::detail::solve’
- warning: 199 | inline Tensor solve(const Tensor& input, const Tensor& other) {
- warning: | ^~~~~
- warning: libtch/torch_api_generated.cpp.h: In function ‘void atg_solve_solution(at::Tensor**, tensor, tensor, tensor, tensor)’:
- warning: libtch/torch_api_generated.cpp.h:11696:29: error: ‘solve_out’ is not a member of ‘torch’
- warning: 11696 | auto outputs__ = torch::solve_out(*solution, *lu, *self, *A);
- warning: | ^~~~~~~~~
- warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- warning: 16 | x \
- warning: | ^
- warning: libtch/torch_api_generated.cpp.h:11696:29: note: suggested alternatives:
- warning: 11696 | auto outputs__ = torch::solve_out(*solution, *lu, *self, *A);
- warning: | ^~~~~~~~~
- warning: libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- warning: 16 | x \
- warning: | ^
- warning: /home/r/libtorch/include/torch/csrc/api/include/torch/linalg.h:572:16: note: ‘torch::linalg::solve_out’
- warning: 572 | inline Tensor& solve_out(Tensor& result, const Tensor& input, const Tensor& other) {
- warning: | ^~~~~~~~~
- warning: /home/r/libtorch/include/torch/csrc/api/include/torch/linalg.h:203:16: note: ‘torch::linalg::detail::solve_out’
- warning: 203 | inline Tensor& solve_out(Tensor& result, const Tensor& input, const Tensor& other) {
- warning: | ^~~~~~~~~
- error: failed to run custom build command for `torch-sys v0.7.2`
- Caused by:
- process didn't exit successfully: `/home/r/projects/rust/stock-perception-api/target/debug/build/torch-sys-792fbc61b068f06b/build-script-build` (exit status: 1)
- --- stdout
- cargo:rerun-if-env-changed=TORCH_CUDA_VERSION
- cargo:rerun-if-env-changed=LIBTORCH
- cargo:rustc-link-search=native=/home/r/libtorch/lib
- cargo:rerun-if-changed=libtch/torch_api.cpp
- cargo:rerun-if-changed=libtch/torch_api.h
- cargo:rerun-if-changed=libtch/torch_api_generated.cpp.h
- cargo:rerun-if-changed=libtch/torch_api_generated.h
- cargo:rerun-if-changed=libtch/stb_image_write.h
- cargo:rerun-if-changed=libtch/stb_image_resize.h
- cargo:rerun-if-changed=libtch/stb_image.h
- cargo:rerun-if-env-changed=LIBTORCH_CXX11_ABI
- TARGET = Some("x86_64-unknown-linux-gnu")
- OPT_LEVEL = Some("0")
- HOST = Some("x86_64-unknown-linux-gnu")
- CXX_x86_64-unknown-linux-gnu = None
- CXX_x86_64_unknown_linux_gnu = None
- HOST_CXX = None
- CXX = None
- CXXFLAGS_x86_64-unknown-linux-gnu = None
- CXXFLAGS_x86_64_unknown_linux_gnu = None
- HOST_CXXFLAGS = None
- CXXFLAGS = None
- CRATE_CC_NO_DEFAULTS = None
- DEBUG = Some("true")
- CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
- 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"
- 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"
- exit status: 0
- cargo:warning=In file included from libtch/torch_api.cpp:12:
- cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg__cat(at::Tensor**, at::Tensor**, int, int64_t)’:
- cargo:warning=libtch/torch_api_generated.cpp.h:308:29: error: ‘_cat’ is not a member of ‘torch’
- cargo:warning= 308 | auto outputs__ = torch::_cat(of_carray_tensor(tensors_data, tensors_len), dim);
- cargo:warning= | ^~~~
- cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- cargo:warning= 16 | x \
- cargo:warning= | ^
- cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg__cat_out(at::Tensor**, tensor, at::Tensor**, int, int64_t)’:
- cargo:warning=libtch/torch_api_generated.cpp.h:315:29: error: ‘_cat_out’ is not a member of ‘torch’
- cargo:warning= 315 | auto outputs__ = torch::_cat_out(*out, of_carray_tensor(tensors_data, tensors_len), dim);
- cargo:warning= | ^~~~~~~~
- cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- cargo:warning= 16 | x \
- cargo:warning= | ^
- cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg__index_copy_(at::Tensor**, tensor, int64_t, tensor, tensor)’:
- cargo:warning=libtch/torch_api_generated.cpp.h:812:29: error: ‘_index_copy_’ is not a member of ‘torch’
- cargo:warning= 812 | auto outputs__ = torch::_index_copy_(*self, dim, *index, *source);
- cargo:warning= | ^~~~~~~~~~~~
- cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- cargo:warning= 16 | x \
- cargo:warning= | ^
- 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)’:
- cargo:warning=libtch/torch_api_generated.cpp.h:986:29: error: ‘_native_multi_head_self_attention’ is not a member of ‘torch’
- cargo:warning= 986 | auto outputs__ = torch::_native_multi_head_self_attention(*query, *qkv_weight, *qkv_bias, *proj_weight, *proj_bias, (mask ? *mask : torch::Tensor()));
- cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- cargo:warning= 16 | x \
- cargo:warning= | ^
- cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg__s_where(at::Tensor**, tensor, tensor, tensor)’:
- cargo:warning=libtch/torch_api_generated.cpp.h:1094:29: error: ‘_s_where’ is not a member of ‘torch’
- cargo:warning= 1094 | auto outputs__ = torch::_s_where(*condition, *self, *other);
- cargo:warning= | ^~~~~~~~
- cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- cargo:warning= 16 | x \
- cargo:warning= | ^
- cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg__solve_helper(at::Tensor**, tensor, tensor)’:
- cargo:warning=libtch/torch_api_generated.cpp.h:1195:29: error: ‘_solve_helper’ is not a member of ‘torch’
- cargo:warning= 1195 | auto outputs__ = torch::_solve_helper(*self, *A);
- cargo:warning= | ^~~~~~~~~~~~~
- cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- cargo:warning= 16 | x \
- cargo:warning= | ^
- cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg__weight_norm_cuda_interface(at::Tensor**, tensor, tensor, int64_t)’:
- cargo:warning=libtch/torch_api_generated.cpp.h:1752:29: error: ‘_weight_norm_cuda_interface’ is not a member of ‘torch’
- cargo:warning= 1752 | auto outputs__ = torch::_weight_norm_cuda_interface(*v, *g, dim);
- cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- cargo:warning= 16 | x \
- cargo:warning= | ^
- 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)’:
- cargo:warning=libtch/torch_api_generated.cpp.h:1760:29: error: ‘_weight_norm_cuda_interface_backward’ is not a member of ‘torch’
- cargo:warning= 1760 | auto outputs__ = torch::_weight_norm_cuda_interface_backward(*grad_w, *saved_v, *saved_g, *saved_norms, dim);
- cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- cargo:warning= 16 | x \
- cargo:warning= | ^
- cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg_bernoulli_out(at::Tensor**, tensor, tensor)’:
- cargo:warning=libtch/torch_api_generated.cpp.h:2906:42: error: call of overloaded ‘bernoulli_out(at::Tensor&, at::Tensor&)’ is ambiguous
- cargo:warning= 2906 | auto outputs__ = torch::bernoulli_out(*out, *self);
- cargo:warning= | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
- cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- cargo:warning= 16 | x \
- cargo:warning= | ^
- cargo:warning=In file included from /home/r/libtorch/include/ATen/Functions.h:423,
- cargo:warning= from /home/r/libtorch/include/torch/csrc/autograd/input_metadata.h:10,
- cargo:warning= from /home/r/libtorch/include/torch/csrc/autograd/function.h:7,
- cargo:warning= from /home/r/libtorch/include/torch/csrc/autograd/engine.h:11,
- cargo:warning= from libtch/torch_api.cpp:1:
- 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>)’
- cargo:warning= 31 | TORCH_API inline at::Tensor & bernoulli_out(at::Tensor & out, const at::Tensor & self, c10::optional<at::Generator> generator=c10::nullopt) {
- cargo:warning= | ^~~~~~~~~~~~~
- 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>)’
- 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) {
- cargo:warning= | ^~~~~~~~~~~~~
- 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)’:
- 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>)’
- cargo:warning= 6103 | auto outputs__ = torch::grid_sampler_3d_backward(*grad_output, *input, *grid, interpolation_mode, padding_mode, (bool)align_corners);
- cargo:warning= | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- cargo:warning= 16 | x \
- cargo:warning= | ^
- cargo:warning=In file included from /home/r/libtorch/include/ATen/Functions.h:657:
- cargo:warning=/home/r/libtorch/include/ATen/ops/grid_sampler_3d_backward.h:26:54: note: declared here
- 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) {
- cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~
- cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg_max_unpool2d_backward(at::Tensor**, tensor, tensor, tensor, int64_t*, int)’:
- cargo:warning=libtch/torch_api_generated.cpp.h:8655:29: error: ‘max_unpool2d_backward’ is not a member of ‘torch’
- cargo:warning= 8655 | auto outputs__ = torch::max_unpool2d_backward(*grad_output, *self, *indices, torch::IntArrayRef(output_size_data, output_size_len));
- cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
- cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- cargo:warning= 16 | x \
- cargo:warning= | ^
- 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)’:
- cargo:warning=libtch/torch_api_generated.cpp.h:8662:29: error: ‘max_unpool2d_backward_out’ is not a member of ‘torch’
- cargo:warning= 8662 | auto outputs__ = torch::max_unpool2d_backward_out(*grad_input, *grad_output, *self, *indices, torch::IntArrayRef(output_size_data, output_size_len));
- cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- cargo:warning= 16 | x \
- cargo:warning= | ^
- 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)’:
- cargo:warning=libtch/torch_api_generated.cpp.h:8683:29: error: ‘max_unpool3d_backward’ is not a member of ‘torch’
- 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));
- cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~
- cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- cargo:warning= 16 | x \
- cargo:warning= | ^
- 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)’:
- cargo:warning=libtch/torch_api_generated.cpp.h:8690:29: error: ‘max_unpool3d_backward_out’ is not a member of ‘torch’
- 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));
- cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~
- cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- cargo:warning= 16 | x \
- cargo:warning= | ^
- cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg_nansum(at::Tensor**, tensor, int)’:
- 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>’}
- cargo:warning= 9363 | auto outputs__ = torch::nansum(*self, at::ScalarType(dtype));
- cargo:warning= | ^~~~~~~~~~~~~~~~~
- cargo:warning= | |
- cargo:warning= | c10::ScalarType
- cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- cargo:warning= 16 | x \
- cargo:warning= | ^
- cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg_normal(at::Tensor**, tensor, tensor, double)’:
- cargo:warning=libtch/torch_api_generated.cpp.h:9763:39: error: call of overloaded ‘normal_out(at::Tensor&, at::Tensor&, double&)’ is ambiguous
- cargo:warning= 9763 | auto outputs__ = torch::normal_out(*out, *mean, std);
- cargo:warning= | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- cargo:warning= 16 | x \
- cargo:warning= | ^
- cargo:warning=In file included from /home/r/libtorch/include/ATen/Functions.h:926:
- 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>)’
- 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) {
- cargo:warning= | ^~~~~~~~~~
- 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>)’
- 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) {
- cargo:warning= | ^~~~~~~~~~
- cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg_solve(at::Tensor**, tensor, tensor)’:
- cargo:warning=libtch/torch_api_generated.cpp.h:11688:29: error: ‘solve’ is not a member of ‘torch’
- cargo:warning=11688 | auto outputs__ = torch::solve(*self, *A);
- cargo:warning= | ^~~~~
- cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- cargo:warning= 16 | x \
- cargo:warning= | ^
- cargo:warning=libtch/torch_api_generated.cpp.h:11688:29: note: suggested alternatives:
- cargo:warning=11688 | auto outputs__ = torch::solve(*self, *A);
- cargo:warning= | ^~~~~
- cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- cargo:warning= 16 | x \
- cargo:warning= | ^
- cargo:warning=In file included from /home/r/libtorch/include/torch/csrc/api/include/torch/all.h:12,
- cargo:warning= from /home/r/libtorch/include/torch/csrc/api/include/torch/torch.h:3,
- cargo:warning= from libtch/torch_api.cpp:7:
- cargo:warning=/home/r/libtorch/include/torch/csrc/api/include/torch/linalg.h:568:15: note: ‘torch::linalg::solve’
- cargo:warning= 568 | inline Tensor solve(const Tensor& input, const Tensor& other) {
- cargo:warning= | ^~~~~
- cargo:warning=/home/r/libtorch/include/torch/csrc/api/include/torch/linalg.h:199:15: note: ‘torch::linalg::detail::solve’
- cargo:warning= 199 | inline Tensor solve(const Tensor& input, const Tensor& other) {
- cargo:warning= | ^~~~~
- cargo:warning=libtch/torch_api_generated.cpp.h: In function ‘void atg_solve_solution(at::Tensor**, tensor, tensor, tensor, tensor)’:
- cargo:warning=libtch/torch_api_generated.cpp.h:11696:29: error: ‘solve_out’ is not a member of ‘torch’
- cargo:warning=11696 | auto outputs__ = torch::solve_out(*solution, *lu, *self, *A);
- cargo:warning= | ^~~~~~~~~
- cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- cargo:warning= 16 | x \
- cargo:warning= | ^
- cargo:warning=libtch/torch_api_generated.cpp.h:11696:29: note: suggested alternatives:
- cargo:warning=11696 | auto outputs__ = torch::solve_out(*solution, *lu, *self, *A);
- cargo:warning= | ^~~~~~~~~
- cargo:warning=libtch/torch_api.h:16:5: note: in definition of macro ‘PROTECT’
- cargo:warning= 16 | x \
- cargo:warning= | ^
- cargo:warning=/home/r/libtorch/include/torch/csrc/api/include/torch/linalg.h:572:16: note: ‘torch::linalg::solve_out’
- cargo:warning= 572 | inline Tensor& solve_out(Tensor& result, const Tensor& input, const Tensor& other) {
- cargo:warning= | ^~~~~~~~~
- cargo:warning=/home/r/libtorch/include/torch/csrc/api/include/torch/linalg.h:203:16: note: ‘torch::linalg::detail::solve_out’
- cargo:warning= 203 | inline Tensor& solve_out(Tensor& result, const Tensor& input, const Tensor& other) {
- cargo:warning= | ^~~~~~~~~
- exit status: 1
- --- stderr
- 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