Build:
- 0
2026-06-23 19:09.35: New job: build torch.0.17 (344436e72cb8) 2026-06-23 19:09.35: Waiting for resource in pool day11-builds 2026-06-23 20:14.32: Got resource from pool day11-builds 2026-06-23 20:14.32: [profile full] build torch.0.17 2026-06-23 20:14.32: build torch.0.17 (344436e72cb8) === DEPENDENCIES (47 transitive) === base.v0.16.5 bd17fd834f82 base-threads.base b7164ff76afe base-unix.base 839dc585f12d camlzip.1.14 76310e72f549 cmdliner.2.1.1 31028e9aa5d7 conf-libffi.2.0.0 b59b18e08302 conf-pkg-config.5 4b60827fc174 conf-zlib.1 71f76614ba40 csexp.1.5.2 1637d117a8bb ctypes.0.24.0 553bd54f7ce5 ctypes-foreign.0.24.0 58cf9cf49589 dune.3.23.1 433683e90514 dune-configurator.3.23.1 d169faaa676d integers.0.8.0 2c05f4dc9a9b jane-street-headers.v0.16.0 c202cfd218fd jst-config.v0.16.0 46a7ea3c30ba libtorch.1.13.0+linux-x86_64 8ebd67d18c5b npy.0.0.9 6646c0ac4bef num.1.6 3b13662dc011 ocaml.5.3.0 f3f5cb82ec5e ocaml-base-compiler.5.3.0 3282792848d7 ocaml-compiler.5.3.0 ec781058d2f3 ocaml-compiler-libs.v0.17.0 8c25585cc677 ocaml-config.3 0df636be409d ocamlfind.1.9.8 814b8d0197a7 parsexp.v0.16.0 466fce37645b ppx_assert.v0.16.0 5c0b6dacca43 ppx_base.v0.16.0 ef3a99d282db ppx_cold.v0.16.0 e4f5f94e54c5 ppx_compare.v0.16.0 26c45310f95d ppx_custom_printf.v0.16.0 126d760dabf4 ppx_derivers.1.2.1 ff9d4bfc129e ppx_enumerate.v0.16.0 48ad317c809c ppx_expect.v0.16.2 4d3e57f27713 ppx_globalize.v0.16.0 815009be4be2 ppx_hash.v0.16.0 80361618dc0d ppx_here.v0.16.0 3e2a8f9d1237 ppx_inline_test.v0.16.1 c3d8fd92b111 ppx_optcomp.v0.16.0 411a45978df8 ppx_sexp_conv.v0.16.0 70a4eebbc124 ppxlib.0.35.0 71db069bc8b1 re.1.14.0 5602183f89d9 sexplib.v0.16.0 1155c1933112 sexplib0.v0.16.0 382141cb483f stdio.v0.16.0 a77f64a2db21 stdlib-shims.0.3.0 f49bc9dde33b time_now.v0.16.0 45003ed651aa === STDOUT === Processing: [default: loading data] [torch.0.17: dl] [torch.0.17: extract] -> retrieved torch.0.17 (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.17) - (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 - (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: warning: 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__155_atg__convolution_mode': - torch_stubs.c:1619:68: warning: passing argument 7 of 'atg__convolution_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1619 | atg__convolution_mode(x1573, x1574, x1575, x1576, x1577, x1578, x1581, - | ^~~~~ - In file included from torch_api.h:162: - torch_api_generated.h:86:125: note: expected 'char *' but argument is of type 'const char *' - 86 | 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__238_atg__linalg_check_errors': - torch_stubs.c:4143:36: warning: passing argument 2 of 'atg__linalg_check_errors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 4143 | atg__linalg_check_errors(x4108, x4109, x4110); - | ^~~~~ - torch_api_generated.h:169:51: note: expected 'char *' but argument is of type 'const char *' - 169 | void atg__linalg_check_errors(tensor info, char * api_name, int is_matrix); - | ~~~~~~~^~~~~~~~ - torch_stubs.c: In function 'caml__241_atg__linalg_eigh': - torch_stubs.c:4171:35: warning: passing argument 3 of 'atg__linalg_eigh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 4171 | atg__linalg_eigh(x4134, x4135, x4136, x4137); - | ^~~~~ - torch_api_generated.h:172:50: note: expected 'char *' but argument is of type 'const char *' - 172 | void atg__linalg_eigh(tensor *, tensor A, char * UPLO, int compute_v); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__242_atg__linalg_eigh_eigenvalues': - torch_stubs.c:4184:61: warning: passing argument 5 of 'atg__linalg_eigh_eigenvalues' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 4184 | atg__linalg_eigh_eigenvalues(x4147, x4148, x4149, x4150, x4151, x4152); - | ^~~~~ - torch_api_generated.h:173:103: note: expected 'char *' but argument is of type 'const char *' - 173 | void atg__linalg_eigh_eigenvalues(tensor *, tensor eigenvalues, tensor eigenvectors, tensor A, char * UPLO, int compute_v); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__247_atg__linalg_svd': - torch_stubs.c:4285:48: warning: passing argument 5 of 'atg__linalg_svd' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 4285 | atg__linalg_svd(x4238, x4239, x4240, x4243, x4246); - | ^~~~~ - torch_api_generated.h:178:84: note: expected 'char *' but argument is of type 'const char *' - 178 | void atg__linalg_svd(tensor *, tensor A, int full_matrices, int compute_uv, char * driver); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__248_atg__linalg_svd_u': - torch_stubs.c:4300:71: warning: passing argument 8 of 'atg__linalg_svd_u' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 4300 | atg__linalg_svd_u(x4256, x4257, x4258, x4259, x4260, x4261, x4264, x4267); - | ^~~~~ - torch_api_generated.h:179:117: note: expected 'char *' but argument is of type 'const char *' - 179 | void atg__linalg_svd_u(tensor *, tensor U, tensor S, tensor Vh, tensor A, int full_matrices, int compute_uv, char * driver); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__326_atg__scatter_reduce': - torch_stubs.c:6039:59: warning: passing argument 6 of 'atg__scatter_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 6039 | atg__scatter_reduce(x5977, x5978, x5979, x5982, x5983, x5984, x5985); - | ^~~~~ - torch_api_generated.h:257:95: note: expected 'char *' but argument is of type 'const char *' - 257 | void atg__scatter_reduce(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce, int include_self); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__327_atg__scatter_reduce_': - torch_stubs.c:6066:60: warning: passing argument 6 of 'atg__scatter_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 6066 | atg__scatter_reduce_(x6003, x6004, x6005, x6008, x6009, x6010, x6011); - | ^~~~~ - torch_api_generated.h:258:96: note: expected 'char *' but argument is of type 'const char *' - 258 | void atg__scatter_reduce_(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce, int include_self); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__328_atg__scatter_reduce_two_out': - torch_stubs.c:6096:32: warning: passing argument 7 of 'atg__scatter_reduce_two_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 6096 | x6038, x6039); - | ^~~~~ - torch_api_generated.h:259:115: note: expected 'char *' but argument is of type 'const char *' - 259 | void atg__scatter_reduce_two_out(tensor *, tensor out, tensor self, int64_t dim, tensor index, tensor src, char * reduce, int include_self); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__329_atg__segment_reduce_backward': - torch_stubs.c:6128:61: warning: passing argument 5 of 'atg__segment_reduce_backward' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 6128 | atg__segment_reduce_backward(x6060, x6061, x6062, x6063, x6064, x6065, - | ^~~~~ - torch_api_generated.h:260:93: note: expected 'char *' but argument is of type 'const char *' - 260 | void atg__segment_reduce_backward(tensor *, tensor grad, tensor output, tensor data, char * reduce, tensor lengths, tensor offsets, int64_t axis, scalar initial); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__330_atg__segment_reduce_backward_out': - torch_stubs.c:6165:37: warning: passing argument 6 of 'atg__segment_reduce_backward_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 6165 | x6096, x6097, x6098, x6099, x6102); - | ^~~~~ - torch_api_generated.h:261:109: note: expected 'char *' but argument is of type 'const char *' - 261 | void atg__segment_reduce_backward_out(tensor *, tensor out, tensor grad, tensor output, tensor data, char * reduce, tensor lengths, tensor offsets, int64_t axis, scalar initial); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__393_atg__test_ambiguous_defaults_b': - torch_stubs.c:7290:56: warning: passing argument 4 of 'atg__test_ambiguous_defaults_b' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 7290 | atg__test_ambiguous_defaults_b(x7195, x7196, x7197, x7200); - | ^~~~~ - torch_api_generated.h:324:79: note: expected 'char *' but argument is of type 'const char *' - 324 | void atg__test_ambiguous_defaults_b(tensor *, tensor dummy, int64_t a, char * b); - | ~~~~~~~^ - torch_stubs.c: In function 'caml__407_atg__test_string_default': - torch_stubs.c:7430:43: warning: passing argument 3 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 7430 | atg__test_string_default(x7323, x7324, x7325, x7326); - | ^~~~~ - torch_api_generated.h:338:62: note: expected 'char *' but argument is of type 'const char *' - 338 | void atg__test_string_default(tensor *, tensor dummy, char * a, char * b); - | ~~~~~~~^ - torch_stubs.c:7430:50: warning: passing argument 4 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 7430 | atg__test_string_default(x7323, x7324, x7325, x7326); - | ^~~~~ - torch_api_generated.h:338:72: note: expected 'char *' but argument is of type 'const char *' - 338 | void atg__test_string_default(tensor *, tensor dummy, char * a, char * b); - | ~~~~~~~^ - torch_stubs.c: In function 'caml__819_atg_conv1d_padding': - torch_stubs.c:14590:23: warning: passing argument 7 of 'atg_conv1d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14590 | x14040, x14041, x14042, x14045); - | ^~~~~~ - torch_api_generated.h:750:122: note: expected 'char *' but argument is of type 'const char *' - 750 | 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__821_atg_conv2d_padding': - torch_stubs.c:14662:23: warning: passing argument 7 of 'atg_conv2d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14662 | x14119, x14120, x14121, x14124); - | ^~~~~~ - torch_api_generated.h:752:122: note: expected 'char *' but argument is of type 'const char *' - 752 | 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__823_atg_conv3d_padding': - torch_stubs.c:14734:23: warning: passing argument 7 of 'atg_conv3d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14734 | x14198, x14199, x14200, x14203); - | ^~~~~~ - torch_api_generated.h:754:122: note: expected 'char *' but argument is of type 'const char *' - 754 | 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__937_atg_div_out_mode': - torch_stubs.c:16974:53: warning: passing argument 5 of 'atg_div_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 16974 | atg_div_out_mode(x16480, x16481, x16482, x16483, x16484); - | ^~~~~~ - torch_api_generated.h:868:79: note: expected 'char *' but argument is of type 'const char *' - 868 | void atg_div_out_mode(tensor *, tensor out, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__940_atg_div_scalar_mode': - torch_stubs.c:17000:48: warning: passing argument 4 of 'atg_div_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17000 | atg_div_scalar_mode(x16504, x16505, x16506, x16507); - | ^~~~~~ - torch_api_generated.h:871:70: note: expected 'char *' but argument is of type 'const char *' - 871 | void atg_div_scalar_mode(tensor *, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__941_atg_div_scalar_mode_': - torch_stubs.c:17010:49: warning: passing argument 4 of 'atg_div_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17010 | atg_div_scalar_mode_(x16513, x16514, x16515, x16516); - | ^~~~~~ - torch_api_generated.h:872:71: note: expected 'char *' but argument is of type 'const char *' - 872 | void atg_div_scalar_mode_(tensor *, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__942_atg_div_scalar_mode_out': - torch_stubs.c:17022:60: warning: passing argument 5 of 'atg_div_scalar_mode_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17022 | atg_div_scalar_mode_out(x16523, x16524, x16525, x16526, x16527); - | ^~~~~~ - torch_api_generated.h:873:86: note: expected 'char *' but argument is of type 'const char *' - 873 | void atg_div_scalar_mode_out(tensor *, tensor out, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__944_atg_div_tensor_mode': - torch_stubs.c:17042:48: warning: passing argument 4 of 'atg_div_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17042 | atg_div_tensor_mode(x16542, x16543, x16544, x16545); - | ^~~~~~ - torch_api_generated.h:875:70: note: expected 'char *' but argument is of type 'const char *' - 875 | void atg_div_tensor_mode(tensor *, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__945_atg_div_tensor_mode_': - torch_stubs.c:17052:49: warning: passing argument 4 of 'atg_div_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17052 | atg_div_tensor_mode_(x16551, x16552, x16553, x16554); - | ^~~~~~ - torch_api_generated.h:876:71: note: expected 'char *' but argument is of type 'const char *' - 876 | void atg_div_tensor_mode_(tensor *, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__949_atg_divide_out_mode': - torch_stubs.c:17089:56: warning: passing argument 5 of 'atg_divide_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17089 | atg_divide_out_mode(x16584, x16585, x16586, x16587, x16588); - | ^~~~~~ - torch_api_generated.h:880:82: note: expected 'char *' but argument is of type 'const char *' - 880 | void atg_divide_out_mode(tensor *, tensor out, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__952_atg_divide_scalar_mode': - torch_stubs.c:17115:51: warning: passing argument 4 of 'atg_divide_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17115 | atg_divide_scalar_mode(x16608, x16609, x16610, x16611); - | ^~~~~~ - torch_api_generated.h:883:73: note: expected 'char *' but argument is of type 'const char *' - 883 | void atg_divide_scalar_mode(tensor *, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__953_atg_divide_scalar_mode_': - torch_stubs.c:17125:52: warning: passing argument 4 of 'atg_divide_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17125 | atg_divide_scalar_mode_(x16617, x16618, x16619, x16620); - | ^~~~~~ - torch_api_generated.h:884:74: note: expected 'char *' but argument is of type 'const char *' - 884 | void atg_divide_scalar_mode_(tensor *, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__954_atg_divide_tensor_mode': - torch_stubs.c:17135:51: warning: passing argument 4 of 'atg_divide_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17135 | atg_divide_tensor_mode(x16626, x16627, x16628, x16629); - | ^~~~~~ - torch_api_generated.h:885:73: note: expected 'char *' but argument is of type 'const char *' - 885 | void atg_divide_tensor_mode(tensor *, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__955_atg_divide_tensor_mode_': - torch_stubs.c:17145:52: warning: passing argument 4 of 'atg_divide_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17145 | atg_divide_tensor_mode_(x16635, x16636, x16637, x16638); - | ^~~~~~ - torch_api_generated.h:886:74: note: expected 'char *' but argument is of type 'const char *' - 886 | void atg_divide_tensor_mode_(tensor *, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__964_atg_einsum': - torch_stubs.c:17228:23: warning: passing argument 2 of 'atg_einsum' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17228 | atg_einsum(x16724, x16725, x16726, x16727, x16730, x16731); - | ^~~~~~ - torch_api_generated.h:895:34: note: expected 'char *' but argument is of type 'const char *' - 895 | void atg_einsum(tensor *, char * equation, tensor *tensors_data, int tensors_len, int64_t *path_data, int path_len); - | ~~~~~~~^~~~~~~~ - torch_stubs.c: In function 'caml__1044_atg_fft_fft': - torch_stubs.c:18495:56: warning: passing argument 6 of 'atg_fft_fft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18495 | atg_fft_fft(x17892, x17893, x17894, x17897, x17900, x17903); - | ^~~~~~ - torch_api_generated.h:975:86: note: expected 'char *' but argument is of type 'const char *' - 975 | void atg_fft_fft(tensor *, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1045_atg_fft_fft2': - torch_stubs.c:18520:65: warning: passing argument 7 of 'atg_fft_fft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18520 | atg_fft_fft2(x17918, x17919, x17920, x17921, x17924, x17925, x17928); - | ^~~~~~ - torch_api_generated.h:976:109: note: expected 'char *' but argument is of type 'const char *' - 976 | 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__1046_atg_fft_fft2_out': - torch_stubs.c:18549:21: warning: passing argument 8 of 'atg_fft_fft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18549 | x17956); - | ^~~~~~ - torch_api_generated.h:977:125: note: expected 'char *' but argument is of type 'const char *' - 977 | 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__1047_atg_fft_fft_out': - torch_stubs.c:18577:68: warning: passing argument 7 of 'atg_fft_fft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18577 | atg_fft_fft_out(x17973, x17974, x17975, x17976, x17979, x17982, x17985); - | ^~~~~~ - torch_api_generated.h:978:102: note: expected 'char *' but argument is of type 'const char *' - 978 | void atg_fft_fft_out(tensor *, tensor out, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1050_atg_fft_fftn': - torch_stubs.c:18625:65: warning: passing argument 7 of 'atg_fft_fftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18625 | atg_fft_fftn(x18033, x18034, x18035, x18036, x18039, x18040, x18043); - | ^~~~~~ - torch_api_generated.h:981:109: note: expected 'char *' but argument is of type 'const char *' - 981 | 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__1051_atg_fft_fftn_out': - torch_stubs.c:18654:21: warning: passing argument 8 of 'atg_fft_fftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18654 | x18071); - | ^~~~~~ - torch_api_generated.h:982:125: note: expected 'char *' but argument is of type 'const char *' - 982 | 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__1053_atg_fft_hfft': - torch_stubs.c:18690:57: warning: passing argument 6 of 'atg_fft_hfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18690 | atg_fft_hfft(x18098, x18099, x18100, x18103, x18106, x18109); - | ^~~~~~ - torch_api_generated.h:984:87: note: expected 'char *' but argument is of type 'const char *' - 984 | void atg_fft_hfft(tensor *, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1054_atg_fft_hfft2': - torch_stubs.c:18715:66: warning: passing argument 7 of 'atg_fft_hfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18715 | atg_fft_hfft2(x18124, x18125, x18126, x18127, x18130, x18131, x18134); - | ^~~~~~ - torch_api_generated.h:985:110: note: expected 'char *' but argument is of type 'const char *' - 985 | void atg_fft_hfft2(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__1055_atg_fft_hfft2_out': - torch_stubs.c:18744:30: warning: passing argument 8 of 'atg_fft_hfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18744 | x18159, x18162); - | ^~~~~~ - torch_api_generated.h:986:126: note: expected 'char *' but argument is of type 'const char *' - 986 | void atg_fft_hfft2_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__1056_atg_fft_hfft_out': - torch_stubs.c:18772:69: warning: passing argument 7 of 'atg_fft_hfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18772 | atg_fft_hfft_out(x18179, x18180, x18181, x18182, x18185, x18188, x18191); - | ^~~~~~ - torch_api_generated.h:987:103: note: expected 'char *' but argument is of type 'const char *' - 987 | void atg_fft_hfft_out(tensor *, tensor out, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1057_atg_fft_hfftn': - torch_stubs.c:18799:66: warning: passing argument 7 of 'atg_fft_hfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18799 | atg_fft_hfftn(x18207, x18208, x18209, x18210, x18213, x18214, x18217); - | ^~~~~~ - torch_api_generated.h:988:110: note: expected 'char *' but argument is of type 'const char *' - 988 | void atg_fft_hfftn(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__1058_atg_fft_hfftn_out': - torch_stubs.c:18828:30: warning: passing argument 8 of 'atg_fft_hfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18828 | x18242, x18245); - | ^~~~~~ - torch_api_generated.h:989:126: note: expected 'char *' but argument is of type 'const char *' - 989 | void atg_fft_hfftn_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__1059_atg_fft_ifft': - torch_stubs.c:18854:57: warning: passing argument 6 of 'atg_fft_ifft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18854 | atg_fft_ifft(x18261, x18262, x18263, x18266, x18269, x18272); - | ^~~~~~ - torch_api_generated.h:990:87: note: expected 'char *' but argument is of type 'const char *' - 990 | void atg_fft_ifft(tensor *, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1060_atg_fft_ifft2': - torch_stubs.c:18879:66: warning: passing argument 7 of 'atg_fft_ifft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18879 | atg_fft_ifft2(x18287, x18288, x18289, x18290, x18293, x18294, x18297); - | ^~~~~~ - torch_api_generated.h:991:110: note: expected 'char *' but argument is of type 'const char *' - 991 | 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__1061_atg_fft_ifft2_out': - torch_stubs.c:18908:30: warning: passing argument 8 of 'atg_fft_ifft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18908 | x18322, x18325); - | ^~~~~~ - torch_api_generated.h:992:126: note: expected 'char *' but argument is of type 'const char *' - 992 | 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__1062_atg_fft_ifft_out': - torch_stubs.c:18936:69: warning: passing argument 7 of 'atg_fft_ifft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18936 | atg_fft_ifft_out(x18342, x18343, x18344, x18345, x18348, x18351, x18354); - | ^~~~~~ - torch_api_generated.h:993:103: note: expected 'char *' but argument is of type 'const char *' - 993 | void atg_fft_ifft_out(tensor *, tensor out, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1063_atg_fft_ifftn': - torch_stubs.c:18963:66: warning: passing argument 7 of 'atg_fft_ifftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18963 | atg_fft_ifftn(x18370, x18371, x18372, x18373, x18376, x18377, x18380); - | ^~~~~~ - torch_api_generated.h:994:110: note: expected 'char *' but argument is of type 'const char *' - 994 | 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__1064_atg_fft_ifftn_out': - torch_stubs.c:18992:30: warning: passing argument 8 of 'atg_fft_ifftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18992 | x18405, x18408); - | ^~~~~~ - torch_api_generated.h:995:126: note: expected 'char *' but argument is of type 'const char *' - 995 | 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__1066_atg_fft_ihfft': - torch_stubs.c:19028:58: warning: passing argument 6 of 'atg_fft_ihfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19028 | atg_fft_ihfft(x18435, x18436, x18437, x18440, x18443, x18446); - | ^~~~~~ - torch_api_generated.h:997:88: note: expected 'char *' but argument is of type 'const char *' - 997 | void atg_fft_ihfft(tensor *, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1067_atg_fft_ihfft2': - torch_stubs.c:19053:67: warning: passing argument 7 of 'atg_fft_ihfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19053 | atg_fft_ihfft2(x18461, x18462, x18463, x18464, x18467, x18468, x18471); - | ^~~~~~ - torch_api_generated.h:998:111: note: expected 'char *' but argument is of type 'const char *' - 998 | void atg_fft_ihfft2(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__1068_atg_fft_ihfft2_out': - torch_stubs.c:19082:31: warning: passing argument 8 of 'atg_fft_ihfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19082 | x18496, x18499); - | ^~~~~~ - torch_api_generated.h:999:127: note: expected 'char *' but argument is of type 'const char *' - 999 | void atg_fft_ihfft2_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__1069_atg_fft_ihfft_out': - torch_stubs.c:19110:70: warning: passing argument 7 of 'atg_fft_ihfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19110 | atg_fft_ihfft_out(x18516, x18517, x18518, x18519, x18522, x18525, x18528); - | ^~~~~~ - torch_api_generated.h:1000:104: note: expected 'char *' but argument is of type 'const char *' - 1000 | void atg_fft_ihfft_out(tensor *, tensor out, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1070_atg_fft_ihfftn': - torch_stubs.c:19137:67: warning: passing argument 7 of 'atg_fft_ihfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19137 | atg_fft_ihfftn(x18544, x18545, x18546, x18547, x18550, x18551, x18554); - | ^~~~~~ - torch_api_generated.h:1001:111: note: expected 'char *' but argument is of type 'const char *' - 1001 | void atg_fft_ihfftn(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__1071_atg_fft_ihfftn_out': - torch_stubs.c:19166:31: warning: passing argument 8 of 'atg_fft_ihfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19166 | x18579, x18582); - | ^~~~~~ - torch_api_generated.h:1002:127: note: expected 'char *' but argument is of type 'const char *' - 1002 | void atg_fft_ihfftn_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__1072_atg_fft_irfft': - torch_stubs.c:19192:58: warning: passing argument 6 of 'atg_fft_irfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19192 | atg_fft_irfft(x18598, x18599, x18600, x18603, x18606, x18609); - | ^~~~~~ - torch_api_generated.h:1003:88: note: expected 'char *' but argument is of type 'const char *' - 1003 | void atg_fft_irfft(tensor *, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1073_atg_fft_irfft2': - torch_stubs.c:19217:67: warning: passing argument 7 of 'atg_fft_irfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19217 | atg_fft_irfft2(x18624, x18625, x18626, x18627, x18630, x18631, x18634); - | ^~~~~~ - torch_api_generated.h:1004:111: note: expected 'char *' but argument is of type 'const char *' - 1004 | 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__1074_atg_fft_irfft2_out': - torch_stubs.c:19246:31: warning: passing argument 8 of 'atg_fft_irfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19246 | x18659, x18662); - | ^~~~~~ - torch_api_generated.h:1005:127: note: expected 'char *' but argument is of type 'const char *' - 1005 | 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__1075_atg_fft_irfft_out': - torch_stubs.c:19274:70: warning: passing argument 7 of 'atg_fft_irfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19274 | atg_fft_irfft_out(x18679, x18680, x18681, x18682, x18685, x18688, x18691); - | ^~~~~~ - torch_api_generated.h:1006:104: note: expected 'char *' but argument is of type 'const char *' - 1006 | void atg_fft_irfft_out(tensor *, tensor out, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1076_atg_fft_irfftn': - torch_stubs.c:19301:67: warning: passing argument 7 of 'atg_fft_irfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19301 | atg_fft_irfftn(x18707, x18708, x18709, x18710, x18713, x18714, x18717); - | ^~~~~~ - torch_api_generated.h:1007:111: note: expected 'char *' but argument is of type 'const char *' - 1007 | 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__1077_atg_fft_irfftn_out': - torch_stubs.c:19330:31: warning: passing argument 8 of 'atg_fft_irfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19330 | x18742, x18745); - | ^~~~~~ - torch_api_generated.h:1008:127: note: expected 'char *' but argument is of type 'const char *' - 1008 | 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__1078_atg_fft_rfft': - torch_stubs.c:19356:57: warning: passing argument 6 of 'atg_fft_rfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19356 | atg_fft_rfft(x18761, x18762, x18763, x18766, x18769, x18772); - | ^~~~~~ - torch_api_generated.h:1009:87: note: expected 'char *' but argument is of type 'const char *' - 1009 | void atg_fft_rfft(tensor *, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1079_atg_fft_rfft2': - torch_stubs.c:19381:66: warning: passing argument 7 of 'atg_fft_rfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19381 | atg_fft_rfft2(x18787, x18788, x18789, x18790, x18793, x18794, x18797); - | ^~~~~~ - torch_api_generated.h:1010:110: note: expected 'char *' but argument is of type 'const char *' - 1010 | 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__1080_atg_fft_rfft2_out': - torch_stubs.c:19410:30: warning: passing argument 8 of 'atg_fft_rfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19410 | x18822, x18825); - | ^~~~~~ - torch_api_generated.h:1011:126: note: expected 'char *' but argument is of type 'const char *' - 1011 | 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__1081_atg_fft_rfft_out': - torch_stubs.c:19438:69: warning: passing argument 7 of 'atg_fft_rfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19438 | atg_fft_rfft_out(x18842, x18843, x18844, x18845, x18848, x18851, x18854); - | ^~~~~~ - torch_api_generated.h:1012:103: note: expected 'char *' but argument is of type 'const char *' - 1012 | void atg_fft_rfft_out(tensor *, tensor out, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1084_atg_fft_rfftn': - torch_stubs.c:19486:66: warning: passing argument 7 of 'atg_fft_rfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19486 | atg_fft_rfftn(x18902, x18903, x18904, x18905, x18908, x18909, x18912); - | ^~~~~~ - torch_api_generated.h:1015:110: note: expected 'char *' but argument is of type 'const char *' - 1015 | 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__1085_atg_fft_rfftn_out': - torch_stubs.c:19515:30: warning: passing argument 8 of 'atg_fft_rfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19515 | x18937, x18940); - | ^~~~~~ - torch_api_generated.h:1016:126: note: expected 'char *' but argument is of type 'const char *' - 1016 | 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__1144_atg_from_file': - torch_stubs.c:20295:26: warning: passing argument 2 of 'atg_from_file' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 20295 | atg_from_file(x19593, x19594, x19595, x19598, x19601, x19604, x19607); - | ^~~~~~ - torch_api_generated.h:1075:37: note: expected 'char *' but argument is of type 'const char *' - 1075 | void atg_from_file(tensor *, char * filename, int shared, int64_t size_v, int size_null, int options_kind, int options_device); - | ~~~~~~~^~~~~~~~ - torch_stubs.c: In function 'caml__1145_atg_from_file_out': - torch_stubs.c:20320:38: warning: passing argument 3 of 'atg_from_file_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 20320 | atg_from_file_out(x19624, x19625, x19626, x19627, x19630, x19633); - | ^~~~~~ - torch_api_generated.h:1076:53: note: expected 'char *' but argument is of type 'const char *' - 1076 | void atg_from_file_out(tensor *, tensor out, char * filename, int shared, int64_t size_v, int size_null); - | ~~~~~~~^~~~~~~~ - torch_stubs.c: In function 'caml__1163_atg_gelu': - torch_stubs.c:20588:29: warning: passing argument 3 of 'atg_gelu' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 20588 | atg_gelu(x19885, x19886, x19887); - | ^~~~~~ - torch_api_generated.h:1094:45: note: expected 'char *' but argument is of type 'const char *' - 1094 | void atg_gelu(tensor *, tensor self, char * approximate); - | ~~~~~~~^~~~~~~~~~~ - torch_stubs.c: In function 'caml__1164_atg_gelu_': - torch_stubs.c:20596:30: warning: passing argument 3 of 'atg_gelu_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 20596 | atg_gelu_(x19892, x19893, x19894); - | ^~~~~~ - torch_api_generated.h:1095:46: note: expected 'char *' but argument is of type 'const char *' - 1095 | void atg_gelu_(tensor *, tensor self, char * approximate); - | ~~~~~~~^~~~~~~~~~~ - torch_stubs.c: In function 'caml__1165_atg_gelu_backward': - torch_stubs.c:20606:46: warning: passing argument 4 of 'atg_gelu_backward' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 20606 | atg_gelu_backward(x19900, x19901, x19902, x19903); - | ^~~~~~ - torch_api_generated.h:1096:74: note: expected 'char *' but argument is of type 'const char *' - 1096 | void atg_gelu_backward(tensor *, tensor grad_output, tensor self, char * approximate); - | ~~~~~~~^~~~~~~~~~~ - torch_stubs.c: In function 'caml__1166_atg_gelu_backward_grad_input': - torch_stubs.c:20618:65: warning: passing argument 5 of 'atg_gelu_backward_grad_input' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 20618 | atg_gelu_backward_grad_input(x19910, x19911, x19912, x19913, x19914); - | ^~~~~~ - torch_api_generated.h:1097:104: note: expected 'char *' but argument is of type 'const char *' - 1097 | void atg_gelu_backward_grad_input(tensor *, tensor grad_input, tensor grad_output, tensor self, char * approximate); - | ~~~~~~~^~~~~~~~~~~ - torch_stubs.c: In function 'caml__1167_atg_gelu_out': - torch_stubs.c:20628:41: warning: passing argument 4 of 'atg_gelu_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 20628 | atg_gelu_out(x19920, x19921, x19922, x19923); - | ^~~~~~ - torch_api_generated.h:1098:61: note: expected 'char *' but argument is of type 'const char *' - 1098 | void atg_gelu_out(tensor *, tensor out, tensor self, char * approximate); - | ~~~~~~~^~~~~~~~~~~ - torch_stubs.c: In function 'caml__1289_atg_index_reduce': - torch_stubs.c:22293:61: warning: passing argument 6 of 'atg_index_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 22293 | atg_index_reduce(x21542, x21543, x21544, x21547, x21548, x21549, x21550); - | ^~~~~~ - torch_api_generated.h:1220:95: note: expected 'char *' but argument is of type 'const char *' - 1220 | void atg_index_reduce(tensor *, tensor self, int64_t dim, tensor index, tensor source, char * reduce, int include_self); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1290_atg_index_reduce_': - torch_stubs.c:22320:62: warning: passing argument 6 of 'atg_index_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 22320 | atg_index_reduce_(x21568, x21569, x21570, x21573, x21574, x21575, x21576); - | ^~~~~~ - torch_api_generated.h:1221:96: note: expected 'char *' but argument is of type 'const char *' - 1221 | void atg_index_reduce_(tensor *, tensor self, int64_t dim, tensor index, tensor source, char * reduce, int include_self); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1291_atg_index_reduce_out': - torch_stubs.c:22350:25: warning: passing argument 7 of 'atg_index_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 22350 | x21603, x21604); - | ^~~~~~ - torch_api_generated.h:1222:111: note: expected 'char *' but argument is of type 'const char *' - 1222 | void atg_index_reduce_out(tensor *, tensor out, tensor self, int64_t dim, tensor index, tensor source, char * reduce, int include_self); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1387_atg_linalg_cond_p_str': - torch_stubs.c:23457:42: warning: passing argument 3 of 'atg_linalg_cond_p_str' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 23457 | atg_linalg_cond_p_str(x22675, x22676, x22677); - | ^~~~~~ - torch_api_generated.h:1318:58: note: expected 'char *' but argument is of type 'const char *' - 1318 | void atg_linalg_cond_p_str(tensor *, tensor self, char * p); - | ~~~~~~~^ - torch_stubs.c: In function 'caml__1388_atg_linalg_cond_p_str_out': - torch_stubs.c:23467:54: warning: passing argument 4 of 'atg_linalg_cond_p_str_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 23467 | atg_linalg_cond_p_str_out(x22683, x22684, x22685, x22686); - | ^~~~~~ - torch_api_generated.h:1319:74: note: expected 'char *' but argument is of type 'const char *' - 1319 | void atg_linalg_cond_p_str_out(tensor *, tensor out, tensor self, char * p); - | ~~~~~~~^ - torch_stubs.c: In function 'caml__1396_atg_linalg_eigh': - torch_stubs.c:23541:36: warning: passing argument 3 of 'atg_linalg_eigh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 23541 | atg_linalg_eigh(x22758, x22759, x22760); - | ^~~~~~ - torch_api_generated.h:1327:52: note: expected 'char *' but argument is of type 'const char *' - 1327 | void atg_linalg_eigh(tensor *, tensor self, char * UPLO); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1397_atg_linalg_eigh_eigvals': - torch_stubs.c:23553:60: warning: passing argument 5 of 'atg_linalg_eigh_eigvals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 23553 | atg_linalg_eigh_eigvals(x22767, x22768, x22769, x22770, x22771); - | ^~~~~~ - torch_api_generated.h:1328:92: note: expected 'char *' but argument is of type 'const char *' - 1328 | void atg_linalg_eigh_eigvals(tensor *, tensor eigvals, tensor eigvecs, tensor self, char * UPLO); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1400_atg_linalg_eigvalsh': - torch_stubs.c:23578:40: warning: passing argument 3 of 'atg_linalg_eigvalsh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 23578 | atg_linalg_eigvalsh(x22788, x22789, x22790); - | ^~~~~~ - torch_api_generated.h:1331:56: note: expected 'char *' but argument is of type 'const char *' - 1331 | void atg_linalg_eigvalsh(tensor *, tensor self, char * UPLO); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1401_atg_linalg_eigvalsh_out': - torch_stubs.c:23588:52: warning: passing argument 4 of 'atg_linalg_eigvalsh_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 23588 | atg_linalg_eigvalsh_out(x22796, x22797, x22798, x22799); - | ^~~~~~ - torch_api_generated.h:1332:72: note: expected 'char *' but argument is of type 'const char *' - 1332 | void atg_linalg_eigvalsh_out(tensor *, tensor out, tensor self, char * UPLO); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1414_atg_linalg_lstsq': - torch_stubs.c:23754:61: warning: passing argument 6 of 'atg_linalg_lstsq' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 23754 | atg_linalg_lstsq(x22952, x22953, x22954, x22955, x22958, x22961); - | ^~~~~~ - torch_api_generated.h:1345:95: note: expected 'char *' but argument is of type 'const char *' - 1345 | void atg_linalg_lstsq(tensor *, tensor self, tensor b, double rcond_v, int rcond_null, char * driver); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1415_atg_linalg_lstsq_out': - torch_stubs.c:23786:49: warning: passing argument 10 of 'atg_linalg_lstsq_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 23786 | x22985, x22986, x22989, x22992); - | ^~~~~~ - torch_api_generated.h:1346:171: note: expected 'char *' but argument is of type 'const char *' - 1346 | void atg_linalg_lstsq_out(tensor *, tensor solution, tensor residuals, tensor rank, tensor singular_values, tensor self, tensor b, double rcond_v, int rcond_null, char * driver); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1448_atg_linalg_qr': - torch_stubs.c:24352:34: warning: passing argument 3 of 'atg_linalg_qr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 24352 | atg_linalg_qr(x23521, x23522, x23523); - | ^~~~~~ - torch_api_generated.h:1379:47: note: expected 'char *' but argument is of type 'const char *' - 1379 | void atg_linalg_qr(tensor *, tensor A, char * mode); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1449_atg_linalg_qr_out': - torch_stubs.c:24363:54: warning: passing argument 5 of 'atg_linalg_qr_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 24363 | atg_linalg_qr_out(x23530, x23531, x23532, x23533, x23534); - | ^~~~~~ - torch_api_generated.h:1380:71: note: expected 'char *' but argument is of type 'const char *' - 1380 | void atg_linalg_qr_out(tensor *, tensor Q, tensor R, tensor A, char * mode); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1458_atg_linalg_svd': - torch_stubs.c:24509:43: warning: passing argument 4 of 'atg_linalg_svd' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 24509 | atg_linalg_svd(x23672, x23673, x23674, x23677); - | ^~~~~~ - torch_api_generated.h:1389:67: note: expected 'char *' but argument is of type 'const char *' - 1389 | void atg_linalg_svd(tensor *, tensor A, int full_matrices, char * driver); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1459_atg_linalg_svd_u': - torch_stubs.c:24523:69: warning: passing argument 7 of 'atg_linalg_svd_u' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 24523 | atg_linalg_svd_u(x23686, x23687, x23688, x23689, x23690, x23691, x23694); - | ^~~~~~ - torch_api_generated.h:1390:100: note: expected 'char *' but argument is of type 'const char *' - 1390 | void atg_linalg_svd_u(tensor *, tensor U, tensor S, tensor Vh, tensor A, int full_matrices, char * driver); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1460_atg_linalg_svdvals': - torch_stubs.c:24544:39: warning: passing argument 3 of 'atg_linalg_svdvals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 24544 | atg_linalg_svdvals(x23706, x23707, x23708); - | ^~~~~~ - torch_api_generated.h:1391:52: note: expected 'char *' but argument is of type 'const char *' - 1391 | void atg_linalg_svdvals(tensor *, tensor A, char * driver); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1461_atg_linalg_svdvals_out': - torch_stubs.c:24554:51: warning: passing argument 4 of 'atg_linalg_svdvals_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 24554 | atg_linalg_svdvals_out(x23714, x23715, x23716, x23717); - | ^~~~~~ - torch_api_generated.h:1392:68: note: expected 'char *' but argument is of type 'const char *' - 1392 | void atg_linalg_svdvals_out(tensor *, tensor out, tensor A, char * driver); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1587_atg_meshgrid_indexing': - torch_stubs.c:26591:58: warning: passing argument 3 of 'atg_meshgrid_indexing' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 26591 | void** x25736 = atg_meshgrid_indexing(x25731, x25732, x25735); - | ^~~~~~ - torch_api_generated.h:1518:77: note: expected 'char *' but argument is of type 'const char *' - 1518 | tensor *atg_meshgrid_indexing(tensor *tensors_data, int tensors_len, char * indexing); - | ~~~~~~~^~~~~~~~ - torch_stubs.c: In function 'caml__1688_atg_nanquantile': - torch_stubs.c:29023:68: warning: passing argument 7 of 'atg_nanquantile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 29023 | atg_nanquantile(x28127, x28128, x28129, x28130, x28133, x28136, x28139); - | ^~~~~~ - torch_api_generated.h:1619:104: note: expected 'char *' but argument is of type 'const char *' - 1619 | void atg_nanquantile(tensor *, tensor self, tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1689_atg_nanquantile_out': - torch_stubs.c:29053:32: warning: passing argument 8 of 'atg_nanquantile_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 29053 | x28166, x28169); - | ^~~~~~ - torch_api_generated.h:1620:120: note: expected 'char *' but argument is of type 'const char *' - 1620 | void atg_nanquantile_out(tensor *, tensor out, tensor self, tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1690_atg_nanquantile_scalar': - torch_stubs.c:29083:27: warning: passing argument 7 of 'atg_nanquantile_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 29083 | x28200); - | ^~~~~~ - torch_api_generated.h:1621:111: note: expected 'char *' but argument is of type 'const char *' - 1621 | void atg_nanquantile_scalar(tensor *, tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1691_atg_nanquantile_scalar_out': - torch_stubs.c:29113:47: warning: passing argument 8 of 'atg_nanquantile_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 29113 | x28226, x28229, x28232); - | ^~~~~~ - torch_api_generated.h:1622:127: note: expected 'char *' but argument is of type 'const char *' - 1622 | void atg_nanquantile_scalar_out(tensor *, tensor out, tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1784_atg_pad': - torch_stubs.c:30683:44: warning: passing argument 5 of 'atg_pad' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 30683 | atg_pad(x29759, x29760, x29761, x29762, x29765, x29766, x29769); - | ^~~~~~ - torch_api_generated.h:1715:76: note: expected 'char *' but argument is of type 'const char *' - 1715 | void atg_pad(tensor *, tensor self, int64_t *pad_data, int pad_len, char * mode, double value_v, int value_null); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1831_atg_quantile': - torch_stubs.c:31208:65: warning: passing argument 7 of 'atg_quantile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 31208 | atg_quantile(x30284, x30285, x30286, x30287, x30290, x30293, x30296); - | ^~~~~~ - torch_api_generated.h:1762:101: note: expected 'char *' but argument is of type 'const char *' - 1762 | void atg_quantile(tensor *, tensor self, tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1832_atg_quantile_out': - torch_stubs.c:31237:21: warning: passing argument 8 of 'atg_quantile_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 31237 | x30326); - | ^~~~~~ - torch_api_generated.h:1763:117: note: expected 'char *' but argument is of type 'const char *' - 1763 | void atg_quantile_out(tensor *, tensor out, tensor self, tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1833_atg_quantile_scalar': - torch_stubs.c:31267:24: warning: passing argument 7 of 'atg_quantile_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 31267 | x30357); - | ^~~~~~ - torch_api_generated.h:1764:108: note: expected 'char *' but argument is of type 'const char *' - 1764 | void atg_quantile_scalar(tensor *, tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1834_atg_quantile_scalar_out': - torch_stubs.c:31297:36: warning: passing argument 8 of 'atg_quantile_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 31297 | x30386, x30389); - | ^~~~~~ - torch_api_generated.h:1765:124: note: expected 'char *' but argument is of type 'const char *' - 1765 | void atg_quantile_scalar_out(tensor *, tensor out, tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1996_atg_scatter_reduce': - torch_stubs.c:33819:63: warning: passing argument 6 of 'atg_scatter_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 33819 | atg_scatter_reduce(x32865, x32866, x32867, x32870, x32871, x32872); - | ^~~~~~ - torch_api_generated.h:1927:94: note: expected 'char *' but argument is of type 'const char *' - 1927 | void atg_scatter_reduce(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1997_atg_scatter_reduce_': - torch_stubs.c:33844:64: warning: passing argument 6 of 'atg_scatter_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 33844 | atg_scatter_reduce_(x32886, x32887, x32888, x32891, x32892, x32893); - | ^~~~~~ - torch_api_generated.h:1928:95: note: expected 'char *' but argument is of type 'const char *' - 1928 | void atg_scatter_reduce_(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1998_atg_scatter_reduce_out': - torch_stubs.c:33872:27: warning: passing argument 7 of 'atg_scatter_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 33872 | x32916); - | ^~~~~~ - torch_api_generated.h:1929:110: note: expected 'char *' but argument is of type 'const char *' - 1929 | void atg_scatter_reduce_out(tensor *, tensor out, tensor self, int64_t dim, tensor index, tensor src, char * reduce); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__2003_atg_scatter_value_reduce': - torch_stubs.c:33970:69: warning: passing argument 6 of 'atg_scatter_value_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 33970 | atg_scatter_value_reduce(x32999, x33000, x33001, x33004, x33005, x33006); - | ^~~~~~ - torch_api_generated.h:1934:102: note: expected 'char *' but argument is of type 'const char *' - 1934 | void atg_scatter_value_reduce(tensor *, tensor self, int64_t dim, tensor index, scalar value, char * reduce); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__2004_atg_scatter_value_reduce_': - torch_stubs.c:33995:70: warning: passing argument 6 of 'atg_scatter_value_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 33995 | atg_scatter_value_reduce_(x33020, x33021, x33022, x33025, x33026, x33027); - | ^~~~~~ - torch_api_generated.h:1935:103: note: expected 'char *' but argument is of type 'const char *' - 1935 | void atg_scatter_value_reduce_(tensor *, tensor self, int64_t dim, tensor index, scalar value, char * reduce); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__2005_atg_scatter_value_reduce_out': - torch_stubs.c:34023:41: warning: passing argument 7 of 'atg_scatter_value_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 34023 | x33049, x33050); - | ^~~~~~ - torch_api_generated.h:1936:118: note: expected 'char *' but argument is of type 'const char *' - 1936 | void atg_scatter_value_reduce_out(tensor *, tensor out, tensor self, int64_t dim, tensor index, scalar value, char * reduce); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__2006_atg_searchsorted': - torch_stubs.c:34051:61: warning: passing argument 6 of 'atg_searchsorted' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 34051 | atg_searchsorted(x33066, x33067, x33068, x33069, x33072, x33075, x33076); - | ^~~~~~ - torch_api_generated.h:1937:103: note: expected 'char *' but argument is of type 'const char *' - 1937 | void atg_searchsorted(tensor *, tensor sorted_sequence, tensor self, int out_int32, int right, char * side, tensor sorter); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__2007_atg_searchsorted_scalar': - torch_stubs.c:34079:68: warning: passing argument 6 of 'atg_searchsorted_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 34079 | atg_searchsorted_scalar(x33092, x33093, x33094, x33095, x33098, x33101, - | ^~~~~~ - torch_api_generated.h:1938:110: note: expected 'char *' but argument is of type 'const char *' - 1938 | void atg_searchsorted_scalar(tensor *, tensor sorted_sequence, scalar self, int out_int32, int right, char * side, tensor sorter); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__2008_atg_searchsorted_scalar_out': - torch_stubs.c:34110:40: warning: passing argument 7 of 'atg_searchsorted_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 34110 | x33126, x33129, x33130); - | ^~~~~~ - torch_api_generated.h:1939:126: note: expected 'char *' but argument is of type 'const char *' - 1939 | void atg_searchsorted_scalar_out(tensor *, tensor out, tensor sorted_sequence, scalar self, int out_int32, int right, char * side, tensor sorter); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__2009_atg_searchsorted_tensor_out': - torch_stubs.c:34141:40: warning: passing argument 7 of 'atg_searchsorted_tensor_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 34141 | x33155, x33158, x33159); - | ^~~~~~ - torch_api_generated.h:1940:126: note: expected 'char *' but argument is of type 'const char *' - 1940 | void atg_searchsorted_tensor_out(tensor *, tensor out, tensor sorted_sequence, tensor self, int out_int32, int right, char * side, tensor sorter); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__2010_atg_segment_reduce': - torch_stubs.c:34171:39: warning: passing argument 3 of 'atg_segment_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 34171 | atg_segment_reduce(x33178, x33179, x33180, x33181, x33182, x33183, - | ^~~~~~ - torch_api_generated.h:1941:55: note: expected 'char *' but argument is of type 'const char *' - 1941 | void atg_segment_reduce(tensor *, tensor data, char * reduce, tensor lengths, tensor indices, tensor offsets, int64_t axis, int unsafe, scalar initial); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__2011_atg_segment_reduce_out': - torch_stubs.c:34206:51: warning: passing argument 4 of 'atg_segment_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 34206 | atg_segment_reduce_out(x33211, x33212, x33213, x33214, x33215, x33216, - | ^~~~~~ - torch_api_generated.h:1942:71: note: expected 'char *' but argument is of type 'const char *' - 1942 | void atg_segment_reduce_out(tensor *, tensor out, tensor data, char * reduce, tensor lengths, tensor indices, tensor offsets, int64_t axis, int unsafe, scalar initial); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__2327_atg_stft_center': - torch_stubs.c:38514:36: warning: passing argument 10 of 'atg_stft_center' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 38514 | x37092, x37093, x37096, x37097, x37100, x37103); - | ^~~~~~ - torch_api_generated.h:2258:180: note: expected 'char *' but argument is of type 'const char *' - 2258 | void atg_stft_center(tensor *, tensor self, int64_t n_fft, int64_t hop_length_v, int hop_length_null, int64_t win_length_v, int win_length_null, tensor window, int center, char * pad_mode, int normalized, int onesided, int return_complex); - | ~~~~~~~^~~~~~~~ - (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 217, characters 4-32: - 217 | Caml.Format.pp_print_newline formatter (); - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 218, characters 4-31: - 218 | 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 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 224, characters 7-34: - 224 | |> Caml.Format.pp_print_string formatter - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 375, characters 10-21: - 375 | 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__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__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 217, characters 4-32: - 217 | Caml.Format.pp_print_newline formatter (); - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 218, characters 4-31: - 218 | 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 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 224, characters 7-34: - 224 | |> Caml.Format.pp_print_string formatter - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 375, characters 10-21: - 375 | 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__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__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__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 -> compiled torch.0.17 -> installed torch.0.17 [WARNING] Opam packages conf-libffi.2.0.0 and conf-zlib.1 depend on the following system packages that are no longer installed: libffi-dev zlib1g-dev - conf-libffi.2.0.0: depends on libffi-dev - conf-zlib.1: depends on zlib1g-dev === STDERR === 2026-06-23 20:20.19: OK: build torch.0.17 (runc: 309.8s, disk: 124KB) 2026-06-23 20:20.19: Job succeeded