Build:
- 0
2026-07-26 12:40.43: New job: build torch.0.13 (e3f4eae2af51)
2026-07-26 12:40.43: Waiting for resource in pool day11-builds
2026-07-26 13:33.58: Got resource from pool day11-builds
2026-07-26 13:33.58: [profile full] build torch.0.13
2026-07-26 13:33.58: build torch.0.13 (e3f4eae2af51)
=== DEPENDENCIES (47 transitive) ===
base.v0.16.5 26a2f2e8d04c
base-threads.base afe16a8e71c3
base-unix.base 73c0a5fdd34a
camlzip.1.14 ed17d43a9dc4
cmdliner.2.1.1 b8b693aa0ae6
conf-libffi.2.0.0 59537f7edda9
conf-pkg-config.5 2c611009363a
conf-zlib.1 9b96a8154eb2
csexp.1.5.2 0ca1baf201f7
ctypes.0.24.0 01281ab1d42f
ctypes-foreign.0.24.0 14e30fd67b45
dune.3.24.1 2ab3cd6b5374
dune-configurator.3.24.1 989431d87548
integers.0.8.0 2be2a987bb2e
jane-street-headers.v0.16.0 858c2bb24dfc
jst-config.v0.16.0 350fe4a7123f
libtorch.1.9.0+linux-x86_64 cf22fce44ef1
npy.0.0.9 d7ba58fe9d04
num.1.6 7b85f4c9b895
ocaml.5.3.0 b03c83883650
ocaml-base-compiler.5.3.0 eeaecf50e77a
ocaml-compiler.5.3.0 4d6cfa10fb02
ocaml-compiler-libs.v0.17.0 5956d384e8c7
ocaml-config.3 021689f4187e
ocamlfind.1.9.8 14b02964ea68
parsexp.v0.16.0 b0a541a6b0f8
ppx_assert.v0.16.0 266e4c8b14da
ppx_base.v0.16.0 1cb597fda5be
ppx_cold.v0.16.0 c9e5fd46dffc
ppx_compare.v0.16.0 92d74cb06a16
ppx_custom_printf.v0.16.0 53bfd86c2dc3
ppx_derivers.1.2.1 8cf1aacb7e87
ppx_enumerate.v0.16.0 057978a4c39f
ppx_expect.v0.16.2 8e703c36003b
ppx_globalize.v0.16.0 ddcbf082fb8d
ppx_hash.v0.16.0 7a0626e686ae
ppx_here.v0.16.0 ee8fdb24dad8
ppx_inline_test.v0.16.1 37cb8dc01946
ppx_optcomp.v0.16.0 cdc174bc3aa3
ppx_sexp_conv.v0.16.0 11032ad2d5d6
ppxlib.0.35.0 bad0edbd8aea
re.1.14.0 9c9f66c73b8b
sexplib.v0.16.0 a21f4f16a78a
sexplib0.v0.16.0 132cca44d63c
stdio.v0.16.0 fdda49d16a76
stdlib-shims.0.3.0 31897655d25b
time_now.v0.16.0 f41ea8b381ba
=== STDOUT ===
Processing: [default: loading data]
[torch.0.13: dl]
[torch.0.13: extract]
-> retrieved torch.0.13 (https://opam.ocaml.org/cache)
[torch: dune build]
+ /home/opam/.opam/default/bin/dune "build" "-p" "torch" "-j" "39" (CWD=/home/opam/.opam/default/.opam-switch/build/torch.0.13)
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/config/.discover.eobjs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/csexp -I /home/opam/.opam/default/lib/dune-configurator -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -no-alias-deps -o src/config/.discover.eobjs/byte/discover.cmo -c -impl src/config/discover.ml)
- File "src/config/discover.ml", line 11, characters 13-33:
- 11 | let ( /^ ) = Caml.Filename.concat
- ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/config/discover.ml", line 12, characters 18-38:
- 12 | let file_exists = Caml.Sys.file_exists
- ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/config/discover.ml", line 46, characters 38-59:
- 46 | if file_exists libdir && Caml.Sys.is_directory libdir
- ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/config/discover.ml", line 38, characters 4-20:
- 38 | Caml.Sys.readdir conda_prefix
- ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/config/discover.ml", line 55, characters 8-27:
- 55 | match Caml.Sys.getenv_opt "LIBTORCH" with
- ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/config/discover.ml", line 59, characters 19-38:
- 59 | Option.bind (Caml.Sys.getenv_opt "CONDA_PREFIX") ~f:(fun conda_prefix ->
- ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/config/discover.ml", line 65, characters 13-32:
- 65 | (match Caml.Sys.getenv_opt "OPAM_SWITCH_PREFIX" with
- ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/config/discover.ml", line 75, characters 28-49:
- 75 | if file_exists cudadir && Caml.Sys.is_directory cudadir
- ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/config/discover.ml", line 104, characters 11-30:
- 104 | (Caml.Sys.getenv_opt "CONDA_PREFIX")
- ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/config/discover.ml", line 110, characters 16-35:
- 110 | match Caml.Sys.getenv_opt "LIBTORCH_CXX11_ABI" with
- ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/config/discover.ml", line 120, characters 11-21:
- 120 | if Caml.( = ) cuda_flags empty_flags
- ^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/config/.discover.eobjs/byte -I src/config/.discover.eobjs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/csexp -I /home/opam/.opam/default/lib/dune-configurator -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -cmi-file src/config/.discover.eobjs/byte/discover.cmi -no-alias-deps -o src/config/.discover.eobjs/native/discover.cmx -c -impl src/config/discover.ml)
- File "src/config/discover.ml", line 11, characters 13-33:
- 11 | let ( /^ ) = Caml.Filename.concat
- ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/config/discover.ml", line 12, characters 18-38:
- 12 | let file_exists = Caml.Sys.file_exists
- ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/config/discover.ml", line 46, characters 38-59:
- 46 | if file_exists libdir && Caml.Sys.is_directory libdir
- ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/config/discover.ml", line 38, characters 4-20:
- 38 | Caml.Sys.readdir conda_prefix
- ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/config/discover.ml", line 55, characters 8-27:
- 55 | match Caml.Sys.getenv_opt "LIBTORCH" with
- ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/config/discover.ml", line 59, characters 19-38:
- 59 | Option.bind (Caml.Sys.getenv_opt "CONDA_PREFIX") ~f:(fun conda_prefix ->
- ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/config/discover.ml", line 65, characters 13-32:
- 65 | (match Caml.Sys.getenv_opt "OPAM_SWITCH_PREFIX" with
- ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/config/discover.ml", line 75, characters 28-49:
- 75 | if file_exists cudadir && Caml.Sys.is_directory cudadir
- ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/config/discover.ml", line 104, characters 11-30:
- 104 | (Caml.Sys.getenv_opt "CONDA_PREFIX")
- ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/config/discover.ml", line 110, characters 16-35:
- 110 | match Caml.Sys.getenv_opt "LIBTORCH_CXX11_ABI" with
- ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/config/discover.ml", line 120, characters 11-21:
- 120 | if Caml.( = ) cuda_flags empty_flags
- ^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/wrapper/dune", line 5, characters 13-22:
- 5 | (cxx_names torch_api)
- ^^^^^^^^^
- (cd _build/default/src/wrapper && /usr/bin/gcc -std=c++14 -fPIC -D_GLIBCXX_USE_CXX11_ABI=1 -isystem /home/opam/.opam/default/lib/libtorch/include -isystem /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/stdlib-shims -o torch_api.o -c torch_api.cpp)
- In file included from /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:6,
- from /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:5,
- from /home/opam/.opam/default/lib/libtorch/include/ATen/core/TensorBody.h:3,
- from /home/opam/.opam/default/lib/libtorch/include/ATen/Tensor.h:3,
- from /home/opam/.opam/default/lib/libtorch/include/torch/csrc/autograd/engine.h:6,
- from torch_api.cpp:1:
- /home/opam/.opam/default/lib/libtorch/include/c10/util/StringUtil.h:127:3: error: 'uint32_t' does not name a type
- 127 | uint32_t line;
- | ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/StringUtil.h:12:1: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
- 11 | #include <vector>
- +++ |+#include <cstdint>
- 12 |
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:65:13: error: 'uint32_t' does not name a type
- 65 | const uint32_t line,
- | ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:7:1: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
- 6 | #include <c10/util/StringUtil.h>
- +++ |+#include <cstdint>
- 7 |
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:382:5: error: 'uint32_t' has not been declared
- 382 | uint32_t line,
- | ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:387:5: error: 'uint32_t' has not been declared
- 387 | uint32_t line,
- | ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:398:5: error: 'uint32_t' has not been declared
- 398 | uint32_t line,
- | ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:404:5: error: 'uint32_t' has not been declared
- 404 | uint32_t line,
- | ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:412:5: error: 'uint32_t' has not been declared
- 412 | uint32_t line,
- | ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h: In member function 'void c10::Device::validate()':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:110:5: error: 'uint32_t' does not name a type
- 110 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:6:1: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
- 5 | #include <c10/util/Exception.h>
- +++ |+#include <cstdint>
- 6 |
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:114:5: error: 'uint32_t' does not name a type
- 114 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:114:5: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h: In member function 'std::size_t std::hash<c10::Device>::operator()(c10::Device) const':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:143:5: error: 'uint32_t' was not declared in this scope
- 143 | uint32_t bits = static_cast<uint32_t>(static_cast<uint8_t>(d.type()))
- | ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:143:5: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:146:34: error: 'bits' was not declared in this scope
- 146 | return std::hash<uint32_t>{}(bits);
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/TensorOptions.h: In function 'c10::DispatchKey c10::computeDispatchKey(optional<ScalarType>, optional<Layout>, optional<Device>)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/TensorOptions.h:679:11: error: no matching function for call to 'c10::NotImplementedError::NotImplementedError(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 679 | TORCH_CHECK_NOT_IMPLEMENTED(
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: inherited here
- 193 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
- 63 | Error(
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: inherited here
- 193 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: inherited here
- 193 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:21: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: inherited here
- 193 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: inherited here
- 193 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:192:15: note: candidate: 'c10::NotImplementedError::NotImplementedError(const c10::NotImplementedError&)'
- 192 | class C10_API NotImplementedError : public Error {
- | ^~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:192:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:192:15: note: candidate: 'c10::NotImplementedError::NotImplementedError(c10::NotImplementedError&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:192:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/TensorOptions.h:696:11: error: no matching function for call to 'c10::NotImplementedError::NotImplementedError(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 696 | TORCH_CHECK_NOT_IMPLEMENTED(
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: inherited here
- 193 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
- 63 | Error(
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: inherited here
- 193 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: inherited here
- 193 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:21: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: inherited here
- 193 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: inherited here
- 193 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:192:15: note: candidate: 'c10::NotImplementedError::NotImplementedError(const c10::NotImplementedError&)'
- 192 | class C10_API NotImplementedError : public Error {
- | ^~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:192:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:192:15: note: candidate: 'c10::NotImplementedError::NotImplementedError(c10::NotImplementedError&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:192:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/TensorOptions.h:706:11: error: no matching function for call to 'c10::NotImplementedError::NotImplementedError(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 706 | TORCH_CHECK_NOT_IMPLEMENTED(
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: inherited here
- 193 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
- 63 | Error(
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: inherited here
- 193 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: inherited here
- 193 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:21: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: inherited here
- 193 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: inherited here
- 193 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:193:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:192:15: note: candidate: 'c10::NotImplementedError::NotImplementedError(const c10::NotImplementedError&)'
- 192 | class C10_API NotImplementedError : public Error {
- | ^~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:192:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:192:15: note: candidate: 'c10::NotImplementedError::NotImplementedError(c10::NotImplementedError&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:192:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/TensorImpl.h: In member function 'void c10::TensorImpl::set_named_tensor_meta(std::unique_ptr<c10::NamedTensorMetaInterface>)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/TensorImpl.h:1153:5: error: no matching function for call to 'warn(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>, bool)'
- 1153 | TORCH_WARN_ONCE(
- | ^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:142:14: note: candidate: 'void c10::Warning::warn(const c10::SourceLocation&, const std::string&, bool)'
- 142 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:143:27: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const c10::SourceLocation&'
- 143 | const SourceLocation& source_location,
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:146:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, const char*, bool)'
- 146 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:147:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 147 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:150:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)'
- 150 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:151:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 151 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/TensorImpl.h: In lambda function:
- /home/opam/.opam/default/lib/libtorch/include/c10/core/TensorImpl.h:1153:5: error: no matching function for call to 'warn(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>, bool)'
- 1153 | TORCH_WARN_ONCE(
- | ^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:142:14: note: candidate: 'void c10::Warning::warn(const c10::SourceLocation&, const std::string&, bool)'
- 142 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:143:27: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const c10::SourceLocation&'
- 143 | const SourceLocation& source_location,
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:146:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, const char*, bool)'
- 146 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:147:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 147 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:150:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)'
- 150 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:151:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 151 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/WrapDimMinimal.h: In function 'int64_t c10::maybe_wrap_dim(int64_t, int64_t, bool)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/WrapDimMinimal.h:13:7: error: no matching function for call to 'c10::IndexError::IndexError(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 13 | TORCH_CHECK_INDEX(
- | ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
- 63 | Error(
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:21: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate: 'c10::IndexError::IndexError(const c10::IndexError&)'
- 174 | class C10_API IndexError : public Error {
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate: 'c10::IndexError::IndexError(c10::IndexError&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/WrapDimMinimal.h:25:5: error: no matching function for call to 'c10::IndexError::IndexError(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 25 | TORCH_CHECK_INDEX(
- | ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
- 63 | Error(
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:21: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate: 'c10::IndexError::IndexError(const c10::IndexError&)'
- 174 | class C10_API IndexError : public Error {
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate: 'c10::IndexError::IndexError(c10::IndexError&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/Generator.h: In function 'void at::detail::check_rng_state(const c10::TensorImpl&)':
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/Generator.h:151:3: error: no matching function for call to 'c10::TypeError::TypeError(<brace-enclosed initializer list>, const char*)'
- 151 | TORCH_CHECK_TYPE(
- | ^~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:187:16: note: inherited here
- 187 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
- 63 | Error(
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:187:16: note: inherited here
- 187 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:187:16: note: candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:187:16: note: inherited here
- 187 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:21: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:187:16: note: inherited here
- 187 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:187:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:187:16: note: inherited here
- 187 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:187:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:186:15: note: candidate: 'c10::TypeError::TypeError(const c10::TypeError&)'
- 186 | class C10_API TypeError : public Error {
- | ^~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:186:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:186:15: note: candidate: 'c10::TypeError::TypeError(c10::TypeError&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:186:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h: In static member function 'static std::vector<c10::Device> c10::ivalue::Future::getDevicesOfDataPtrs(const c10::impl::VirtualGuardImpl&, const std::vector<std::reference_wrapper<const c10::DataPtr> >&)':
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:634:9: error: no matching function for call to 'c10::ValueError::ValueError(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 634 | TORCH_CHECK_VALUE(
- | ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
- 63 | Error(
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:21: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:180:15: note: candidate: 'c10::ValueError::ValueError(const c10::ValueError&)'
- 180 | class C10_API ValueError : public Error {
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:180:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:180:15: note: candidate: 'c10::ValueError::ValueError(c10::ValueError&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:180:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h: In static member function 'static c10::DeviceType c10::ivalue::Future::getTypeOfDevices(const std::vector<c10::Device>&)':
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:677:7: error: no matching function for call to 'c10::ValueError::ValueError(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 677 | TORCH_CHECK_VALUE(
- | ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
- 63 | Error(
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:21: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:180:15: note: candidate: 'c10::ValueError::ValueError(const c10::ValueError&)'
- 180 | class C10_API ValueError : public Error {
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:180:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:180:15: note: candidate: 'c10::ValueError::ValueError(c10::ValueError&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:180:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h: In static member function 'static std::vector<c10::Device> c10::ivalue::Future::sortAndDeduplicateDevices(const c10::impl::VirtualGuardImpl&, std::vector<c10::Device>)':
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:697:7: error: no matching function for call to 'c10::ValueError::ValueError(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 697 | TORCH_CHECK_VALUE(
- | ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
- 63 | Error(
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:21: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:180:15: note: candidate: 'c10::ValueError::ValueError(const c10::ValueError&)'
- 180 | class C10_API ValueError : public Error {
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:180:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:180:15: note: candidate: 'c10::ValueError::ValueError(c10::ValueError&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:180:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h: In static member function 'static void c10::ivalue::Future::ensureIsSubsetOfDevices(const std::vector<c10::Device>&, const std::vector<c10::Device>&)':
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:730:5: error: no matching function for call to 'c10::ValueError::ValueError(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 730 | TORCH_CHECK_VALUE(
- | ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
- 63 | Error(
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:21: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:180:15: note: candidate: 'c10::ValueError::ValueError(const c10::ValueError&)'
- 180 | class C10_API ValueError : public Error {
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:180:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:180:15: note: candidate: 'c10::ValueError::ValueError(c10::ValueError&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:180:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/LegacyTypeDispatch.h: In constructor 'at::AutoNonVariableTypeMode::AutoNonVariableTypeMode(bool)':
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/LegacyTypeDispatch.h:74:5: error: no matching function for call to 'warn(<brace-enclosed initializer list>, const char*, bool)'
- 74 | TORCH_WARN_ONCE("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. "
- | ^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:142:14: note: candidate: 'void c10::Warning::warn(const c10::SourceLocation&, const std::string&, bool)'
- 142 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:143:27: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const c10::SourceLocation&'
- 143 | const SourceLocation& source_location,
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:146:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, const char*, bool)'
- 146 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:147:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 147 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:150:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)'
- 150 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:151:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 151 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/LegacyTypeDispatch.h: In lambda function:
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/LegacyTypeDispatch.h:74:5: error: no matching function for call to 'warn(<brace-enclosed initializer list>, const char*, bool)'
- 74 | TORCH_WARN_ONCE("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. "
- | ^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:142:14: note: candidate: 'void c10::Warning::warn(const c10::SourceLocation&, const std::string&, bool)'
- ...TRUNCATED BY DUNE...
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate: 'c10::IndexError::IndexError(const c10::IndexError&)'
- 174 | class C10_API IndexError : public Error {
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate: 'c10::IndexError::IndexError(c10::IndexError&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/ATen/TensorIndexing.h: In function 'at::Tensor at::indexing::impl::applySlicing(const at::Tensor&, const c10::ArrayRef<at::indexing::TensorIndex>&, std::vector<at::Tensor>&, bool, const c10::Device&, const c10::IntArrayRef&)':
- /home/opam/.opam/default/lib/libtorch/include/ATen/TensorIndexing.h:439:3: error: no matching function for call to 'c10::IndexError::IndexError(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 439 | TORCH_CHECK_INDEX(
- | ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
- 63 | Error(
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:21: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate: 'c10::IndexError::IndexError(const c10::IndexError&)'
- 174 | class C10_API IndexError : public Error {
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate: 'c10::IndexError::IndexError(c10::IndexError&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/ATen/TensorOperators.h: In member function 'at::Tensor at::Tensor::operator[](c10::Scalar) const':
- /home/opam/.opam/default/lib/libtorch/include/ATen/TensorOperators.h:61:5: error: no matching function for call to 'c10::IndexError::IndexError(<brace-enclosed initializer list>, const char*)'
- 61 | TORCH_CHECK_INDEX(false, "Can only index tensors with integral scalars");
- | ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
- 63 | Error(
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:21: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate: 'c10::IndexError::IndexError(const c10::IndexError&)'
- 174 | class C10_API IndexError : public Error {
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate: 'c10::IndexError::IndexError(c10::IndexError&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/ATen/TensorOperators.h: In member function 'at::Tensor at::Tensor::operator[](at::Tensor) const':
- /home/opam/.opam/default/lib/libtorch/include/ATen/TensorOperators.h:69:5: error: no matching function for call to 'c10::IndexError::IndexError(<brace-enclosed initializer list>, const char*)'
- 69 | TORCH_CHECK_INDEX(false, "Can only index with tensors that are defined");
- | ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
- 63 | Error(
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:21: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate: 'c10::IndexError::IndexError(const c10::IndexError&)'
- 174 | class C10_API IndexError : public Error {
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate: 'c10::IndexError::IndexError(c10::IndexError&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/ATen/TensorOperators.h:72:5: error: no matching function for call to 'c10::IndexError::IndexError(<brace-enclosed initializer list>, const char*)'
- 72 | TORCH_CHECK_INDEX(false,
- | ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
- 63 | Error(
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:21: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: inherited here
- 175 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:175:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate: 'c10::IndexError::IndexError(const c10::IndexError&)'
- 174 | class C10_API IndexError : public Error {
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate: 'c10::IndexError::IndexError(c10::IndexError&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:174:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/jit/api/function_impl.h: In member function 'bool torch::jit::GraphFunction::is_optimized() const':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/jit/api/function_impl.h:93:5: error: no matching function for call to 'warn(<brace-enclosed initializer list>, const char*, bool)'
- 93 | TORCH_WARN(
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:142:14: note: candidate: 'void c10::Warning::warn(const c10::SourceLocation&, const std::string&, bool)'
- 142 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:143:27: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const c10::SourceLocation&'
- 143 | const SourceLocation& source_location,
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:146:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, const char*, bool)'
- 146 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:147:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 147 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:150:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)'
- 150 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:151:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 151 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/jit/api/compilation_unit.h: In member function 'void torch::jit::CompilationUnit::set_optimized(bool)':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/jit/api/compilation_unit.h:76:5: error: no matching function for call to 'warn(<brace-enclosed initializer list>, const char*, bool)'
- 76 | TORCH_WARN(
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:142:14: note: candidate: 'void c10::Warning::warn(const c10::SourceLocation&, const std::string&, bool)'
- 142 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:143:27: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const c10::SourceLocation&'
- 143 | const SourceLocation& source_location,
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:146:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, const char*, bool)'
- 146 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:147:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 147 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:150:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)'
- 150 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:151:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 151 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/jit/api/compilation_unit.h: In member function 'bool torch::jit::CompilationUnit::is_optimized() const':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/jit/api/compilation_unit.h:82:5: error: no matching function for call to 'warn(<brace-enclosed initializer list>, const char*, bool)'
- 82 | TORCH_WARN(
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:142:14: note: candidate: 'void c10::Warning::warn(const c10::SourceLocation&, const std::string&, bool)'
- 142 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:143:27: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const c10::SourceLocation&'
- 143 | const SourceLocation& source_location,
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:146:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, const char*, bool)'
- 146 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:147:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 147 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:150:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)'
- 150 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:151:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 151 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/jit/api/module.h: In member function 'void torch::jit::Module::set_optimized(bool)':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/jit/api/module.h:101:5: error: no matching function for call to 'warn(<brace-enclosed initializer list>, const char*, bool)'
- 101 | TORCH_WARN(
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:142:14: note: candidate: 'void c10::Warning::warn(const c10::SourceLocation&, const std::string&, bool)'
- 142 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:143:27: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const c10::SourceLocation&'
- 143 | const SourceLocation& source_location,
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:146:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, const char*, bool)'
- 146 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:147:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 147 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:150:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)'
- 150 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:151:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 151 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/jit/api/module.h: In member function 'bool torch::jit::Module::is_optimized() const':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/jit/api/module.h:107:5: error: no matching function for call to 'warn(<brace-enclosed initializer list>, const char*, bool)'
- 107 | TORCH_WARN(
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:142:14: note: candidate: 'void c10::Warning::warn(const c10::SourceLocation&, const std::string&, bool)'
- 142 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:143:27: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const c10::SourceLocation&'
- 143 | const SourceLocation& source_location,
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:146:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, const char*, bool)'
- 146 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:147:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 147 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:150:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)'
- 150 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:151:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 151 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/functional/loss.h: In function 'at::Tensor torch::nn::functional::detail::kl_div(const at::Tensor&, const at::Tensor&, torch::nn::KLDivLossOptions::reduction_t, bool)':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/functional/loss.h:56:5: error: no matching function for call to 'warn(<brace-enclosed initializer list>, const char*, bool)'
- 56 | TORCH_WARN("reduction: 'mean' divides the total loss by both the batch size and the support size."
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:142:14: note: candidate: 'void c10::Warning::warn(const c10::SourceLocation&, const std::string&, bool)'
- 142 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:143:27: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const c10::SourceLocation&'
- 143 | const SourceLocation& source_location,
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:146:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, const char*, bool)'
- 146 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:147:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 147 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:150:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)'
- 150 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:151:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 151 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/functional/loss.h: In function 'at::Tensor torch::nn::functional::detail::mse_loss(const at::Tensor&, const at::Tensor&, torch::nn::MSELossOptions::reduction_t)':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/functional/loss.h:106:5: error: no matching function for call to 'warn(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>, bool)'
- 106 | TORCH_WARN("Using a target size (", target.sizes(),
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:142:14: note: candidate: 'void c10::Warning::warn(const c10::SourceLocation&, const std::string&, bool)'
- 142 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:143:27: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const c10::SourceLocation&'
- 143 | const SourceLocation& source_location,
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:146:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, const char*, bool)'
- 146 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:147:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 147 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:150:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)'
- 150 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:151:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 151 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/functional/loss.h: In function 'at::Tensor torch::nn::functional::detail::smooth_l1_loss(const at::Tensor&, const at::Tensor&, torch::nn::SmoothL1LossOptions::reduction_t, double)':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/functional/loss.h:324:5: error: no matching function for call to 'warn(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>, bool)'
- 324 | TORCH_WARN("Using a target size (", target.sizes(), ") that is different to the input size (", input.sizes(), "). ",
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:142:14: note: candidate: 'void c10::Warning::warn(const c10::SourceLocation&, const std::string&, bool)'
- 142 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:143:27: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const c10::SourceLocation&'
- 143 | const SourceLocation& source_location,
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:146:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, const char*, bool)'
- 146 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:147:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 147 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:150:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)'
- 150 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:151:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 151 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/functional/loss.h: In function 'at::Tensor torch::nn::functional::detail::huber_loss(const at::Tensor&, const at::Tensor&, torch::nn::HuberLossOptions::reduction_t, double)':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/functional/loss.h:364:5: error: no matching function for call to 'warn(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>, bool)'
- 364 | TORCH_WARN("Using a target size (", target.sizes(), ") that is different to the input size (", input.sizes(), "). ",
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:142:14: note: candidate: 'void c10::Warning::warn(const c10::SourceLocation&, const std::string&, bool)'
- 142 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:143:27: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const c10::SourceLocation&'
- 143 | const SourceLocation& source_location,
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:146:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, const char*, bool)'
- 146 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:147:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 147 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:150:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)'
- 150 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:151:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 151 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/functional/upsampling.h: In function 'std::vector<long int> torch::nn::functional::_interp_output_size(int64_t, std::tuple<at::Tensor, c10::optional<std::vector<long int, std::allocator<long int> > >, c10::optional<std::vector<double, std::allocator<double> > >, c10::optional<bool> >)':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/functional/upsampling.h:56:7: error: no matching function for call to 'warn(<brace-enclosed initializer list>, const char*, bool)'
- 56 | TORCH_WARN("The default behavior for interpolate/upsample with float scale_factor changed "
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:142:14: note: candidate: 'void c10::Warning::warn(const c10::SourceLocation&, const std::string&, bool)'
- 142 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:143:27: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const c10::SourceLocation&'
- 143 | const SourceLocation& source_location,
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:146:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, const char*, bool)'
- 146 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:147:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 147 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:150:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)'
- 150 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:151:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 151 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/functional/upsampling.h: In function 'at::Tensor torch::nn::functional::detail::interpolate(const at::Tensor&, const c10::optional<std::vector<long int> >&, const c10::optional<std::vector<double> >&, torch::nn::functional::InterpolateFuncOptions::mode_t, c10::optional<bool>, c10::optional<bool>)':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/functional/upsampling.h:90:7: error: no matching function for call to 'warn(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>, bool)'
- 90 | TORCH_WARN(
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:142:14: note: candidate: 'void c10::Warning::warn(const c10::SourceLocation&, const std::string&, bool)'
- 142 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:143:27: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const c10::SourceLocation&'
- 143 | const SourceLocation& source_location,
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:146:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, const char*, bool)'
- 146 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:147:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 147 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:150:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)'
- 150 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:151:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 151 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/functional/vision.h: In function 'at::Tensor torch::nn::functional::detail::grid_sample(const at::Tensor&, const at::Tensor&, torch::nn::functional::GridSampleFuncOptions::mode_t, torch::nn::functional::GridSampleFuncOptions::padding_mode_t, c10::optional<bool>)':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/functional/vision.h:80:5: error: no matching function for call to 'warn(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>, bool)'
- 80 | TORCH_WARN("Default grid_sample and affine_grid behavior has changed ",
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:142:14: note: candidate: 'void c10::Warning::warn(const c10::SourceLocation&, const std::string&, bool)'
- 142 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:143:27: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const c10::SourceLocation&'
- 143 | const SourceLocation& source_location,
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:146:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, const char*, bool)'
- 146 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:147:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 147 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:150:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)'
- 150 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:151:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 151 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/utils/clip_grad.h: In function 'double torch::nn::utils::clip_grad_norm_(std::vector<at::Tensor>, double, double, bool)':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/utils/clip_grad.h:50:5: error: no matching function for call to 'warn(<brace-enclosed initializer list>, const char*, bool)'
- 50 | TORCH_WARN_ONCE("Non-finite norm encountered in torch.nn.utils.clip_grad_norm_; continuing anyway. "
- | ^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:142:14: note: candidate: 'void c10::Warning::warn(const c10::SourceLocation&, const std::string&, bool)'
- 142 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:143:27: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const c10::SourceLocation&'
- 143 | const SourceLocation& source_location,
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:146:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, const char*, bool)'
- 146 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:147:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 147 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:150:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)'
- 150 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:151:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 151 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/utils/clip_grad.h: In lambda function:
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/utils/clip_grad.h:50:5: error: no matching function for call to 'warn(<brace-enclosed initializer list>, const char*, bool)'
- 50 | TORCH_WARN_ONCE("Non-finite norm encountered in torch.nn.utils.clip_grad_norm_; continuing anyway. "
- | ^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:142:14: note: candidate: 'void c10::Warning::warn(const c10::SourceLocation&, const std::string&, bool)'
- 142 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:143:27: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const c10::SourceLocation&'
- 143 | const SourceLocation& source_location,
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:146:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, const char*, bool)'
- 146 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:147:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 147 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:150:14: note: candidate: 'void c10::Warning::warn(c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)'
- 150 | C10_API void warn(
- | ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:151:20: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 151 | SourceLocation source_location,
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/impl/InlineStreamGuard.h: In instantiation of 'static c10::DeviceType c10::impl::InlineMultiStreamGuard<T>::getDeviceTypeOfStreams(c10::ArrayRef<c10::Stream>) [with T = c10::impl::VirtualGuardImpl]':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/impl/InlineStreamGuard.h:207:43: required from 'c10::impl::InlineMultiStreamGuard<T>::InlineMultiStreamGuard(c10::ArrayRef<c10::Stream>) [with T = c10::impl::VirtualGuardImpl]'
- 207 | impl_.emplace(getDeviceTypeOfStreams(streams));
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/StreamGuard.h:149:57: required from here
- 149 | explicit MultiStreamGuard(ArrayRef<Stream> streams) : guard_(streams) {}
- | ^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/impl/InlineStreamGuard.h:241:7: error: no matching function for call to 'c10::ValueError::ValueError(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 241 | TORCH_CHECK_VALUE(
- | ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 60 | Error(SourceLocation source_location, std::string msg);
- | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
- 63 | Error(
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:21: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
- 72 | Error(std::string msg, std::string backtrace, const void* caller = nullptr);
- | ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- 28 | class C10_API Error : public std::exception {
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: inherited here
- 181 | using Error::Error;
- | ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:181:16: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:180:15: note: candidate: 'c10::ValueError::ValueError(const c10::ValueError&)'
- 180 | class C10_API ValueError : public Error {
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:180:15: note: candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:180:15: note: candidate: 'c10::ValueError::ValueError(c10::ValueError&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:180:15: note: candidate expects 1 argument, 2 provided
- File "src/wrapper/dune", line 4, characters 11-22:
- 4 | (c_names torch_stubs)
- ^^^^^^^^^^^
- (cd _build/default/src/wrapper && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/stdlib-shims -o torch_stubs.o -c torch_stubs.c)
- torch_stubs.c: In function 'caml__33_at_save':
- torch_stubs.c:248:18: warning: passing argument 2 of 'at_save' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 248 | at_save(x234, x235);
- | ^~~~
- In file included from torch_stubs.c:1:
- torch_api.h:64:28: note: expected 'char *' but argument is of type 'const char *'
- 64 | void at_save(tensor, char *filename);
- | ~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__34_at_load':
- torch_stubs.c:254:25: warning: passing argument 1 of 'at_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 254 | void* x239 = at_load(x238);
- | ^~~~
- torch_api.h:65:22: note: expected 'char *' but argument is of type 'const char *'
- 65 | tensor at_load(char *filename);
- | ~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__35_at_save_multi':
- torch_stubs.c:263:36: warning: passing argument 4 of 'at_save_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 263 | at_save_multi(x244, x245, x246, x249);
- | ^~~~
- torch_api.h:70:78: note: expected 'char *' but argument is of type 'const char *'
- 70 | void at_save_multi(tensor *tensors, char **tensor_names, int ntensors, char *filename);
- | ~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__36_at_load_multi':
- torch_stubs.c:272:36: warning: passing argument 4 of 'at_load_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 272 | at_load_multi(x255, x256, x257, x260);
- | ^~~~
- torch_api.h:72:78: note: expected 'char *' but argument is of type 'const char *'
- 72 | void at_load_multi(tensor *tensors, char **tensor_names, int ntensors, char *filename);
- | ~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__37_at_load_multi_':
- torch_stubs.c:281:37: warning: passing argument 4 of 'at_load_multi_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 281 | at_load_multi_(x266, x267, x268, x271);
- | ^~~~
- torch_api.h:74:79: note: expected 'char *' but argument is of type 'const char *'
- 74 | void at_load_multi_(tensor *tensors, char **tensor_names, int ntensors, char *filename);
- | ~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__38_at_load_callback':
- torch_stubs.c:288:21: warning: passing argument 1 of 'at_load_callback' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 288 | at_load_callback(x275, x276);
- | ^~~~
- torch_api.h:76:29: note: expected 'char *' but argument is of type 'const char *'
- 76 | void at_load_callback(char *filename, void (*f)(char *, tensor));
- | ~~~~~~^~~~~~~~
- torch_stubs.c:288:27: error: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types]
- 288 | at_load_callback(x275, x276);
- | ^~~~
- | |
- | void (*)(const char *, void *)
- torch_api.h:76:46: note: expected 'void (*)(char *, void *)' but argument is of type 'void (*)(const char *, void *)'
- 76 | void at_load_callback(char *filename, void (*f)(char *, tensor));
- | ~~~~~~~^~~~~~~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__65_ati_string':
- torch_stubs.c:483:28: warning: passing argument 1 of 'ati_string' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 483 | void* x450 = ati_string(x449);
- | ^~~~
- torch_api.h:133:19: note: expected 'char *' but argument is of type 'const char *'
- 133 | ivalue ati_string(char *);
- | ^~~~~~
- torch_stubs.c: In function 'caml__68_atm_load':
- torch_stubs.c:501:26: warning: passing argument 1 of 'atm_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 501 | void* x459 = atm_load(x458);
- | ^~~~
- torch_api.h:120:17: note: expected 'char *' but argument is of type 'const char *'
- 120 | module atm_load(char *);
- | ^~~~~~
- torch_stubs.c: In function 'caml__125_atg__convolution_mode':
- torch_stubs.c:1118:68: warning: passing argument 7 of 'atg__convolution_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 1118 | atg__convolution_mode(x1094, x1095, x1096, x1097, x1098, x1099, x1102,
- | ^~~~~
- In file included from torch_api.h:162:
- torch_api_generated.h:56:125: note: expected 'char *' but argument is of type 'const char *'
- 56 | void atg__convolution_mode(tensor *, tensor input, tensor weight, tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups);
- | ~~~~~~~^~~~~~~
- torch_stubs.c: In function 'caml__169_atg__linalg_qr_helper':
- torch_stubs.c:2259:40: warning: passing argument 3 of 'atg__linalg_qr_helper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 2259 | atg__linalg_qr_helper(x2274, x2275, x2276);
- | ^~~~~
- torch_api_generated.h:100:58: note: expected 'char *' but argument is of type 'const char *'
- 100 | void atg__linalg_qr_helper(tensor *, tensor self, char * mode);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__231_atg__test_ambiguous_defaults_b':
- torch_stubs.c:3126:56: warning: passing argument 4 of 'atg__test_ambiguous_defaults_b' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 3126 | atg__test_ambiguous_defaults_b(x3140, x3141, x3142, x3145);
- | ^~~~~
- torch_api_generated.h:162:79: note: expected 'char *' but argument is of type 'const char *'
- 162 | void atg__test_ambiguous_defaults_b(tensor *, tensor dummy, int64_t a, char * b);
- | ~~~~~~~^
- torch_stubs.c: In function 'caml__235_atg__test_string_default':
- torch_stubs.c:3165:43: warning: passing argument 3 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 3165 | atg__test_string_default(x3180, x3181, x3182, x3183);
- | ^~~~~
- torch_api_generated.h:166:62: note: expected 'char *' but argument is of type 'const char *'
- 166 | void atg__test_string_default(tensor *, tensor dummy, char * a, char * b);
- | ~~~~~~~^
- torch_stubs.c:3165:50: warning: passing argument 4 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 3165 | atg__test_string_default(x3180, x3181, x3182, x3183);
- | ^~~~~
- torch_api_generated.h:166:72: note: expected 'char *' but argument is of type 'const char *'
- 166 | void atg__test_string_default(tensor *, tensor dummy, char * a, char * b);
- | ~~~~~~~^
- torch_stubs.c: In function 'caml__502_atg_conv1d_padding':
- torch_stubs.c:6620:65: warning: passing argument 7 of 'atg_conv1d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 6620 | atg_conv1d_padding(x6553, x6554, x6555, x6556, x6557, x6558, x6561,
- | ^~~~~
- torch_api_generated.h:433:122: note: expected 'char *' but argument is of type 'const char *'
- 433 | void atg_conv1d_padding(tensor *, tensor input, tensor weight, tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups);
- | ~~~~~~~^~~~~~~
- torch_stubs.c: In function 'caml__504_atg_conv2d_padding':
- torch_stubs.c:6692:65: warning: passing argument 7 of 'atg_conv2d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 6692 | atg_conv2d_padding(x6632, x6633, x6634, x6635, x6636, x6637, x6640,
- | ^~~~~
- torch_api_generated.h:435:122: note: expected 'char *' but argument is of type 'const char *'
- 435 | void atg_conv2d_padding(tensor *, tensor input, tensor weight, tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups);
- | ~~~~~~~^~~~~~~
- torch_stubs.c: In function 'caml__506_atg_conv3d_padding':
- torch_stubs.c:6764:65: warning: passing argument 7 of 'atg_conv3d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 6764 | atg_conv3d_padding(x6711, x6712, x6713, x6714, x6715, x6716, x6719,
- | ^~~~~
- torch_api_generated.h:437:122: note: expected 'char *' but argument is of type 'const char *'
- 437 | void atg_conv3d_padding(tensor *, tensor input, tensor weight, tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups);
- | ~~~~~~~^~~~~~~
- torch_stubs.c: In function 'caml__592_atg_div_out_mode':
- torch_stubs.c:8582:49: warning: passing argument 5 of 'atg_div_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 8582 | atg_div_out_mode(x8595, x8596, x8597, x8598, x8599);
- | ^~~~~
- torch_api_generated.h:523:79: note: expected 'char *' but argument is of type 'const char *'
- 523 | void atg_div_out_mode(tensor *, tensor out, tensor self, tensor other, char * rounding_mode);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__595_atg_div_scalar_mode':
- torch_stubs.c:8608:45: warning: passing argument 4 of 'atg_div_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 8608 | atg_div_scalar_mode(x8619, x8620, x8621, x8622);
- | ^~~~~
- torch_api_generated.h:526:70: note: expected 'char *' but argument is of type 'const char *'
- 526 | void atg_div_scalar_mode(tensor *, tensor self, scalar other, char * rounding_mode);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__596_atg_div_scalar_mode_':
- torch_stubs.c:8618:46: warning: passing argument 4 of 'atg_div_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 8618 | atg_div_scalar_mode_(x8628, x8629, x8630, x8631);
- | ^~~~~
- torch_api_generated.h:527:71: note: expected 'char *' but argument is of type 'const char *'
- 527 | void atg_div_scalar_mode_(tensor *, tensor self, scalar other, char * rounding_mode);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__597_atg_div_tensor_mode':
- torch_stubs.c:8628:45: warning: passing argument 4 of 'atg_div_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 8628 | atg_div_tensor_mode(x8637, x8638, x8639, x8640);
- | ^~~~~
- torch_api_generated.h:528:70: note: expected 'char *' but argument is of type 'const char *'
- 528 | void atg_div_tensor_mode(tensor *, tensor self, tensor other, char * rounding_mode);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__598_atg_div_tensor_mode_':
- torch_stubs.c:8638:46: warning: passing argument 4 of 'atg_div_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 8638 | atg_div_tensor_mode_(x8646, x8647, x8648, x8649);
- | ^~~~~
- torch_api_generated.h:529:71: note: expected 'char *' but argument is of type 'const char *'
- 529 | void atg_div_tensor_mode_(tensor *, tensor self, tensor other, char * rounding_mode);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__602_atg_divide_out_mode':
- torch_stubs.c:8675:52: warning: passing argument 5 of 'atg_divide_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 8675 | atg_divide_out_mode(x8679, x8680, x8681, x8682, x8683);
- | ^~~~~
- torch_api_generated.h:533:82: note: expected 'char *' but argument is of type 'const char *'
- 533 | void atg_divide_out_mode(tensor *, tensor out, tensor self, tensor other, char * rounding_mode);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__605_atg_divide_scalar_mode':
- torch_stubs.c:8701:48: warning: passing argument 4 of 'atg_divide_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 8701 | atg_divide_scalar_mode(x8703, x8704, x8705, x8706);
- | ^~~~~
- torch_api_generated.h:536:73: note: expected 'char *' but argument is of type 'const char *'
- 536 | void atg_divide_scalar_mode(tensor *, tensor self, scalar other, char * rounding_mode);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__606_atg_divide_scalar_mode_':
- torch_stubs.c:8711:49: warning: passing argument 4 of 'atg_divide_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 8711 | atg_divide_scalar_mode_(x8712, x8713, x8714, x8715);
- | ^~~~~
- torch_api_generated.h:537:74: note: expected 'char *' but argument is of type 'const char *'
- 537 | void atg_divide_scalar_mode_(tensor *, tensor self, scalar other, char * rounding_mode);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__607_atg_divide_tensor_mode':
- torch_stubs.c:8721:48: warning: passing argument 4 of 'atg_divide_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 8721 | atg_divide_tensor_mode(x8721, x8722, x8723, x8724);
- | ^~~~~
- torch_api_generated.h:538:73: note: expected 'char *' but argument is of type 'const char *'
- 538 | void atg_divide_tensor_mode(tensor *, tensor self, tensor other, char * rounding_mode);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__608_atg_divide_tensor_mode_':
- torch_stubs.c:8731:49: warning: passing argument 4 of 'atg_divide_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 8731 | atg_divide_tensor_mode_(x8730, x8731, x8732, x8733);
- | ^~~~~
- torch_api_generated.h:539:74: note: expected 'char *' but argument is of type 'const char *'
- 539 | void atg_divide_tensor_mode_(tensor *, tensor self, tensor other, char * rounding_mode);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__619_atg_einsum':
- torch_stubs.c:8831:22: warning: passing argument 2 of 'atg_einsum' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 8831 | atg_einsum(x8839, x8840, x8841, x8842);
- | ^~~~~
- torch_api_generated.h:550:34: note: expected 'char *' but argument is of type 'const char *'
- 550 | void atg_einsum(tensor *, char * equation, tensor *tensors_data, int tensors_len);
- | ~~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__684_atg_fft_fft':
- torch_stubs.c:9692:44: warning: passing argument 5 of 'atg_fft_fft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9692 | atg_fft_fft(x9665, x9666, x9667, x9670, x9673);
- | ^~~~~
- torch_api_generated.h:615:72: note: expected 'char *' but argument is of type 'const char *'
- 615 | void atg_fft_fft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__685_atg_fft_fft2':
- torch_stubs.c:9706:59: warning: passing argument 7 of 'atg_fft_fft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9706 | atg_fft_fft2(x9682, x9683, x9684, x9685, x9688, x9689, x9692);
- | ^~~~~
- torch_api_generated.h:616:109: note: expected 'char *' but argument is of type 'const char *'
- 616 | void atg_fft_fft2(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__686_atg_fft_fft2_out':
- torch_stubs.c:9733:70: warning: passing argument 8 of 'atg_fft_fft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9733 | atg_fft_fft2_out(x9709, x9710, x9711, x9712, x9713, x9716, x9717, x9720);
- | ^~~~~
- torch_api_generated.h:617:125: note: expected 'char *' but argument is of type 'const char *'
- 617 | void atg_fft_fft2_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__687_atg_fft_fft_out':
- torch_stubs.c:9759:55: warning: passing argument 6 of 'atg_fft_fft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9759 | atg_fft_fft_out(x9736, x9737, x9738, x9739, x9742, x9745);
- | ^~~~~
- torch_api_generated.h:618:88: note: expected 'char *' but argument is of type 'const char *'
- 618 | void atg_fft_fft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__690_atg_fft_fftn':
- torch_stubs.c:9804:59: warning: passing argument 7 of 'atg_fft_fftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9804 | atg_fft_fftn(x9792, x9793, x9794, x9795, x9798, x9799, x9802);
- | ^~~~~
- torch_api_generated.h:621:109: note: expected 'char *' but argument is of type 'const char *'
- 621 | void atg_fft_fftn(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__691_atg_fft_fftn_out':
- torch_stubs.c:9831:70: warning: passing argument 8 of 'atg_fft_fftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9831 | atg_fft_fftn_out(x9819, x9820, x9821, x9822, x9823, x9826, x9827, x9830);
- | ^~~~~
- torch_api_generated.h:622:125: note: expected 'char *' but argument is of type 'const char *'
- 622 | void atg_fft_fftn_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__693_atg_fft_hfft':
- torch_stubs.c:9866:45: warning: passing argument 5 of 'atg_fft_hfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9866 | atg_fft_hfft(x9856, x9857, x9858, x9861, x9864);
- | ^~~~~
- torch_api_generated.h:624:73: note: expected 'char *' but argument is of type 'const char *'
- 624 | void atg_fft_hfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__694_atg_fft_hfft_out':
- torch_stubs.c:9878:56: warning: passing argument 6 of 'atg_fft_hfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9878 | atg_fft_hfft_out(x9872, x9873, x9874, x9875, x9878, x9881);
- | ^~~~~
- torch_api_generated.h:625:89: note: expected 'char *' but argument is of type 'const char *'
- 625 | void atg_fft_hfft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__695_atg_fft_ifft':
- torch_stubs.c:9900:45: warning: passing argument 5 of 'atg_fft_ifft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9900 | atg_fft_ifft(x9894, x9895, x9896, x9899, x9902);
- | ^~~~~
- torch_api_generated.h:626:73: note: expected 'char *' but argument is of type 'const char *'
- 626 | void atg_fft_ifft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__696_atg_fft_ifft2':
- torch_stubs.c:9914:60: warning: passing argument 7 of 'atg_fft_ifft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9914 | atg_fft_ifft2(x9911, x9912, x9913, x9914, x9917, x9918, x9921);
- | ^~~~~
- torch_api_generated.h:627:110: note: expected 'char *' but argument is of type 'const char *'
- 627 | void atg_fft_ifft2(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__697_atg_fft_ifft2_out':
- torch_stubs.c:9941:71: warning: passing argument 8 of 'atg_fft_ifft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9941 | atg_fft_ifft2_out(x9938, x9939, x9940, x9941, x9942, x9945, x9946, x9949);
- | ^~~~~
- torch_api_generated.h:628:126: note: expected 'char *' but argument is of type 'const char *'
- 628 | void atg_fft_ifft2_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__698_atg_fft_ifft_out':
- torch_stubs.c:9967:56: warning: passing argument 6 of 'atg_fft_ifft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9967 | atg_fft_ifft_out(x9965, x9966, x9967, x9968, x9971, x9974);
- | ^~~~~
- torch_api_generated.h:629:89: note: expected 'char *' but argument is of type 'const char *'
- 629 | void atg_fft_ifft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__699_atg_fft_ifftn':
- torch_stubs.c:9992:60: warning: passing argument 7 of 'atg_fft_ifftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9992 | atg_fft_ifftn(x9989, x9990, x9991, x9992, x9995, x9996, x9999);
- | ^~~~~
- torch_api_generated.h:630:110: note: expected 'char *' but argument is of type 'const char *'
- 630 | void atg_fft_ifftn(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__700_atg_fft_ifftn_out':
- torch_stubs.c:10021:30: warning: passing argument 8 of 'atg_fft_ifftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 10021 | x10024, x10027);
- | ^~~~~~
- torch_api_generated.h:631:126: note: expected 'char *' but argument is of type 'const char *'
- 631 | void atg_fft_ifftn_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__702_atg_fft_ihfft':
- torch_stubs.c:10056:50: warning: passing argument 5 of 'atg_fft_ihfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 10056 | atg_fft_ihfft(x10053, x10054, x10055, x10058, x10061);
- | ^~~~~~
- torch_api_generated.h:633:74: note: expected 'char *' but argument is of type 'const char *'
- 633 | void atg_fft_ihfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__703_atg_fft_ihfft_out':
- torch_stubs.c:10068:62: warning: passing argument 6 of 'atg_fft_ihfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 10068 | atg_fft_ihfft_out(x10069, x10070, x10071, x10072, x10075, x10078);
- | ^~~~~~
- torch_api_generated.h:634:90: note: expected 'char *' but argument is of type 'const char *'
- 634 | void atg_fft_ihfft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__704_atg_fft_irfft':
- torch_stubs.c:10091:50: warning: passing argument 5 of 'atg_fft_irfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 10091 | atg_fft_irfft(x10091, x10092, x10093, x10096, x10099);
- | ^~~~~~
- torch_api_generated.h:635:74: note: expected 'char *' but argument is of type 'const char *'
- 635 | void atg_fft_irfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__705_atg_fft_irfft2':
- torch_stubs.c:10105:67: warning: passing argument 7 of 'atg_fft_irfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 10105 | atg_fft_irfft2(x10108, x10109, x10110, x10111, x10114, x10115, x10118);
- | ^~~~~~
- torch_api_generated.h:636:111: note: expected 'char *' but argument is of type 'const char *'
- 636 | void atg_fft_irfft2(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__706_atg_fft_irfft2_out':
- torch_stubs.c:10134:31: warning: passing argument 8 of 'atg_fft_irfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 10134 | x10143, x10146);
- | ^~~~~~
- torch_api_generated.h:637:127: note: expected 'char *' but argument is of type 'const char *'
- 637 | void atg_fft_irfft2_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__707_atg_fft_irfft_out':
- torch_stubs.c:10160:62: warning: passing argument 6 of 'atg_fft_irfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 10160 | atg_fft_irfft_out(x10162, x10163, x10164, x10165, x10168, x10171);
- | ^~~~~~
- torch_api_generated.h:638:90: note: expected 'char *' but argument is of type 'const char *'
- 638 | void atg_fft_irfft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__708_atg_fft_irfftn':
- torch_stubs.c:10186:67: warning: passing argument 7 of 'atg_fft_irfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 10186 | atg_fft_irfftn(x10186, x10187, x10188, x10189, x10192, x10193, x10196);
- | ^~~~~~
- torch_api_generated.h:639:111: note: expected 'char *' but argument is of type 'const char *'
- 639 | void atg_fft_irfftn(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__709_atg_fft_irfftn_out':
- torch_stubs.c:10215:31: warning: passing argument 8 of 'atg_fft_irfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 10215 | x10221, x10224);
- | ^~~~~~
- torch_api_generated.h:640:127: note: expected 'char *' but argument is of type 'const char *'
- 640 | void atg_fft_irfftn_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__710_atg_fft_rfft':
- torch_stubs.c:10240:49: warning: passing argument 5 of 'atg_fft_rfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 10240 | atg_fft_rfft(x10239, x10240, x10241, x10244, x10247);
- | ^~~~~~
- torch_api_generated.h:641:73: note: expected 'char *' but argument is of type 'const char *'
- 641 | void atg_fft_rfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__711_atg_fft_rfft2':
- torch_stubs.c:10254:66: warning: passing argument 7 of 'atg_fft_rfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 10254 | atg_fft_rfft2(x10256, x10257, x10258, x10259, x10262, x10263, x10266);
- | ^~~~~~
- torch_api_generated.h:642:110: note: expected 'char *' but argument is of type 'const char *'
- 642 | void atg_fft_rfft2(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__712_atg_fft_rfft2_out':
- torch_stubs.c:10283:30: warning: passing argument 8 of 'atg_fft_rfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 10283 | x10291, x10294);
- | ^~~~~~
- torch_api_generated.h:643:126: note: expected 'char *' but argument is of type 'const char *'
- 643 | void atg_fft_rfft2_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__713_atg_fft_rfft_out':
- torch_stubs.c:10309:61: warning: passing argument 6 of 'atg_fft_rfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 10309 | atg_fft_rfft_out(x10310, x10311, x10312, x10313, x10316, x10319);
- | ^~~~~~
- torch_api_generated.h:644:89: note: expected 'char *' but argument is of type 'const char *'
- 644 | void atg_fft_rfft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__716_atg_fft_rfftn':
- torch_stubs.c:10356:66: warning: passing argument 7 of 'atg_fft_rfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 10356 | atg_fft_rfftn(x10366, x10367, x10368, x10369, x10372, x10373, x10376);
- | ^~~~~~
- torch_api_generated.h:647:110: note: expected 'char *' but argument is of type 'const char *'
- 647 | void atg_fft_rfftn(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__717_atg_fft_rfftn_out':
- torch_stubs.c:10385:30: warning: passing argument 8 of 'atg_fft_rfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 10385 | x10401, x10404);
- | ^~~~~~
- torch_api_generated.h:648:126: note: expected 'char *' but argument is of type 'const char *'
- 648 | void atg_fft_rfftn_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__771_atg_from_file':
- torch_stubs.c:11108:26: warning: passing argument 2 of 'atg_from_file' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 11108 | atg_from_file(x11011, x11012, x11013, x11016, x11019, x11022);
- | ^~~~~~
- torch_api_generated.h:702:37: note: expected 'char *' but argument is of type 'const char *'
- 702 | void atg_from_file(tensor *, char * filename, int shared, int64_t size, int options_kind, int options_device);
- | ~~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__971_atg_linalg_cond_p_str':
- torch_stubs.c:13598:42: warning: passing argument 3 of 'atg_linalg_cond_p_str' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 13598 | atg_linalg_cond_p_str(x13472, x13473, x13474);
- | ^~~~~~
- torch_api_generated.h:902:58: note: expected 'char *' but argument is of type 'const char *'
- 902 | void atg_linalg_cond_p_str(tensor *, tensor self, char * p);
- | ~~~~~~~^
- torch_stubs.c: In function 'caml__972_atg_linalg_cond_p_str_out':
- torch_stubs.c:13608:54: warning: passing argument 4 of 'atg_linalg_cond_p_str_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 13608 | atg_linalg_cond_p_str_out(x13480, x13481, x13482, x13483);
- | ^~~~~~
- torch_api_generated.h:903:74: note: expected 'char *' but argument is of type 'const char *'
- 903 | void atg_linalg_cond_p_str_out(tensor *, tensor out, tensor self, char * p);
- | ~~~~~~~^
- torch_stubs.c: In function 'caml__977_atg_linalg_eigh':
- torch_stubs.c:13648:36: warning: passing argument 3 of 'atg_linalg_eigh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 13648 | atg_linalg_eigh(x13514, x13515, x13516);
- | ^~~~~~
- torch_api_generated.h:908:52: note: expected 'char *' but argument is of type 'const char *'
- 908 | void atg_linalg_eigh(tensor *, tensor self, char * UPLO);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__978_atg_linalg_eigh_eigvals':
- torch_stubs.c:13660:60: warning: passing argument 5 of 'atg_linalg_eigh_eigvals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 13660 | atg_linalg_eigh_eigvals(x13523, x13524, x13525, x13526, x13527);
- | ^~~~~~
- torch_api_generated.h:909:92: note: expected 'char *' but argument is of type 'const char *'
- 909 | void atg_linalg_eigh_eigvals(tensor *, tensor eigvals, tensor eigvecs, tensor self, char * UPLO);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__981_atg_linalg_eigvalsh':
- torch_stubs.c:13684:40: warning: passing argument 3 of 'atg_linalg_eigvalsh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 13684 | atg_linalg_eigvalsh(x13544, x13545, x13546);
- | ^~~~~~
- torch_api_generated.h:912:56: note: expected 'char *' but argument is of type 'const char *'
- 912 | void atg_linalg_eigvalsh(tensor *, tensor self, char * UPLO);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__982_atg_linalg_eigvalsh_out':
- torch_stubs.c:13694:52: warning: passing argument 4 of 'atg_linalg_eigvalsh_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 13694 | atg_linalg_eigvalsh_out(x13552, x13553, x13554, x13555);
- | ^~~~~~
- torch_api_generated.h:913:72: note: expected 'char *' but argument is of type 'const char *'
- 913 | void atg_linalg_eigvalsh_out(tensor *, tensor out, tensor self, char * UPLO);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__989_atg_linalg_lstsq':
- torch_stubs.c:13761:53: warning: passing argument 5 of 'atg_linalg_lstsq' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 13761 | atg_linalg_lstsq(x13612, x13613, x13614, x13615, x13618);
- | ^~~~~~
- torch_api_generated.h:920:77: note: expected 'char *' but argument is of type 'const char *'
- 920 | void atg_linalg_lstsq(tensor *, tensor self, tensor b, double rcond, char * driver);
- | ~~~~~~~^~~~~~
- torch_stubs.c: In function 'caml__990_atg_linalg_lstsq_out':
- torch_stubs.c:13780:41: warning: passing argument 9 of 'atg_linalg_lstsq_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 13780 | x13635, x13636, x13639);
- | ^~~~~~
- torch_api_generated.h:921:153: note: expected 'char *' but argument is of type 'const char *'
- 921 | void atg_linalg_lstsq_out(tensor *, tensor solution, tensor residuals, tensor rank, tensor singular_values, tensor self, tensor b, double rcond, char * driver);
- | ~~~~~~~^~~~~~
- torch_stubs.c: In function 'caml__993_atg_linalg_matrix_norm_str_ord':
- torch_stubs.c:13870:51: warning: passing argument 3 of 'atg_linalg_matrix_norm_str_ord' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 13870 | atg_linalg_matrix_norm_str_ord(x13716, x13717, x13718, x13719, x13720,
- | ^~~~~~
- torch_api_generated.h:924:67: note: expected 'char *' but argument is of type 'const char *'
- 924 | void atg_linalg_matrix_norm_str_ord(tensor *, tensor self, char * ord, int64_t *dim_data, int dim_len, int keepdim, int dtype);
- | ~~~~~~~^~~
- torch_stubs.c: In function 'caml__994_atg_linalg_matrix_norm_str_ord_out':
- torch_stubs.c:13905:63: warning: passing argument 4 of 'atg_linalg_matrix_norm_str_ord_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 13905 | atg_linalg_matrix_norm_str_ord_out(x13745, x13746, x13747, x13748,
- | ^~~~~~
- torch_api_generated.h:925:83: note: expected 'char *' but argument is of type 'const char *'
- 925 | void atg_linalg_matrix_norm_str_ord_out(tensor *, tensor out, tensor self, char * ord, int64_t *dim_data, int dim_len, int keepdim, int dtype);
- | ~~~~~~~^~~
- torch_stubs.c: In function 'caml__1007_atg_linalg_qr':
- torch_stubs.c:14061:34: warning: passing argument 3 of 'atg_linalg_qr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 14061 | atg_linalg_qr(x13915, x13916, x13917);
- | ^~~~~~
- torch_api_generated.h:938:50: note: expected 'char *' but argument is of type 'const char *'
- 938 | void atg_linalg_qr(tensor *, tensor self, char * mode);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__1008_atg_linalg_qr_out':
- torch_stubs.c:14072:54: warning: passing argument 5 of 'atg_linalg_qr_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 14072 | atg_linalg_qr_out(x13924, x13925, x13926, x13927, x13928);
- | ^~~~~~
- torch_api_generated.h:939:74: note: expected 'char *' but argument is of type 'const char *'
- 939 | void atg_linalg_qr_out(tensor *, tensor Q, tensor R, tensor self, char * mode);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__1218_atg_nanquantile_new':
- torch_stubs.c:18001:64: warning: passing argument 6 of 'atg_nanquantile_new' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 18001 | atg_nanquantile_new(x17699, x17700, x17701, x17702, x17705, x17708);
- | ^~~~~~
- torch_api_generated.h:1149:92: note: expected 'char *' but argument is of type 'const char *'
- 1149 | void atg_nanquantile_new(tensor *, tensor self, tensor q, int64_t dim, int keepdim, char * interpolation);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__1219_atg_nanquantile_new_out':
- torch_stubs.c:18029:28: warning: passing argument 7 of 'atg_nanquantile_new_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 18029 | x17733);
- | ^~~~~~
- torch_api_generated.h:1150:108: note: expected 'char *' but argument is of type 'const char *'
- 1150 | void atg_nanquantile_new_out(tensor *, tensor out, tensor self, tensor q, int64_t dim, int keepdim, char * interpolation);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__1220_atg_nanquantile_new_scalar':
- torch_stubs.c:18055:71: warning: passing argument 6 of 'atg_nanquantile_new_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 18055 | atg_nanquantile_new_scalar(x17748, x17749, x17750, x17753, x17756, x17759);
- | ^~~~~~
- torch_api_generated.h:1151:99: note: expected 'char *' but argument is of type 'const char *'
- 1151 | void atg_nanquantile_new_scalar(tensor *, tensor self, double q, int64_t dim, int keepdim, char * interpolation);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__1221_atg_nanquantile_new_scalar_out':
- torch_stubs.c:18083:43: warning: passing argument 7 of 'atg_nanquantile_new_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 18083 | x17783, x17786);
- | ^~~~~~
- torch_api_generated.h:1152:115: note: expected 'char *' but argument is of type 'const char *'
- 1152 | void atg_nanquantile_new_scalar_out(tensor *, tensor out, tensor self, double q, int64_t dim, int keepdim, char * interpolation);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__1338_atg_quantile_new':
- torch_stubs.c:19798:61: warning: passing argument 6 of 'atg_quantile_new' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 19798 | atg_quantile_new(x19467, x19468, x19469, x19470, x19473, x19476);
- | ^~~~~~
- torch_api_generated.h:1269:89: note: expected 'char *' but argument is of type 'const char *'
- 1269 | void atg_quantile_new(tensor *, tensor self, tensor q, int64_t dim, int keepdim, char * interpolation);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__1339_atg_quantile_new_out':
- torch_stubs.c:19826:25: warning: passing argument 7 of 'atg_quantile_new_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 19826 | x19501);
- | ^~~~~~
- torch_api_generated.h:1270:105: note: expected 'char *' but argument is of type 'const char *'
- 1270 | void atg_quantile_new_out(tensor *, tensor out, tensor self, tensor q, int64_t dim, int keepdim, char * interpolation);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__1340_atg_quantile_new_scalar':
- torch_stubs.c:19852:68: warning: passing argument 6 of 'atg_quantile_new_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 19852 | atg_quantile_new_scalar(x19516, x19517, x19518, x19521, x19524, x19527);
- | ^~~~~~
- torch_api_generated.h:1271:96: note: expected 'char *' but argument is of type 'const char *'
- 1271 | void atg_quantile_new_scalar(tensor *, tensor self, double q, int64_t dim, int keepdim, char * interpolation);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__1341_atg_quantile_new_scalar_out':
- torch_stubs.c:19880:40: warning: passing argument 7 of 'atg_quantile_new_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 19880 | x19551, x19554);
- | ^~~~~~
- torch_api_generated.h:1272:112: note: expected 'char *' but argument is of type 'const char *'
- 1272 | void atg_quantile_new_scalar_out(tensor *, tensor out, tensor self, double q, int64_t dim, int keepdim, char * interpolation);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__1455_atg_scatter_reduce_':
- torch_stubs.c:21631:64: warning: passing argument 6 of 'atg_scatter_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 21631 | atg_scatter_reduce_(x21301, x21302, x21303, x21306, x21307, x21308);
- | ^~~~~~
- torch_api_generated.h:1386:95: note: expected 'char *' but argument is of type 'const char *'
- 1386 | void atg_scatter_reduce_(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce);
- | ~~~~~~~^~~~~~
- torch_stubs.c: In function 'caml__1458_atg_scatter_value_reduce_':
- torch_stubs.c:21678:70: warning: passing argument 6 of 'atg_scatter_value_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 21678 | atg_scatter_value_reduce_(x21348, x21349, x21350, x21353, x21354, x21355);
- | ^~~~~~
- torch_api_generated.h:1389:103: note: expected 'char *' but argument is of type 'const char *'
- 1389 | void atg_scatter_value_reduce_(tensor *, tensor self, int64_t dim, tensor index, scalar value, char * reduce);
- | ~~~~~~~^~~~~~
- torch_stubs.c: In function 'caml__1462_atg_segment_reduce':
- torch_stubs.c:21754:39: warning: passing argument 3 of 'atg_segment_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 21754 | atg_segment_reduce(x21424, x21425, x21426, x21427, x21428, x21429,
- | ^~~~~~
- torch_api_generated.h:1393:55: note: expected 'char *' but argument is of type 'const char *'
- 1393 | void atg_segment_reduce(tensor *, tensor data, char * reduce, tensor lengths, tensor indices, int64_t axis, int unsafe, scalar initial);
- | ~~~~~~~^~~~~~
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -cmi-file src/torch/.torch.objs/byte/torch__Text_helper.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Text_helper.cmo -c -impl src/torch/text_helper.ml)
- File "src/torch/text_helper.ml", line 51, characters 4-22:
- 51 | Caml.Gc.full_major ()
- ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -cmi-file src/torch/.torch.objs/byte/torch__Tensor.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Tensor.cmo -c -impl src/torch/tensor.ml)
- File "src/torch/tensor.ml", line 219, characters 4-32:
- 219 | Caml.Format.pp_print_newline formatter ();
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/torch/tensor.ml", line 220, characters 4-31:
- 220 | Caml.Format.pp_print_string formatter (to_string t ~line_size:96);
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/torch/tensor.ml", line 221, characters 4-32:
- 221 | Caml.Format.pp_print_newline formatter ())
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/torch/tensor.ml", line 226, characters 7-34:
- 226 | |> Caml.Format.pp_print_string formatter
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/torch/tensor.ml", line 377, characters 10-21:
- 377 | else if Caml.( <> ) (shape t1) (shape t2)
- ^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -cmi-file src/torch/.torch.objs/byte/torch__Mnist_helper.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Mnist_helper.cmo -c -impl src/torch/mnist_helper.ml)
- File "src/torch/mnist_helper.ml", line 35, characters 17-37:
- 35 | let filename = Caml.Filename.concat prefix in
- ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -cmi-file src/torch/.torch.objs/byte/torch__Cifar_helper.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Cifar_helper.cmo -c -impl src/torch/cifar_helper.ml)
- File "src/torch/cifar_helper.ml", line 46, characters 26-46:
- 46 | let read_one filename = Caml.Filename.concat dirname filename |> read_file in
- ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/torch/cifar_helper.ml", line 67, characters 21-41:
- 67 | let cache_file = Caml.Filename.concat dirname "cifar-cache.ot" in
- ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -cmi-file src/torch/.torch.objs/byte/torch__Dataset_helper.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Dataset_helper.cmo -c -impl src/torch/dataset_helper.ml)
- File "src/torch/dataset_helper.ml", line 142, characters 4-22:
- 142 | Caml.Gc.full_major ();
- ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/torch/dataset_helper.ml", line 187, characters 4-22:
- 187 | Caml.Gc.full_major ()
- ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/torch/dataset_helper.ml", line 194, characters 8-26:
- 194 | Caml.Gc.full_major ();
- ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/torch/dataset_helper.ml", line 201, characters 8-26:
- 201 | Caml.Gc.full_major ();
- ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -cmi-file src/torch/.torch.objs/byte/torch__Checkpointing.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Checkpointing.cmo -c -impl src/torch/checkpointing.ml)
- File "src/torch/checkpointing.ml", line 4, characters 16-37:
- 4 | let dirname = Caml.Filename.dirname checkpoint_base in
- ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/torch/checkpointing.ml", line 5, characters 17-39:
- 5 | let basename = Caml.Filename.basename checkpoint_base in
- ^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/torch/checkpointing.ml", line 12, characters 44-64:
- 12 | (try Some (Int.of_string suffix, Caml.Filename.concat dirname filename) with
- ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/torch/checkpointing.ml", line 6, characters 2-18:
- 6 | Caml.Sys.readdir dirname
- ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/vision/.torch_vision.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/torch/.torch.objs/byte -I src/wrapper/.torch_core.objs/byte -cmi-file src/vision/.torch_vision.objs/byte/torch_vision__Image.cmi -no-alias-deps -open Torch_vision -o src/vision/.torch_vision.objs/byte/torch_vision__Image.cmo -c -impl src/vision/image.ml)
- File "src/vision/image.ml", line 81, characters 10-31:
- 81 | if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir ();
- ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/vision/image.ml", line 82, characters 14-30:
- 82 | let files = Caml.Sys.readdir dir |> Array.to_list in
- ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/vision/image.ml", line 87, characters 26-46:
- 87 | match load_image (Caml.Filename.concat dir filename) ?resize with
- ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/vision/image.ml", line 159, characters 12-33:
- 159 | if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir ();
- ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/vision/image.ml", line 164, characters 28-48:
- 164 | let next_dir = Caml.Filename.concat dir file in
- ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/vision/image.ml", line 165, characters 16-37:
- 165 | if Caml.Sys.is_directory next_dir
- ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/vision/image.ml", line 162, characters 6-22:
- 162 | Caml.Sys.readdir dir
- ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/vision/image.ml", line 184, characters 41-61:
- 184 | load_image ?resize:t.resize (Caml.Filename.concat dir file) |> Or_error.ok_exn)
- ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/vision/image.ml", line 194, characters 37-57:
- 194 | load_image ?resize:t.resize (Caml.Filename.concat dir file) |> Or_error.ok_exn)
- ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Tensor.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Tensor.cmx -c -impl src/torch/tensor.ml)
- File "src/torch/tensor.ml", line 219, characters 4-32:
- 219 | Caml.Format.pp_print_newline formatter ();
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/torch/tensor.ml", line 220, characters 4-31:
- 220 | Caml.Format.pp_print_string formatter (to_string t ~line_size:96);
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/torch/tensor.ml", line 221, characters 4-32:
- 221 | Caml.Format.pp_print_newline formatter ())
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/torch/tensor.ml", line 226, characters 7-34:
- 226 | |> Caml.Format.pp_print_string formatter
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/torch/tensor.ml", line 377, characters 10-21:
- 377 | else if Caml.( <> ) (shape t1) (shape t2)
- ^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Text_helper.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Text_helper.cmx -c -impl src/torch/text_helper.ml)
- File "src/torch/text_helper.ml", line 51, characters 4-22:
- 51 | Caml.Gc.full_major ()
- ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Dataset_helper.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Dataset_helper.cmx -c -impl src/torch/dataset_helper.ml)
- File "src/torch/dataset_helper.ml", line 142, characters 4-22:
- 142 | Caml.Gc.full_major ();
- ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/torch/dataset_helper.ml", line 187, characters 4-22:
- 187 | Caml.Gc.full_major ()
- ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/torch/dataset_helper.ml", line 194, characters 8-26:
- 194 | Caml.Gc.full_major ();
- ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/torch/dataset_helper.ml", line 201, characters 8-26:
- 201 | Caml.Gc.full_major ();
- ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Cifar_helper.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Cifar_helper.cmx -c -impl src/torch/cifar_helper.ml)
- File "src/torch/cifar_helper.ml", line 46, characters 26-46:
- 46 | let read_one filename = Caml.Filename.concat dirname filename |> read_file in
- ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/torch/cifar_helper.ml", line 67, characters 21-41:
- 67 | let cache_file = Caml.Filename.concat dirname "cifar-cache.ot" in
- ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Mnist_helper.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Mnist_helper.cmx -c -impl src/torch/mnist_helper.ml)
- File "src/torch/mnist_helper.ml", line 35, characters 17-37:
- 35 | let filename = Caml.Filename.concat prefix in
- ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Checkpointing.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Checkpointing.cmx -c -impl src/torch/checkpointing.ml)
- File "src/torch/checkpointing.ml", line 4, characters 16-37:
- 4 | let dirname = Caml.Filename.dirname checkpoint_base in
- ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/torch/checkpointing.ml", line 5, characters 17-39:
- 5 | let basename = Caml.Filename.basename checkpoint_base in
- ^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/torch/checkpointing.ml", line 12, characters 44-64:
- 12 | (try Some (Int.of_string suffix, Caml.Filename.concat dirname filename) with
- ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/torch/checkpointing.ml", line 6, characters 2-18:
- 6 | Caml.Sys.readdir dirname
- ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/vision/.torch_vision.objs/byte -I src/vision/.torch_vision.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/vision/.torch_vision.objs/byte/torch_vision__Image.cmi -no-alias-deps -open Torch_vision -o src/vision/.torch_vision.objs/native/torch_vision__Image.cmx -c -impl src/vision/image.ml)
- File "src/vision/image.ml", line 81, characters 10-31:
- 81 | if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir ();
- ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/vision/image.ml", line 82, characters 14-30:
- 82 | let files = Caml.Sys.readdir dir |> Array.to_list in
- ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/vision/image.ml", line 87, characters 26-46:
- 87 | match load_image (Caml.Filename.concat dir filename) ?resize with
- ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/vision/image.ml", line 159, characters 12-33:
- 159 | if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir ();
- ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/vision/image.ml", line 164, characters 28-48:
- 164 | let next_dir = Caml.Filename.concat dir file in
- ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/vision/image.ml", line 165, characters 16-37:
- 165 | if Caml.Sys.is_directory next_dir
- ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/vision/image.ml", line 162, characters 6-22:
- 162 | Caml.Sys.readdir dir
- ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/vision/image.ml", line 184, characters 41-61:
- 184 | load_image ?resize:t.resize (Caml.Filename.concat dir file) |> Or_error.ok_exn)
- ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-
- File "src/vision/image.ml", line 194, characters 37-57:
- 194 | load_image ?resize:t.resize (Caml.Filename.concat dir file) |> Or_error.ok_exn)
- ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
[ERROR] The compilation of torch.0.13 failed at "dune build -p torch -j 39".
build failed...
=== STDERR ===
2026-07-26 13:37.07: FAILED: build torch.0.13
2026-07-26 13:37.07: Job failed: build failed: torch.0.13