Build:
- 0
2026-06-23 19:09.35: New job: build torch.0.13 (da1e61076a42) 2026-06-23 19:09.35: Waiting for resource in pool day11-builds 2026-06-23 20:14.33: Got resource from pool day11-builds 2026-06-23 20:14.33: [profile full] build torch.0.13 2026-06-23 20:14.33: build torch.0.13 (da1e61076a42) === 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.9.0+linux-x86_64 bc340dc934cc 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.13: dl] [torch.0.13: extract] -> retrieved torch.0.13 (https://opam.ocaml.org/cache) [torch: dune build] + /home/opam/.opam/default/bin/dune "build" "-p" "torch" "-j" "39" (CWD=/home/opam/.opam/default/.opam-switch/build/torch.0.13) - (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/config/.discover.eobjs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/csexp -I /home/opam/.opam/default/lib/dune-configurator -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -no-alias-deps -o src/config/.discover.eobjs/byte/discover.cmo -c -impl src/config/discover.ml) - File "src/config/discover.ml", line 11, characters 13-33: - 11 | let ( /^ ) = Caml.Filename.concat - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/config/discover.ml", line 12, characters 18-38: - 12 | let file_exists = Caml.Sys.file_exists - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/config/discover.ml", line 46, characters 38-59: - 46 | if file_exists libdir && Caml.Sys.is_directory libdir - ^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/config/discover.ml", line 38, characters 4-20: - 38 | Caml.Sys.readdir conda_prefix - ^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/config/discover.ml", line 55, characters 8-27: - 55 | match Caml.Sys.getenv_opt "LIBTORCH" with - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/config/discover.ml", line 59, characters 19-38: - 59 | Option.bind (Caml.Sys.getenv_opt "CONDA_PREFIX") ~f:(fun conda_prefix -> - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/config/discover.ml", line 65, characters 13-32: - 65 | (match Caml.Sys.getenv_opt "OPAM_SWITCH_PREFIX" with - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/config/discover.ml", line 75, characters 28-49: - 75 | if file_exists cudadir && Caml.Sys.is_directory cudadir - ^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/config/discover.ml", line 104, characters 11-30: - 104 | (Caml.Sys.getenv_opt "CONDA_PREFIX") - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/config/discover.ml", line 110, characters 16-35: - 110 | match Caml.Sys.getenv_opt "LIBTORCH_CXX11_ABI" with - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/config/discover.ml", line 120, characters 11-21: - 120 | if Caml.( = ) cuda_flags empty_flags - ^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/config/.discover.eobjs/byte -I src/config/.discover.eobjs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/csexp -I /home/opam/.opam/default/lib/dune-configurator -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -cmi-file src/config/.discover.eobjs/byte/discover.cmi -no-alias-deps -o src/config/.discover.eobjs/native/discover.cmx -c -impl src/config/discover.ml) - File "src/config/discover.ml", line 11, characters 13-33: - 11 | let ( /^ ) = Caml.Filename.concat - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/config/discover.ml", line 12, characters 18-38: - 12 | let file_exists = Caml.Sys.file_exists - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/config/discover.ml", line 46, characters 38-59: - 46 | if file_exists libdir && Caml.Sys.is_directory libdir - ^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/config/discover.ml", line 38, characters 4-20: - 38 | Caml.Sys.readdir conda_prefix - ^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/config/discover.ml", line 55, characters 8-27: - 55 | match Caml.Sys.getenv_opt "LIBTORCH" with - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/config/discover.ml", line 59, characters 19-38: - 59 | Option.bind (Caml.Sys.getenv_opt "CONDA_PREFIX") ~f:(fun conda_prefix -> - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/config/discover.ml", line 65, characters 13-32: - 65 | (match Caml.Sys.getenv_opt "OPAM_SWITCH_PREFIX" with - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/config/discover.ml", line 75, characters 28-49: - 75 | if file_exists cudadir && Caml.Sys.is_directory cudadir - ^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/config/discover.ml", line 104, characters 11-30: - 104 | (Caml.Sys.getenv_opt "CONDA_PREFIX") - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/config/discover.ml", line 110, characters 16-35: - 110 | match Caml.Sys.getenv_opt "LIBTORCH_CXX11_ABI" with - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/config/discover.ml", line 120, characters 11-21: - 120 | if Caml.( = ) cuda_flags empty_flags - ^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - (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__125_atg__convolution_mode': - torch_stubs.c:1118:68: warning: passing argument 7 of 'atg__convolution_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1118 | atg__convolution_mode(x1094, x1095, x1096, x1097, x1098, x1099, x1102, - | ^~~~~ - In file included from torch_api.h:162: - torch_api_generated.h:56:125: note: expected 'char *' but argument is of type 'const char *' - 56 | void atg__convolution_mode(tensor *, tensor input, tensor weight, tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups); - | ~~~~~~~^~~~~~~ - torch_stubs.c: In function 'caml__169_atg__linalg_qr_helper': - torch_stubs.c:2259:40: warning: passing argument 3 of 'atg__linalg_qr_helper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 2259 | atg__linalg_qr_helper(x2274, x2275, x2276); - | ^~~~~ - torch_api_generated.h:100:58: note: expected 'char *' but argument is of type 'const char *' - 100 | void atg__linalg_qr_helper(tensor *, tensor self, char * mode); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__231_atg__test_ambiguous_defaults_b': - torch_stubs.c:3126:56: warning: passing argument 4 of 'atg__test_ambiguous_defaults_b' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 3126 | atg__test_ambiguous_defaults_b(x3140, x3141, x3142, x3145); - | ^~~~~ - torch_api_generated.h:162:79: note: expected 'char *' but argument is of type 'const char *' - 162 | void atg__test_ambiguous_defaults_b(tensor *, tensor dummy, int64_t a, char * b); - | ~~~~~~~^ - torch_stubs.c: In function 'caml__235_atg__test_string_default': - torch_stubs.c:3165:43: warning: passing argument 3 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 3165 | atg__test_string_default(x3180, x3181, x3182, x3183); - | ^~~~~ - torch_api_generated.h:166:62: note: expected 'char *' but argument is of type 'const char *' - 166 | void atg__test_string_default(tensor *, tensor dummy, char * a, char * b); - | ~~~~~~~^ - torch_stubs.c:3165:50: warning: passing argument 4 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 3165 | atg__test_string_default(x3180, x3181, x3182, x3183); - | ^~~~~ - torch_api_generated.h:166:72: note: expected 'char *' but argument is of type 'const char *' - 166 | void atg__test_string_default(tensor *, tensor dummy, char * a, char * b); - | ~~~~~~~^ - torch_stubs.c: In function 'caml__502_atg_conv1d_padding': - torch_stubs.c:6620:65: warning: passing argument 7 of 'atg_conv1d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 6620 | atg_conv1d_padding(x6553, x6554, x6555, x6556, x6557, x6558, x6561, - | ^~~~~ - torch_api_generated.h:433:122: note: expected 'char *' but argument is of type 'const char *' - 433 | void atg_conv1d_padding(tensor *, tensor input, tensor weight, tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups); - | ~~~~~~~^~~~~~~ - torch_stubs.c: In function 'caml__504_atg_conv2d_padding': - torch_stubs.c:6692:65: warning: passing argument 7 of 'atg_conv2d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 6692 | atg_conv2d_padding(x6632, x6633, x6634, x6635, x6636, x6637, x6640, - | ^~~~~ - torch_api_generated.h:435:122: note: expected 'char *' but argument is of type 'const char *' - 435 | void atg_conv2d_padding(tensor *, tensor input, tensor weight, tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups); - | ~~~~~~~^~~~~~~ - torch_stubs.c: In function 'caml__506_atg_conv3d_padding': - torch_stubs.c:6764:65: warning: passing argument 7 of 'atg_conv3d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 6764 | atg_conv3d_padding(x6711, x6712, x6713, x6714, x6715, x6716, x6719, - | ^~~~~ - torch_api_generated.h:437:122: note: expected 'char *' but argument is of type 'const char *' - 437 | void atg_conv3d_padding(tensor *, tensor input, tensor weight, tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups); - | ~~~~~~~^~~~~~~ - torch_stubs.c: In function 'caml__592_atg_div_out_mode': - torch_stubs.c:8582:49: warning: passing argument 5 of 'atg_div_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 8582 | atg_div_out_mode(x8595, x8596, x8597, x8598, x8599); - | ^~~~~ - torch_api_generated.h:523:79: note: expected 'char *' but argument is of type 'const char *' - 523 | void atg_div_out_mode(tensor *, tensor out, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__595_atg_div_scalar_mode': - torch_stubs.c:8608:45: warning: passing argument 4 of 'atg_div_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 8608 | atg_div_scalar_mode(x8619, x8620, x8621, x8622); - | ^~~~~ - torch_api_generated.h:526:70: note: expected 'char *' but argument is of type 'const char *' - 526 | void atg_div_scalar_mode(tensor *, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__596_atg_div_scalar_mode_': - torch_stubs.c:8618:46: warning: passing argument 4 of 'atg_div_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 8618 | atg_div_scalar_mode_(x8628, x8629, x8630, x8631); - | ^~~~~ - torch_api_generated.h:527:71: note: expected 'char *' but argument is of type 'const char *' - 527 | void atg_div_scalar_mode_(tensor *, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__597_atg_div_tensor_mode': - torch_stubs.c:8628:45: warning: passing argument 4 of 'atg_div_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 8628 | atg_div_tensor_mode(x8637, x8638, x8639, x8640); - | ^~~~~ - torch_api_generated.h:528:70: note: expected 'char *' but argument is of type 'const char *' - 528 | void atg_div_tensor_mode(tensor *, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__598_atg_div_tensor_mode_': - torch_stubs.c:8638:46: warning: passing argument 4 of 'atg_div_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 8638 | atg_div_tensor_mode_(x8646, x8647, x8648, x8649); - | ^~~~~ - torch_api_generated.h:529:71: note: expected 'char *' but argument is of type 'const char *' - 529 | void atg_div_tensor_mode_(tensor *, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__602_atg_divide_out_mode': - torch_stubs.c:8675:52: warning: passing argument 5 of 'atg_divide_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 8675 | atg_divide_out_mode(x8679, x8680, x8681, x8682, x8683); - | ^~~~~ - torch_api_generated.h:533:82: note: expected 'char *' but argument is of type 'const char *' - 533 | void atg_divide_out_mode(tensor *, tensor out, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__605_atg_divide_scalar_mode': - torch_stubs.c:8701:48: warning: passing argument 4 of 'atg_divide_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 8701 | atg_divide_scalar_mode(x8703, x8704, x8705, x8706); - | ^~~~~ - torch_api_generated.h:536:73: note: expected 'char *' but argument is of type 'const char *' - 536 | void atg_divide_scalar_mode(tensor *, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__606_atg_divide_scalar_mode_': - torch_stubs.c:8711:49: warning: passing argument 4 of 'atg_divide_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 8711 | atg_divide_scalar_mode_(x8712, x8713, x8714, x8715); - | ^~~~~ - torch_api_generated.h:537:74: note: expected 'char *' but argument is of type 'const char *' - 537 | void atg_divide_scalar_mode_(tensor *, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__607_atg_divide_tensor_mode': - torch_stubs.c:8721:48: warning: passing argument 4 of 'atg_divide_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 8721 | atg_divide_tensor_mode(x8721, x8722, x8723, x8724); - | ^~~~~ - torch_api_generated.h:538:73: note: expected 'char *' but argument is of type 'const char *' - 538 | void atg_divide_tensor_mode(tensor *, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__608_atg_divide_tensor_mode_': - torch_stubs.c:8731:49: warning: passing argument 4 of 'atg_divide_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 8731 | atg_divide_tensor_mode_(x8730, x8731, x8732, x8733); - | ^~~~~ - torch_api_generated.h:539:74: note: expected 'char *' but argument is of type 'const char *' - 539 | void atg_divide_tensor_mode_(tensor *, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__619_atg_einsum': - torch_stubs.c:8831:22: warning: passing argument 2 of 'atg_einsum' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 8831 | atg_einsum(x8839, x8840, x8841, x8842); - | ^~~~~ - torch_api_generated.h:550:34: note: expected 'char *' but argument is of type 'const char *' - 550 | void atg_einsum(tensor *, char * equation, tensor *tensors_data, int tensors_len); - | ~~~~~~~^~~~~~~~ - torch_stubs.c: In function 'caml__684_atg_fft_fft': - torch_stubs.c:9692:44: warning: passing argument 5 of 'atg_fft_fft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9692 | atg_fft_fft(x9665, x9666, x9667, x9670, x9673); - | ^~~~~ - torch_api_generated.h:615:72: note: expected 'char *' but argument is of type 'const char *' - 615 | void atg_fft_fft(tensor *, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__685_atg_fft_fft2': - torch_stubs.c:9706:59: warning: passing argument 7 of 'atg_fft_fft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9706 | atg_fft_fft2(x9682, x9683, x9684, x9685, x9688, x9689, x9692); - | ^~~~~ - torch_api_generated.h:616:109: note: expected 'char *' but argument is of type 'const char *' - 616 | void atg_fft_fft2(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__686_atg_fft_fft2_out': - torch_stubs.c:9733:70: warning: passing argument 8 of 'atg_fft_fft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9733 | atg_fft_fft2_out(x9709, x9710, x9711, x9712, x9713, x9716, x9717, x9720); - | ^~~~~ - torch_api_generated.h:617:125: note: expected 'char *' but argument is of type 'const char *' - 617 | void atg_fft_fft2_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__687_atg_fft_fft_out': - torch_stubs.c:9759:55: warning: passing argument 6 of 'atg_fft_fft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9759 | atg_fft_fft_out(x9736, x9737, x9738, x9739, x9742, x9745); - | ^~~~~ - torch_api_generated.h:618:88: note: expected 'char *' but argument is of type 'const char *' - 618 | void atg_fft_fft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__690_atg_fft_fftn': - torch_stubs.c:9804:59: warning: passing argument 7 of 'atg_fft_fftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9804 | atg_fft_fftn(x9792, x9793, x9794, x9795, x9798, x9799, x9802); - | ^~~~~ - torch_api_generated.h:621:109: note: expected 'char *' but argument is of type 'const char *' - 621 | void atg_fft_fftn(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__691_atg_fft_fftn_out': - torch_stubs.c:9831:70: warning: passing argument 8 of 'atg_fft_fftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9831 | atg_fft_fftn_out(x9819, x9820, x9821, x9822, x9823, x9826, x9827, x9830); - | ^~~~~ - torch_api_generated.h:622:125: note: expected 'char *' but argument is of type 'const char *' - 622 | void atg_fft_fftn_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__693_atg_fft_hfft': - torch_stubs.c:9866:45: warning: passing argument 5 of 'atg_fft_hfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9866 | atg_fft_hfft(x9856, x9857, x9858, x9861, x9864); - | ^~~~~ - torch_api_generated.h:624:73: note: expected 'char *' but argument is of type 'const char *' - 624 | void atg_fft_hfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__694_atg_fft_hfft_out': - torch_stubs.c:9878:56: warning: passing argument 6 of 'atg_fft_hfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9878 | atg_fft_hfft_out(x9872, x9873, x9874, x9875, x9878, x9881); - | ^~~~~ - torch_api_generated.h:625:89: note: expected 'char *' but argument is of type 'const char *' - 625 | void atg_fft_hfft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__695_atg_fft_ifft': - torch_stubs.c:9900:45: warning: passing argument 5 of 'atg_fft_ifft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9900 | atg_fft_ifft(x9894, x9895, x9896, x9899, x9902); - | ^~~~~ - torch_api_generated.h:626:73: note: expected 'char *' but argument is of type 'const char *' - 626 | void atg_fft_ifft(tensor *, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__696_atg_fft_ifft2': - torch_stubs.c:9914:60: warning: passing argument 7 of 'atg_fft_ifft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9914 | atg_fft_ifft2(x9911, x9912, x9913, x9914, x9917, x9918, x9921); - | ^~~~~ - torch_api_generated.h:627:110: note: expected 'char *' but argument is of type 'const char *' - 627 | void atg_fft_ifft2(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__697_atg_fft_ifft2_out': - torch_stubs.c:9941:71: warning: passing argument 8 of 'atg_fft_ifft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9941 | atg_fft_ifft2_out(x9938, x9939, x9940, x9941, x9942, x9945, x9946, x9949); - | ^~~~~ - torch_api_generated.h:628:126: note: expected 'char *' but argument is of type 'const char *' - 628 | void atg_fft_ifft2_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__698_atg_fft_ifft_out': - torch_stubs.c:9967:56: warning: passing argument 6 of 'atg_fft_ifft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9967 | atg_fft_ifft_out(x9965, x9966, x9967, x9968, x9971, x9974); - | ^~~~~ - torch_api_generated.h:629:89: note: expected 'char *' but argument is of type 'const char *' - 629 | void atg_fft_ifft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__699_atg_fft_ifftn': - torch_stubs.c:9992:60: warning: passing argument 7 of 'atg_fft_ifftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9992 | atg_fft_ifftn(x9989, x9990, x9991, x9992, x9995, x9996, x9999); - | ^~~~~ - torch_api_generated.h:630:110: note: expected 'char *' but argument is of type 'const char *' - 630 | void atg_fft_ifftn(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__700_atg_fft_ifftn_out': - torch_stubs.c:10021:30: warning: passing argument 8 of 'atg_fft_ifftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10021 | x10024, x10027); - | ^~~~~~ - torch_api_generated.h:631:126: note: expected 'char *' but argument is of type 'const char *' - 631 | void atg_fft_ifftn_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__702_atg_fft_ihfft': - torch_stubs.c:10056:50: warning: passing argument 5 of 'atg_fft_ihfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10056 | atg_fft_ihfft(x10053, x10054, x10055, x10058, x10061); - | ^~~~~~ - torch_api_generated.h:633:74: note: expected 'char *' but argument is of type 'const char *' - 633 | void atg_fft_ihfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__703_atg_fft_ihfft_out': - torch_stubs.c:10068:62: warning: passing argument 6 of 'atg_fft_ihfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10068 | atg_fft_ihfft_out(x10069, x10070, x10071, x10072, x10075, x10078); - | ^~~~~~ - torch_api_generated.h:634:90: note: expected 'char *' but argument is of type 'const char *' - 634 | void atg_fft_ihfft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__704_atg_fft_irfft': - torch_stubs.c:10091:50: warning: passing argument 5 of 'atg_fft_irfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10091 | atg_fft_irfft(x10091, x10092, x10093, x10096, x10099); - | ^~~~~~ - torch_api_generated.h:635:74: note: expected 'char *' but argument is of type 'const char *' - 635 | void atg_fft_irfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__705_atg_fft_irfft2': - torch_stubs.c:10105:67: warning: passing argument 7 of 'atg_fft_irfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10105 | atg_fft_irfft2(x10108, x10109, x10110, x10111, x10114, x10115, x10118); - | ^~~~~~ - torch_api_generated.h:636:111: note: expected 'char *' but argument is of type 'const char *' - 636 | void atg_fft_irfft2(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__706_atg_fft_irfft2_out': - torch_stubs.c:10134:31: warning: passing argument 8 of 'atg_fft_irfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10134 | x10143, x10146); - | ^~~~~~ - torch_api_generated.h:637:127: note: expected 'char *' but argument is of type 'const char *' - 637 | void atg_fft_irfft2_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__707_atg_fft_irfft_out': - torch_stubs.c:10160:62: warning: passing argument 6 of 'atg_fft_irfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10160 | atg_fft_irfft_out(x10162, x10163, x10164, x10165, x10168, x10171); - | ^~~~~~ - torch_api_generated.h:638:90: note: expected 'char *' but argument is of type 'const char *' - 638 | void atg_fft_irfft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__708_atg_fft_irfftn': - torch_stubs.c:10186:67: warning: passing argument 7 of 'atg_fft_irfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10186 | atg_fft_irfftn(x10186, x10187, x10188, x10189, x10192, x10193, x10196); - | ^~~~~~ - torch_api_generated.h:639:111: note: expected 'char *' but argument is of type 'const char *' - 639 | void atg_fft_irfftn(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__709_atg_fft_irfftn_out': - torch_stubs.c:10215:31: warning: passing argument 8 of 'atg_fft_irfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10215 | x10221, x10224); - | ^~~~~~ - torch_api_generated.h:640:127: note: expected 'char *' but argument is of type 'const char *' - 640 | void atg_fft_irfftn_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__710_atg_fft_rfft': - torch_stubs.c:10240:49: warning: passing argument 5 of 'atg_fft_rfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10240 | atg_fft_rfft(x10239, x10240, x10241, x10244, x10247); - | ^~~~~~ - torch_api_generated.h:641:73: note: expected 'char *' but argument is of type 'const char *' - 641 | void atg_fft_rfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__711_atg_fft_rfft2': - torch_stubs.c:10254:66: warning: passing argument 7 of 'atg_fft_rfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10254 | atg_fft_rfft2(x10256, x10257, x10258, x10259, x10262, x10263, x10266); - | ^~~~~~ - torch_api_generated.h:642:110: note: expected 'char *' but argument is of type 'const char *' - 642 | void atg_fft_rfft2(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__712_atg_fft_rfft2_out': - torch_stubs.c:10283:30: warning: passing argument 8 of 'atg_fft_rfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10283 | x10291, x10294); - | ^~~~~~ - torch_api_generated.h:643:126: note: expected 'char *' but argument is of type 'const char *' - 643 | void atg_fft_rfft2_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__713_atg_fft_rfft_out': - torch_stubs.c:10309:61: warning: passing argument 6 of 'atg_fft_rfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10309 | atg_fft_rfft_out(x10310, x10311, x10312, x10313, x10316, x10319); - | ^~~~~~ - torch_api_generated.h:644:89: note: expected 'char *' but argument is of type 'const char *' - 644 | void atg_fft_rfft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__716_atg_fft_rfftn': - torch_stubs.c:10356:66: warning: passing argument 7 of 'atg_fft_rfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10356 | atg_fft_rfftn(x10366, x10367, x10368, x10369, x10372, x10373, x10376); - | ^~~~~~ - torch_api_generated.h:647:110: note: expected 'char *' but argument is of type 'const char *' - 647 | void atg_fft_rfftn(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__717_atg_fft_rfftn_out': - torch_stubs.c:10385:30: warning: passing argument 8 of 'atg_fft_rfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10385 | x10401, x10404); - | ^~~~~~ - torch_api_generated.h:648:126: note: expected 'char *' but argument is of type 'const char *' - 648 | void atg_fft_rfftn_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__771_atg_from_file': - torch_stubs.c:11108:26: warning: passing argument 2 of 'atg_from_file' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 11108 | atg_from_file(x11011, x11012, x11013, x11016, x11019, x11022); - | ^~~~~~ - torch_api_generated.h:702:37: note: expected 'char *' but argument is of type 'const char *' - 702 | void atg_from_file(tensor *, char * filename, int shared, int64_t size, int options_kind, int options_device); - | ~~~~~~~^~~~~~~~ - torch_stubs.c: In function 'caml__971_atg_linalg_cond_p_str': - torch_stubs.c:13598:42: warning: passing argument 3 of 'atg_linalg_cond_p_str' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13598 | atg_linalg_cond_p_str(x13472, x13473, x13474); - | ^~~~~~ - torch_api_generated.h:902:58: note: expected 'char *' but argument is of type 'const char *' - 902 | void atg_linalg_cond_p_str(tensor *, tensor self, char * p); - | ~~~~~~~^ - torch_stubs.c: In function 'caml__972_atg_linalg_cond_p_str_out': - torch_stubs.c:13608:54: warning: passing argument 4 of 'atg_linalg_cond_p_str_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13608 | atg_linalg_cond_p_str_out(x13480, x13481, x13482, x13483); - | ^~~~~~ - torch_api_generated.h:903:74: note: expected 'char *' but argument is of type 'const char *' - 903 | void atg_linalg_cond_p_str_out(tensor *, tensor out, tensor self, char * p); - | ~~~~~~~^ - torch_stubs.c: In function 'caml__977_atg_linalg_eigh': - torch_stubs.c:13648:36: warning: passing argument 3 of 'atg_linalg_eigh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13648 | atg_linalg_eigh(x13514, x13515, x13516); - | ^~~~~~ - torch_api_generated.h:908:52: note: expected 'char *' but argument is of type 'const char *' - 908 | void atg_linalg_eigh(tensor *, tensor self, char * UPLO); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__978_atg_linalg_eigh_eigvals': - torch_stubs.c:13660:60: warning: passing argument 5 of 'atg_linalg_eigh_eigvals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13660 | atg_linalg_eigh_eigvals(x13523, x13524, x13525, x13526, x13527); - | ^~~~~~ - torch_api_generated.h:909:92: note: expected 'char *' but argument is of type 'const char *' - 909 | void atg_linalg_eigh_eigvals(tensor *, tensor eigvals, tensor eigvecs, tensor self, char * UPLO); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__981_atg_linalg_eigvalsh': - torch_stubs.c:13684:40: warning: passing argument 3 of 'atg_linalg_eigvalsh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13684 | atg_linalg_eigvalsh(x13544, x13545, x13546); - | ^~~~~~ - torch_api_generated.h:912:56: note: expected 'char *' but argument is of type 'const char *' - 912 | void atg_linalg_eigvalsh(tensor *, tensor self, char * UPLO); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__982_atg_linalg_eigvalsh_out': - torch_stubs.c:13694:52: warning: passing argument 4 of 'atg_linalg_eigvalsh_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13694 | atg_linalg_eigvalsh_out(x13552, x13553, x13554, x13555); - | ^~~~~~ - torch_api_generated.h:913:72: note: expected 'char *' but argument is of type 'const char *' - 913 | void atg_linalg_eigvalsh_out(tensor *, tensor out, tensor self, char * UPLO); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__989_atg_linalg_lstsq': - torch_stubs.c:13761:53: warning: passing argument 5 of 'atg_linalg_lstsq' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13761 | atg_linalg_lstsq(x13612, x13613, x13614, x13615, x13618); - | ^~~~~~ - torch_api_generated.h:920:77: note: expected 'char *' but argument is of type 'const char *' - 920 | void atg_linalg_lstsq(tensor *, tensor self, tensor b, double rcond, char * driver); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__990_atg_linalg_lstsq_out': - torch_stubs.c:13780:41: warning: passing argument 9 of 'atg_linalg_lstsq_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13780 | x13635, x13636, x13639); - | ^~~~~~ - torch_api_generated.h:921:153: note: expected 'char *' but argument is of type 'const char *' - 921 | void atg_linalg_lstsq_out(tensor *, tensor solution, tensor residuals, tensor rank, tensor singular_values, tensor self, tensor b, double rcond, char * driver); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__993_atg_linalg_matrix_norm_str_ord': - torch_stubs.c:13870:51: warning: passing argument 3 of 'atg_linalg_matrix_norm_str_ord' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13870 | atg_linalg_matrix_norm_str_ord(x13716, x13717, x13718, x13719, x13720, - | ^~~~~~ - torch_api_generated.h:924:67: note: expected 'char *' but argument is of type 'const char *' - 924 | void atg_linalg_matrix_norm_str_ord(tensor *, tensor self, char * ord, int64_t *dim_data, int dim_len, int keepdim, int dtype); - | ~~~~~~~^~~ - torch_stubs.c: In function 'caml__994_atg_linalg_matrix_norm_str_ord_out': - torch_stubs.c:13905:63: warning: passing argument 4 of 'atg_linalg_matrix_norm_str_ord_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13905 | atg_linalg_matrix_norm_str_ord_out(x13745, x13746, x13747, x13748, - | ^~~~~~ - torch_api_generated.h:925:83: note: expected 'char *' but argument is of type 'const char *' - 925 | void atg_linalg_matrix_norm_str_ord_out(tensor *, tensor out, tensor self, char * ord, int64_t *dim_data, int dim_len, int keepdim, int dtype); - | ~~~~~~~^~~ - torch_stubs.c: In function 'caml__1007_atg_linalg_qr': - torch_stubs.c:14061:34: warning: passing argument 3 of 'atg_linalg_qr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14061 | atg_linalg_qr(x13915, x13916, x13917); - | ^~~~~~ - torch_api_generated.h:938:50: note: expected 'char *' but argument is of type 'const char *' - 938 | void atg_linalg_qr(tensor *, tensor self, char * mode); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1008_atg_linalg_qr_out': - torch_stubs.c:14072:54: warning: passing argument 5 of 'atg_linalg_qr_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14072 | atg_linalg_qr_out(x13924, x13925, x13926, x13927, x13928); - | ^~~~~~ - torch_api_generated.h:939:74: note: expected 'char *' but argument is of type 'const char *' - 939 | void atg_linalg_qr_out(tensor *, tensor Q, tensor R, tensor self, char * mode); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1218_atg_nanquantile_new': - torch_stubs.c:18001:64: warning: passing argument 6 of 'atg_nanquantile_new' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18001 | atg_nanquantile_new(x17699, x17700, x17701, x17702, x17705, x17708); - | ^~~~~~ - torch_api_generated.h:1149:92: note: expected 'char *' but argument is of type 'const char *' - 1149 | void atg_nanquantile_new(tensor *, tensor self, tensor q, int64_t dim, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1219_atg_nanquantile_new_out': - torch_stubs.c:18029:28: warning: passing argument 7 of 'atg_nanquantile_new_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18029 | x17733); - | ^~~~~~ - torch_api_generated.h:1150:108: note: expected 'char *' but argument is of type 'const char *' - 1150 | void atg_nanquantile_new_out(tensor *, tensor out, tensor self, tensor q, int64_t dim, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1220_atg_nanquantile_new_scalar': - torch_stubs.c:18055:71: warning: passing argument 6 of 'atg_nanquantile_new_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18055 | atg_nanquantile_new_scalar(x17748, x17749, x17750, x17753, x17756, x17759); - | ^~~~~~ - torch_api_generated.h:1151:99: note: expected 'char *' but argument is of type 'const char *' - 1151 | void atg_nanquantile_new_scalar(tensor *, tensor self, double q, int64_t dim, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1221_atg_nanquantile_new_scalar_out': - torch_stubs.c:18083:43: warning: passing argument 7 of 'atg_nanquantile_new_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18083 | x17783, x17786); - | ^~~~~~ - torch_api_generated.h:1152:115: note: expected 'char *' but argument is of type 'const char *' - 1152 | void atg_nanquantile_new_scalar_out(tensor *, tensor out, tensor self, double q, int64_t dim, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1338_atg_quantile_new': - torch_stubs.c:19798:61: warning: passing argument 6 of 'atg_quantile_new' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19798 | atg_quantile_new(x19467, x19468, x19469, x19470, x19473, x19476); - | ^~~~~~ - torch_api_generated.h:1269:89: note: expected 'char *' but argument is of type 'const char *' - 1269 | void atg_quantile_new(tensor *, tensor self, tensor q, int64_t dim, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1339_atg_quantile_new_out': - torch_stubs.c:19826:25: warning: passing argument 7 of 'atg_quantile_new_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19826 | x19501); - | ^~~~~~ - torch_api_generated.h:1270:105: note: expected 'char *' but argument is of type 'const char *' - 1270 | void atg_quantile_new_out(tensor *, tensor out, tensor self, tensor q, int64_t dim, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1340_atg_quantile_new_scalar': - torch_stubs.c:19852:68: warning: passing argument 6 of 'atg_quantile_new_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19852 | atg_quantile_new_scalar(x19516, x19517, x19518, x19521, x19524, x19527); - | ^~~~~~ - torch_api_generated.h:1271:96: note: expected 'char *' but argument is of type 'const char *' - 1271 | void atg_quantile_new_scalar(tensor *, tensor self, double q, int64_t dim, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1341_atg_quantile_new_scalar_out': - torch_stubs.c:19880:40: warning: passing argument 7 of 'atg_quantile_new_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19880 | x19551, x19554); - | ^~~~~~ - torch_api_generated.h:1272:112: note: expected 'char *' but argument is of type 'const char *' - 1272 | void atg_quantile_new_scalar_out(tensor *, tensor out, tensor self, double q, int64_t dim, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1455_atg_scatter_reduce_': - torch_stubs.c:21631:64: warning: passing argument 6 of 'atg_scatter_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 21631 | atg_scatter_reduce_(x21301, x21302, x21303, x21306, x21307, x21308); - | ^~~~~~ - torch_api_generated.h:1386:95: note: expected 'char *' but argument is of type 'const char *' - 1386 | void atg_scatter_reduce_(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1458_atg_scatter_value_reduce_': - torch_stubs.c:21678:70: warning: passing argument 6 of 'atg_scatter_value_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 21678 | atg_scatter_value_reduce_(x21348, x21349, x21350, x21353, x21354, x21355); - | ^~~~~~ - torch_api_generated.h:1389:103: note: expected 'char *' but argument is of type 'const char *' - 1389 | void atg_scatter_value_reduce_(tensor *, tensor self, int64_t dim, tensor index, scalar value, char * reduce); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1462_atg_segment_reduce': - torch_stubs.c:21754:39: warning: passing argument 3 of 'atg_segment_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 21754 | atg_segment_reduce(x21424, x21425, x21426, x21427, x21428, x21429, - | ^~~~~~ - torch_api_generated.h:1393:55: note: expected 'char *' but argument is of type 'const char *' - 1393 | void atg_segment_reduce(tensor *, tensor data, char * reduce, tensor lengths, tensor indices, int64_t axis, int unsafe, scalar initial); - | ~~~~~~~^~~~~~ - (cd _build/default && /home/opam/.opam/default/bin/ocamlmklib -g -o src/wrapper/torch_core_stubs src/wrapper/torch_stubs.o src/wrapper/torch_api.o -ldopt -lstdc++ -ldopt -Wl,-rpath,/home/opam/.opam/default/lib/libtorch/lib -ldopt -L/home/opam/.opam/default/lib/libtorch/lib -ldopt -lc10 -ldopt -ltorch_cpu -ldopt -ltorch) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libc10.so: .dynsym local symbol at index 138 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libc10.so: .dynsym local symbol at index 140 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 149 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 227 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 252 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 291 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 574 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 625 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 739 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 742 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 743 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 747 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 748 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 749 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 750 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 779 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 785 (>= sh_info of 2) - (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__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__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__Tensor.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Tensor.cmo -c -impl src/torch/tensor.ml) - File "src/torch/tensor.ml", line 219, characters 4-32: - 219 | Caml.Format.pp_print_newline formatter (); - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 220, characters 4-31: - 220 | Caml.Format.pp_print_string formatter (to_string t ~line_size:96); - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 221, characters 4-32: - 221 | Caml.Format.pp_print_newline formatter ()) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 226, characters 7-34: - 226 | |> Caml.Format.pp_print_string formatter - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 377, characters 10-21: - 377 | else if Caml.( <> ) (shape t1) (shape t2) - ^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -cmi-file src/torch/.torch.objs/byte/torch__Mnist_helper.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Mnist_helper.cmo -c -impl src/torch/mnist_helper.ml) - File "src/torch/mnist_helper.ml", line 35, characters 17-37: - 35 | let filename = Caml.Filename.concat prefix in - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -cmi-file src/torch/.torch.objs/byte/torch__Checkpointing.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Checkpointing.cmo -c -impl src/torch/checkpointing.ml) - File "src/torch/checkpointing.ml", line 4, characters 16-37: - 4 | let dirname = Caml.Filename.dirname checkpoint_base in - ^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/checkpointing.ml", line 5, characters 17-39: - 5 | let basename = Caml.Filename.basename checkpoint_base in - ^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/checkpointing.ml", line 12, characters 44-64: - 12 | (try Some (Int.of_string suffix, Caml.Filename.concat dirname filename) with - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/checkpointing.ml", line 6, characters 2-18: - 6 | Caml.Sys.readdir dirname - ^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/vision/.torch_vision.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/torch/.torch.objs/byte -I src/wrapper/.torch_core.objs/byte -cmi-file src/vision/.torch_vision.objs/byte/torch_vision__Image.cmi -no-alias-deps -open Torch_vision -o src/vision/.torch_vision.objs/byte/torch_vision__Image.cmo -c -impl src/vision/image.ml) - File "src/vision/image.ml", line 81, characters 10-31: - 81 | if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir (); - ^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 82, characters 14-30: - 82 | let files = Caml.Sys.readdir dir |> Array.to_list in - ^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 87, characters 26-46: - 87 | match load_image (Caml.Filename.concat dir filename) ?resize with - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 159, characters 12-33: - 159 | if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir (); - ^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 164, characters 28-48: - 164 | let next_dir = Caml.Filename.concat dir file in - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 165, characters 16-37: - 165 | if Caml.Sys.is_directory next_dir - ^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 162, characters 6-22: - 162 | Caml.Sys.readdir dir - ^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 184, characters 41-61: - 184 | load_image ?resize:t.resize (Caml.Filename.concat dir file) |> Or_error.ok_exn) - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 194, characters 37-57: - 194 | load_image ?resize:t.resize (Caml.Filename.concat dir file) |> Or_error.ok_exn) - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Tensor.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Tensor.cmx -c -impl src/torch/tensor.ml) - File "src/torch/tensor.ml", line 219, characters 4-32: - 219 | Caml.Format.pp_print_newline formatter (); - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 220, characters 4-31: - 220 | Caml.Format.pp_print_string formatter (to_string t ~line_size:96); - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 221, characters 4-32: - 221 | Caml.Format.pp_print_newline formatter ()) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 226, characters 7-34: - 226 | |> Caml.Format.pp_print_string formatter - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 377, characters 10-21: - 377 | else if Caml.( <> ) (shape t1) (shape t2) - ^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Text_helper.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Text_helper.cmx -c -impl src/torch/text_helper.ml) - File "src/torch/text_helper.ml", line 51, characters 4-22: - 51 | Caml.Gc.full_major () - ^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Dataset_helper.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Dataset_helper.cmx -c -impl src/torch/dataset_helper.ml) - File "src/torch/dataset_helper.ml", line 142, characters 4-22: - 142 | Caml.Gc.full_major (); - ^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/dataset_helper.ml", line 187, characters 4-22: - 187 | Caml.Gc.full_major () - ^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/dataset_helper.ml", line 194, characters 8-26: - 194 | Caml.Gc.full_major (); - ^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/dataset_helper.ml", line 201, characters 8-26: - 201 | Caml.Gc.full_major (); - ^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__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__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__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 -shared -linkall -I src/wrapper -o src/wrapper/torch_core.cmxs src/wrapper/torch_core.cmxa) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libc10.so: .dynsym local symbol at index 138 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libc10.so: .dynsym local symbol at index 140 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 149 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 227 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 252 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 291 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 574 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 625 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 739 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 742 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 743 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 747 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 748 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 749 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 750 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 779 (>= sh_info of 2) - /usr/bin/ld: /home/opam/.opam/default/lib/libtorch/lib/libtorch_cpu.so: .dynsym local symbol at index 785 (>= sh_info of 2) - (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.13 -> installed torch.0.13 [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:17.13: OK: build torch.0.13 (runc: 121.7s, disk: 100KB) 2026-06-23 20:17.13: Job succeeded