Build:
- 0
2026-06-24 19:11.14: New job: build torch.0.16 (52681190e4d2) 2026-06-24 19:11.14: Waiting for resource in pool day11-builds 2026-06-24 19:27.21: Got resource from pool day11-builds 2026-06-24 19:27.21: [profile full] build torch.0.16 2026-06-24 19:27.21: build torch.0.16 (52681190e4d2) === DEPENDENCIES (47 transitive) === base.v0.16.5 c92db0b3cd7a base-threads.base c9e7bdbf5823 base-unix.base 7d1428be9ddb camlzip.1.14 eefe80212523 cmdliner.2.1.1 f8fcac25252a conf-libffi.2.0.0 61d8d9bdb420 conf-pkg-config.5 d5de2c6a88f9 conf-zlib.1 5297f1b9477f csexp.1.5.2 0ced60b1f74a ctypes.0.24.0 840d5a6705c9 ctypes-foreign.0.24.0 a104cd3f6b0f dune.3.23.1 9d721df3a13a dune-configurator.3.23.1 1ab906eeab63 integers.0.8.0 8fd3523bef72 jane-street-headers.v0.16.0 500b5b6cf7ca jst-config.v0.16.0 f8acb1554549 libtorch.1.12.0+linux-x86_64 41df881adabe npy.0.0.9 f57c4a7991d4 num.1.6 bf28d08d4620 ocaml.5.3.0 ec34d524d97d ocaml-base-compiler.5.3.0 1841888fe75b ocaml-compiler.5.3.0 f295fe609c87 ocaml-compiler-libs.v0.17.0 ae1038bc23cf ocaml-config.3 a52eea84eedb ocamlfind.1.9.8 558092066ff0 parsexp.v0.16.0 a8ec4966f23c ppx_assert.v0.16.0 1f1d84cf2d77 ppx_base.v0.16.0 79ac2d402d7b ppx_cold.v0.16.0 64e25900a55b ppx_compare.v0.16.0 0163dde1fe71 ppx_custom_printf.v0.16.0 6fb26301c1a4 ppx_derivers.1.2.1 fe71b19cf412 ppx_enumerate.v0.16.0 a0e484715a8d ppx_expect.v0.16.2 154f160a14ad ppx_globalize.v0.16.0 843ff0907b63 ppx_hash.v0.16.0 4c482af3b03b ppx_here.v0.16.0 f4b7c620f63e ppx_inline_test.v0.16.1 4f6022eb7921 ppx_optcomp.v0.16.0 6c55c327396d ppx_sexp_conv.v0.16.0 cd14ca6ea5b7 ppxlib.0.35.0 1a8dd90d3f2f re.1.14.0 979bfa8c9518 sexplib.v0.16.0 8327026382e6 sexplib0.v0.16.0 52b14ebc524e stdio.v0.16.0 d015551f0463 stdlib-shims.0.3.0 c94355dec213 time_now.v0.16.0 2972fb1f9700 === STDOUT === Processing: [default: loading data] [torch.0.16: dl] [torch.0.16: extract] -> retrieved torch.0.16 (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.16) - (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__144_atg__convolution_mode': - torch_stubs.c:1463:68: warning: passing argument 7 of 'atg__convolution_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1463 | atg__convolution_mode(x1421, x1422, x1423, x1424, x1425, x1426, x1429, - | ^~~~~ - In file included from torch_api.h:162: - torch_api_generated.h:75:125: note: expected 'char *' but argument is of type 'const char *' - 75 | 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__197_atg__linalg_check_errors': - torch_stubs.c:2956:36: warning: passing argument 2 of 'atg__linalg_check_errors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 2956 | atg__linalg_check_errors(x2902, x2903, x2904); - | ^~~~~ - torch_api_generated.h:128:51: note: expected 'char *' but argument is of type 'const char *' - 128 | void atg__linalg_check_errors(tensor info, char * api_name, int is_matrix); - | ~~~~~~~^~~~~~~~ - torch_stubs.c: In function 'caml__201_atg__linalg_qr_helper': - torch_stubs.c:2998:40: warning: passing argument 3 of 'atg__linalg_qr_helper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 2998 | atg__linalg_qr_helper(x2940, x2941, x2942); - | ^~~~~ - torch_api_generated.h:132:58: note: expected 'char *' but argument is of type 'const char *' - 132 | void atg__linalg_qr_helper(tensor *, tensor self, char * mode); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__258_atg__scatter_reduce': - torch_stubs.c:3914:59: warning: passing argument 6 of 'atg__scatter_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 3914 | atg__scatter_reduce(x3905, x3906, x3907, x3910, x3911, x3912, x3913); - | ^~~~~ - torch_api_generated.h:189:95: note: expected 'char *' but argument is of type 'const char *' - 189 | 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__259_atg__scatter_reduce_': - torch_stubs.c:3941:60: warning: passing argument 6 of 'atg__scatter_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 3941 | atg__scatter_reduce_(x3931, x3932, x3933, x3936, x3937, x3938, x3939); - | ^~~~~ - torch_api_generated.h:190:96: note: expected 'char *' but argument is of type 'const char *' - 190 | 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__260_atg__scatter_reduce_two_out': - torch_stubs.c:3971:32: warning: passing argument 7 of 'atg__scatter_reduce_two_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 3971 | x3966, x3967); - | ^~~~~ - torch_api_generated.h:191:115: note: expected 'char *' but argument is of type 'const char *' - 191 | 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__261_atg__segment_reduce_backward': - torch_stubs.c:4000:61: warning: passing argument 5 of 'atg__segment_reduce_backward' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 4000 | atg__segment_reduce_backward(x3986, x3987, x3988, x3989, x3990, x3991, - | ^~~~~ - torch_api_generated.h:192:93: note: expected 'char *' but argument is of type 'const char *' - 192 | void atg__segment_reduce_backward(tensor *, tensor grad, tensor output, tensor data, char * reduce, tensor lengths, int64_t axis); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__306_atg__test_ambiguous_defaults_b': - torch_stubs.c:4755:56: warning: passing argument 4 of 'atg__test_ambiguous_defaults_b' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 4755 | atg__test_ambiguous_defaults_b(x4764, x4765, x4766, x4769); - | ^~~~~ - torch_api_generated.h:237:79: note: expected 'char *' but argument is of type 'const char *' - 237 | void atg__test_ambiguous_defaults_b(tensor *, tensor dummy, int64_t a, char * b); - | ~~~~~~~^ - torch_stubs.c: In function 'caml__311_atg__test_string_default': - torch_stubs.c:4804:43: warning: passing argument 3 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 4804 | atg__test_string_default(x4815, x4816, x4817, x4818); - | ^~~~~ - torch_api_generated.h:242:62: note: expected 'char *' but argument is of type 'const char *' - 242 | void atg__test_string_default(tensor *, tensor dummy, char * a, char * b); - | ~~~~~~~^ - torch_stubs.c:4804:50: warning: passing argument 4 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 4804 | atg__test_string_default(x4815, x4816, x4817, x4818); - | ^~~~~ - torch_api_generated.h:242:72: note: expected 'char *' but argument is of type 'const char *' - 242 | void atg__test_string_default(tensor *, tensor dummy, char * a, char * b); - | ~~~~~~~^ - torch_stubs.c: In function 'caml__664_atg_conv1d_padding': - torch_stubs.c:10177:23: warning: passing argument 7 of 'atg_conv1d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10177 | x10033, x10034, x10035, x10038); - | ^~~~~~ - torch_api_generated.h:595:122: note: expected 'char *' but argument is of type 'const char *' - 595 | 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__666_atg_conv2d_padding': - torch_stubs.c:10249:23: warning: passing argument 7 of 'atg_conv2d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10249 | x10112, x10113, x10114, x10117); - | ^~~~~~ - torch_api_generated.h:597:122: note: expected 'char *' but argument is of type 'const char *' - 597 | 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__668_atg_conv3d_padding': - torch_stubs.c:10321:23: warning: passing argument 7 of 'atg_conv3d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10321 | x10191, x10192, x10193, x10196); - | ^~~~~~ - torch_api_generated.h:599:122: note: expected 'char *' but argument is of type 'const char *' - 599 | 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__760_atg_div_out_mode': - torch_stubs.c:11829:53: warning: passing argument 5 of 'atg_div_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 11829 | atg_div_out_mode(x11751, x11752, x11753, x11754, x11755); - | ^~~~~~ - torch_api_generated.h:691:79: note: expected 'char *' but argument is of type 'const char *' - 691 | void atg_div_out_mode(tensor *, tensor out, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__763_atg_div_scalar_mode': - torch_stubs.c:11855:48: warning: passing argument 4 of 'atg_div_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 11855 | atg_div_scalar_mode(x11775, x11776, x11777, x11778); - | ^~~~~~ - torch_api_generated.h:694:70: note: expected 'char *' but argument is of type 'const char *' - 694 | void atg_div_scalar_mode(tensor *, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__764_atg_div_scalar_mode_': - torch_stubs.c:11865:49: warning: passing argument 4 of 'atg_div_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 11865 | atg_div_scalar_mode_(x11784, x11785, x11786, x11787); - | ^~~~~~ - torch_api_generated.h:695:71: note: expected 'char *' but argument is of type 'const char *' - 695 | void atg_div_scalar_mode_(tensor *, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__765_atg_div_scalar_mode_out': - torch_stubs.c:11877:60: warning: passing argument 5 of 'atg_div_scalar_mode_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 11877 | atg_div_scalar_mode_out(x11794, x11795, x11796, x11797, x11798); - | ^~~~~~ - torch_api_generated.h:696:86: note: expected 'char *' but argument is of type 'const char *' - 696 | void atg_div_scalar_mode_out(tensor *, tensor out, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__767_atg_div_tensor_mode': - torch_stubs.c:11897:48: warning: passing argument 4 of 'atg_div_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 11897 | atg_div_tensor_mode(x11813, x11814, x11815, x11816); - | ^~~~~~ - torch_api_generated.h:698:70: note: expected 'char *' but argument is of type 'const char *' - 698 | void atg_div_tensor_mode(tensor *, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__768_atg_div_tensor_mode_': - torch_stubs.c:11907:49: warning: passing argument 4 of 'atg_div_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 11907 | atg_div_tensor_mode_(x11822, x11823, x11824, x11825); - | ^~~~~~ - torch_api_generated.h:699:71: note: expected 'char *' but argument is of type 'const char *' - 699 | void atg_div_tensor_mode_(tensor *, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__772_atg_divide_out_mode': - torch_stubs.c:11944:56: warning: passing argument 5 of 'atg_divide_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 11944 | atg_divide_out_mode(x11855, x11856, x11857, x11858, x11859); - | ^~~~~~ - torch_api_generated.h:703:82: note: expected 'char *' but argument is of type 'const char *' - 703 | void atg_divide_out_mode(tensor *, tensor out, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__775_atg_divide_scalar_mode': - torch_stubs.c:11970:51: warning: passing argument 4 of 'atg_divide_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 11970 | atg_divide_scalar_mode(x11879, x11880, x11881, x11882); - | ^~~~~~ - torch_api_generated.h:706:73: note: expected 'char *' but argument is of type 'const char *' - 706 | void atg_divide_scalar_mode(tensor *, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__776_atg_divide_scalar_mode_': - torch_stubs.c:11980:52: warning: passing argument 4 of 'atg_divide_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 11980 | atg_divide_scalar_mode_(x11888, x11889, x11890, x11891); - | ^~~~~~ - torch_api_generated.h:707:74: note: expected 'char *' but argument is of type 'const char *' - 707 | void atg_divide_scalar_mode_(tensor *, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__777_atg_divide_tensor_mode': - torch_stubs.c:11990:51: warning: passing argument 4 of 'atg_divide_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 11990 | atg_divide_tensor_mode(x11897, x11898, x11899, x11900); - | ^~~~~~ - torch_api_generated.h:708:73: note: expected 'char *' but argument is of type 'const char *' - 708 | void atg_divide_tensor_mode(tensor *, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__778_atg_divide_tensor_mode_': - torch_stubs.c:12000:52: warning: passing argument 4 of 'atg_divide_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 12000 | atg_divide_tensor_mode_(x11906, x11907, x11908, x11909); - | ^~~~~~ - torch_api_generated.h:709:74: note: expected 'char *' but argument is of type 'const char *' - 709 | void atg_divide_tensor_mode_(tensor *, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__789_atg_einsum': - torch_stubs.c:12100:23: warning: passing argument 2 of 'atg_einsum' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 12100 | atg_einsum(x12015, x12016, x12017, x12018); - | ^~~~~~ - torch_api_generated.h:720:34: note: expected 'char *' but argument is of type 'const char *' - 720 | void atg_einsum(tensor *, char * equation, tensor *tensors_data, int tensors_len); - | ~~~~~~~^~~~~~~~ - torch_stubs.c: In function 'caml__862_atg_fft_fft': - torch_stubs.c:13159:56: warning: passing argument 6 of 'atg_fft_fft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13159 | atg_fft_fft(x13007, x13008, x13009, x13012, x13015, x13018); - | ^~~~~~ - torch_api_generated.h:793:86: note: expected 'char *' but argument is of type 'const char *' - 793 | 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__863_atg_fft_fft2': - torch_stubs.c:13184:65: warning: passing argument 7 of 'atg_fft_fft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13184 | atg_fft_fft2(x13033, x13034, x13035, x13036, x13039, x13040, x13043); - | ^~~~~~ - torch_api_generated.h:794:109: note: expected 'char *' but argument is of type 'const char *' - 794 | 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__864_atg_fft_fft2_out': - torch_stubs.c:13213:21: warning: passing argument 8 of 'atg_fft_fft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13213 | x13071); - | ^~~~~~ - torch_api_generated.h:795:125: note: expected 'char *' but argument is of type 'const char *' - 795 | 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__865_atg_fft_fft_out': - torch_stubs.c:13241:68: warning: passing argument 7 of 'atg_fft_fft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13241 | atg_fft_fft_out(x13088, x13089, x13090, x13091, x13094, x13097, x13100); - | ^~~~~~ - torch_api_generated.h:796:102: note: expected 'char *' but argument is of type 'const char *' - 796 | 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__868_atg_fft_fftn': - torch_stubs.c:13289:65: warning: passing argument 7 of 'atg_fft_fftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13289 | atg_fft_fftn(x13148, x13149, x13150, x13151, x13154, x13155, x13158); - | ^~~~~~ - torch_api_generated.h:799:109: note: expected 'char *' but argument is of type 'const char *' - 799 | 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__869_atg_fft_fftn_out': - torch_stubs.c:13318:21: warning: passing argument 8 of 'atg_fft_fftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13318 | x13186); - | ^~~~~~ - torch_api_generated.h:800:125: note: expected 'char *' but argument is of type 'const char *' - 800 | 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__871_atg_fft_hfft': - torch_stubs.c:13354:57: warning: passing argument 6 of 'atg_fft_hfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13354 | atg_fft_hfft(x13213, x13214, x13215, x13218, x13221, x13224); - | ^~~~~~ - torch_api_generated.h:802:87: note: expected 'char *' but argument is of type 'const char *' - 802 | 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__872_atg_fft_hfft2': - torch_stubs.c:13379:66: warning: passing argument 7 of 'atg_fft_hfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13379 | atg_fft_hfft2(x13239, x13240, x13241, x13242, x13245, x13246, x13249); - | ^~~~~~ - torch_api_generated.h:803:110: note: expected 'char *' but argument is of type 'const char *' - 803 | 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__873_atg_fft_hfft2_out': - torch_stubs.c:13408:30: warning: passing argument 8 of 'atg_fft_hfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13408 | x13274, x13277); - | ^~~~~~ - torch_api_generated.h:804:126: note: expected 'char *' but argument is of type 'const char *' - 804 | 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__874_atg_fft_hfft_out': - torch_stubs.c:13436:69: warning: passing argument 7 of 'atg_fft_hfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13436 | atg_fft_hfft_out(x13294, x13295, x13296, x13297, x13300, x13303, x13306); - | ^~~~~~ - torch_api_generated.h:805:103: note: expected 'char *' but argument is of type 'const char *' - 805 | 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__875_atg_fft_hfftn': - torch_stubs.c:13463:66: warning: passing argument 7 of 'atg_fft_hfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13463 | atg_fft_hfftn(x13322, x13323, x13324, x13325, x13328, x13329, x13332); - | ^~~~~~ - torch_api_generated.h:806:110: note: expected 'char *' but argument is of type 'const char *' - 806 | 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__876_atg_fft_hfftn_out': - torch_stubs.c:13492:30: warning: passing argument 8 of 'atg_fft_hfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13492 | x13357, x13360); - | ^~~~~~ - torch_api_generated.h:807:126: note: expected 'char *' but argument is of type 'const char *' - 807 | 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__877_atg_fft_ifft': - torch_stubs.c:13518:57: warning: passing argument 6 of 'atg_fft_ifft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13518 | atg_fft_ifft(x13376, x13377, x13378, x13381, x13384, x13387); - | ^~~~~~ - torch_api_generated.h:808:87: note: expected 'char *' but argument is of type 'const char *' - 808 | 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__878_atg_fft_ifft2': - torch_stubs.c:13543:66: warning: passing argument 7 of 'atg_fft_ifft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13543 | atg_fft_ifft2(x13402, x13403, x13404, x13405, x13408, x13409, x13412); - | ^~~~~~ - torch_api_generated.h:809:110: note: expected 'char *' but argument is of type 'const char *' - 809 | 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__879_atg_fft_ifft2_out': - torch_stubs.c:13572:30: warning: passing argument 8 of 'atg_fft_ifft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13572 | x13437, x13440); - | ^~~~~~ - torch_api_generated.h:810:126: note: expected 'char *' but argument is of type 'const char *' - 810 | 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__880_atg_fft_ifft_out': - torch_stubs.c:13600:69: warning: passing argument 7 of 'atg_fft_ifft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13600 | atg_fft_ifft_out(x13457, x13458, x13459, x13460, x13463, x13466, x13469); - | ^~~~~~ - torch_api_generated.h:811:103: note: expected 'char *' but argument is of type 'const char *' - 811 | 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__881_atg_fft_ifftn': - torch_stubs.c:13627:66: warning: passing argument 7 of 'atg_fft_ifftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13627 | atg_fft_ifftn(x13485, x13486, x13487, x13488, x13491, x13492, x13495); - | ^~~~~~ - torch_api_generated.h:812:110: note: expected 'char *' but argument is of type 'const char *' - 812 | 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__882_atg_fft_ifftn_out': - torch_stubs.c:13656:30: warning: passing argument 8 of 'atg_fft_ifftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13656 | x13520, x13523); - | ^~~~~~ - torch_api_generated.h:813:126: note: expected 'char *' but argument is of type 'const char *' - 813 | 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__884_atg_fft_ihfft': - torch_stubs.c:13692:58: warning: passing argument 6 of 'atg_fft_ihfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13692 | atg_fft_ihfft(x13550, x13551, x13552, x13555, x13558, x13561); - | ^~~~~~ - torch_api_generated.h:815:88: note: expected 'char *' but argument is of type 'const char *' - 815 | 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__885_atg_fft_ihfft2': - torch_stubs.c:13717:67: warning: passing argument 7 of 'atg_fft_ihfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13717 | atg_fft_ihfft2(x13576, x13577, x13578, x13579, x13582, x13583, x13586); - | ^~~~~~ - torch_api_generated.h:816:111: note: expected 'char *' but argument is of type 'const char *' - 816 | 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__886_atg_fft_ihfft2_out': - torch_stubs.c:13746:31: warning: passing argument 8 of 'atg_fft_ihfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13746 | x13611, x13614); - | ^~~~~~ - torch_api_generated.h:817:127: note: expected 'char *' but argument is of type 'const char *' - 817 | 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__887_atg_fft_ihfft_out': - torch_stubs.c:13774:70: warning: passing argument 7 of 'atg_fft_ihfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13774 | atg_fft_ihfft_out(x13631, x13632, x13633, x13634, x13637, x13640, x13643); - | ^~~~~~ - torch_api_generated.h:818:104: note: expected 'char *' but argument is of type 'const char *' - 818 | 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__888_atg_fft_ihfftn': - torch_stubs.c:13801:67: warning: passing argument 7 of 'atg_fft_ihfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13801 | atg_fft_ihfftn(x13659, x13660, x13661, x13662, x13665, x13666, x13669); - | ^~~~~~ - torch_api_generated.h:819:111: note: expected 'char *' but argument is of type 'const char *' - 819 | 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__889_atg_fft_ihfftn_out': - torch_stubs.c:13830:31: warning: passing argument 8 of 'atg_fft_ihfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13830 | x13694, x13697); - | ^~~~~~ - torch_api_generated.h:820:127: note: expected 'char *' but argument is of type 'const char *' - 820 | 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__890_atg_fft_irfft': - torch_stubs.c:13856:58: warning: passing argument 6 of 'atg_fft_irfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13856 | atg_fft_irfft(x13713, x13714, x13715, x13718, x13721, x13724); - | ^~~~~~ - torch_api_generated.h:821:88: note: expected 'char *' but argument is of type 'const char *' - 821 | 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__891_atg_fft_irfft2': - torch_stubs.c:13881:67: warning: passing argument 7 of 'atg_fft_irfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13881 | atg_fft_irfft2(x13739, x13740, x13741, x13742, x13745, x13746, x13749); - | ^~~~~~ - torch_api_generated.h:822:111: note: expected 'char *' but argument is of type 'const char *' - 822 | 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__892_atg_fft_irfft2_out': - torch_stubs.c:13910:31: warning: passing argument 8 of 'atg_fft_irfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13910 | x13774, x13777); - | ^~~~~~ - torch_api_generated.h:823:127: note: expected 'char *' but argument is of type 'const char *' - 823 | 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__893_atg_fft_irfft_out': - torch_stubs.c:13938:70: warning: passing argument 7 of 'atg_fft_irfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13938 | atg_fft_irfft_out(x13794, x13795, x13796, x13797, x13800, x13803, x13806); - | ^~~~~~ - torch_api_generated.h:824:104: note: expected 'char *' but argument is of type 'const char *' - 824 | 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__894_atg_fft_irfftn': - torch_stubs.c:13965:67: warning: passing argument 7 of 'atg_fft_irfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13965 | atg_fft_irfftn(x13822, x13823, x13824, x13825, x13828, x13829, x13832); - | ^~~~~~ - torch_api_generated.h:825:111: note: expected 'char *' but argument is of type 'const char *' - 825 | 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__895_atg_fft_irfftn_out': - torch_stubs.c:13994:31: warning: passing argument 8 of 'atg_fft_irfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 13994 | x13857, x13860); - | ^~~~~~ - torch_api_generated.h:826:127: note: expected 'char *' but argument is of type 'const char *' - 826 | 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__896_atg_fft_rfft': - torch_stubs.c:14020:57: warning: passing argument 6 of 'atg_fft_rfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14020 | atg_fft_rfft(x13876, x13877, x13878, x13881, x13884, x13887); - | ^~~~~~ - torch_api_generated.h:827:87: note: expected 'char *' but argument is of type 'const char *' - 827 | 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__897_atg_fft_rfft2': - torch_stubs.c:14045:66: warning: passing argument 7 of 'atg_fft_rfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14045 | atg_fft_rfft2(x13902, x13903, x13904, x13905, x13908, x13909, x13912); - | ^~~~~~ - torch_api_generated.h:828:110: note: expected 'char *' but argument is of type 'const char *' - 828 | 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__898_atg_fft_rfft2_out': - torch_stubs.c:14074:30: warning: passing argument 8 of 'atg_fft_rfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14074 | x13937, x13940); - | ^~~~~~ - torch_api_generated.h:829:126: note: expected 'char *' but argument is of type 'const char *' - 829 | 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__899_atg_fft_rfft_out': - torch_stubs.c:14102:69: warning: passing argument 7 of 'atg_fft_rfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14102 | atg_fft_rfft_out(x13957, x13958, x13959, x13960, x13963, x13966, x13969); - | ^~~~~~ - torch_api_generated.h:830:103: note: expected 'char *' but argument is of type 'const char *' - 830 | 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__902_atg_fft_rfftn': - torch_stubs.c:14150:66: warning: passing argument 7 of 'atg_fft_rfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14150 | atg_fft_rfftn(x14017, x14018, x14019, x14020, x14023, x14024, x14027); - | ^~~~~~ - torch_api_generated.h:833:110: note: expected 'char *' but argument is of type 'const char *' - 833 | 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__903_atg_fft_rfftn_out': - torch_stubs.c:14179:30: warning: passing argument 8 of 'atg_fft_rfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14179 | x14052, x14055); - | ^~~~~~ - torch_api_generated.h:834:126: note: expected 'char *' but argument is of type 'const char *' - 834 | 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__961_atg_from_file': - torch_stubs.c:14940:26: warning: passing argument 2 of 'atg_from_file' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14940 | atg_from_file(x14695, x14696, x14697, x14700, x14703, x14706, x14709); - | ^~~~~~ - torch_api_generated.h:892:37: note: expected 'char *' but argument is of type 'const char *' - 892 | 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__978_atg_gelu': - torch_stubs.c:15197:29: warning: passing argument 3 of 'atg_gelu' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 15197 | atg_gelu(x14953, x14954, x14955); - | ^~~~~~ - torch_api_generated.h:909:45: note: expected 'char *' but argument is of type 'const char *' - 909 | void atg_gelu(tensor *, tensor self, char * approximate); - | ~~~~~~~^~~~~~~~~~~ - torch_stubs.c: In function 'caml__979_atg_gelu_': - torch_stubs.c:15205:30: warning: passing argument 3 of 'atg_gelu_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 15205 | atg_gelu_(x14960, x14961, x14962); - | ^~~~~~ - torch_api_generated.h:910:46: note: expected 'char *' but argument is of type 'const char *' - 910 | void atg_gelu_(tensor *, tensor self, char * approximate); - | ~~~~~~~^~~~~~~~~~~ - torch_stubs.c: In function 'caml__980_atg_gelu_backward': - torch_stubs.c:15215:46: warning: passing argument 4 of 'atg_gelu_backward' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 15215 | atg_gelu_backward(x14968, x14969, x14970, x14971); - | ^~~~~~ - torch_api_generated.h:911:74: note: expected 'char *' but argument is of type 'const char *' - 911 | void atg_gelu_backward(tensor *, tensor grad_output, tensor self, char * approximate); - | ~~~~~~~^~~~~~~~~~~ - torch_stubs.c: In function 'caml__981_atg_gelu_backward_grad_input': - torch_stubs.c:15227:65: warning: passing argument 5 of 'atg_gelu_backward_grad_input' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 15227 | atg_gelu_backward_grad_input(x14978, x14979, x14980, x14981, x14982); - | ^~~~~~ - torch_api_generated.h:912:104: note: expected 'char *' but argument is of type 'const char *' - 912 | void atg_gelu_backward_grad_input(tensor *, tensor grad_input, tensor grad_output, tensor self, char * approximate); - | ~~~~~~~^~~~~~~~~~~ - torch_stubs.c: In function 'caml__982_atg_gelu_out': - torch_stubs.c:15237:41: warning: passing argument 4 of 'atg_gelu_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 15237 | atg_gelu_out(x14988, x14989, x14990, x14991); - | ^~~~~~ - torch_api_generated.h:913:61: note: expected 'char *' but argument is of type 'const char *' - 913 | void atg_gelu_out(tensor *, tensor out, tensor self, char * approximate); - | ~~~~~~~^~~~~~~~~~~ - torch_stubs.c: In function 'caml__1095_atg_index_reduce': - torch_stubs.c:16786:61: warning: passing argument 6 of 'atg_index_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 16786 | atg_index_reduce(x16506, x16507, x16508, x16511, x16512, x16513, x16514); - | ^~~~~~ - torch_api_generated.h:1026:95: note: expected 'char *' but argument is of type 'const char *' - 1026 | 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__1096_atg_index_reduce_': - torch_stubs.c:16813:62: warning: passing argument 6 of 'atg_index_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 16813 | atg_index_reduce_(x16532, x16533, x16534, x16537, x16538, x16539, x16540); - | ^~~~~~ - torch_api_generated.h:1027:96: note: expected 'char *' but argument is of type 'const char *' - 1027 | 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__1097_atg_index_reduce_out': - torch_stubs.c:16843:25: warning: passing argument 7 of 'atg_index_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 16843 | x16567, x16568); - | ^~~~~~ - torch_api_generated.h:1028:111: note: expected 'char *' but argument is of type 'const char *' - 1028 | 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__1186_atg_linalg_cond_p_str': - torch_stubs.c:17926:42: warning: passing argument 3 of 'atg_linalg_cond_p_str' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17926 | atg_linalg_cond_p_str(x17612, x17613, x17614); - | ^~~~~~ - torch_api_generated.h:1117:58: note: expected 'char *' but argument is of type 'const char *' - 1117 | void atg_linalg_cond_p_str(tensor *, tensor self, char * p); - | ~~~~~~~^ - torch_stubs.c: In function 'caml__1187_atg_linalg_cond_p_str_out': - torch_stubs.c:17936:54: warning: passing argument 4 of 'atg_linalg_cond_p_str_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17936 | atg_linalg_cond_p_str_out(x17620, x17621, x17622, x17623); - | ^~~~~~ - torch_api_generated.h:1118:74: note: expected 'char *' but argument is of type 'const char *' - 1118 | void atg_linalg_cond_p_str_out(tensor *, tensor out, tensor self, char * p); - | ~~~~~~~^ - torch_stubs.c: In function 'caml__1195_atg_linalg_eigh': - torch_stubs.c:18010:36: warning: passing argument 3 of 'atg_linalg_eigh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18010 | atg_linalg_eigh(x17695, x17696, x17697); - | ^~~~~~ - torch_api_generated.h:1126:52: note: expected 'char *' but argument is of type 'const char *' - 1126 | void atg_linalg_eigh(tensor *, tensor self, char * UPLO); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1196_atg_linalg_eigh_eigvals': - torch_stubs.c:18022:60: warning: passing argument 5 of 'atg_linalg_eigh_eigvals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18022 | atg_linalg_eigh_eigvals(x17704, x17705, x17706, x17707, x17708); - | ^~~~~~ - torch_api_generated.h:1127:92: note: expected 'char *' but argument is of type 'const char *' - 1127 | void atg_linalg_eigh_eigvals(tensor *, tensor eigvals, tensor eigvecs, tensor self, char * UPLO); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1199_atg_linalg_eigvalsh': - torch_stubs.c:18047:40: warning: passing argument 3 of 'atg_linalg_eigvalsh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18047 | atg_linalg_eigvalsh(x17725, x17726, x17727); - | ^~~~~~ - torch_api_generated.h:1130:56: note: expected 'char *' but argument is of type 'const char *' - 1130 | void atg_linalg_eigvalsh(tensor *, tensor self, char * UPLO); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1200_atg_linalg_eigvalsh_out': - torch_stubs.c:18057:52: warning: passing argument 4 of 'atg_linalg_eigvalsh_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18057 | atg_linalg_eigvalsh_out(x17733, x17734, x17735, x17736); - | ^~~~~~ - torch_api_generated.h:1131:72: note: expected 'char *' but argument is of type 'const char *' - 1131 | void atg_linalg_eigvalsh_out(tensor *, tensor out, tensor self, char * UPLO); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1213_atg_linalg_lstsq': - torch_stubs.c:18223:61: warning: passing argument 6 of 'atg_linalg_lstsq' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18223 | atg_linalg_lstsq(x17889, x17890, x17891, x17892, x17895, x17898); - | ^~~~~~ - torch_api_generated.h:1144:95: note: expected 'char *' but argument is of type 'const char *' - 1144 | void atg_linalg_lstsq(tensor *, tensor self, tensor b, double rcond_v, int rcond_null, char * driver); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1214_atg_linalg_lstsq_out': - torch_stubs.c:18255:49: warning: passing argument 10 of 'atg_linalg_lstsq_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18255 | x17922, x17923, x17926, x17929); - | ^~~~~~ - torch_api_generated.h:1145:171: note: expected 'char *' but argument is of type 'const char *' - 1145 | 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__1244_atg_linalg_qr': - torch_stubs.c:18758:34: warning: passing argument 3 of 'atg_linalg_qr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18758 | atg_linalg_qr(x18402, x18403, x18404); - | ^~~~~~ - torch_api_generated.h:1175:47: note: expected 'char *' but argument is of type 'const char *' - 1175 | void atg_linalg_qr(tensor *, tensor A, char * mode); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1245_atg_linalg_qr_out': - torch_stubs.c:18769:54: warning: passing argument 5 of 'atg_linalg_qr_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18769 | atg_linalg_qr_out(x18411, x18412, x18413, x18414, x18415); - | ^~~~~~ - torch_api_generated.h:1176:71: note: expected 'char *' but argument is of type 'const char *' - 1176 | void atg_linalg_qr_out(tensor *, tensor Q, tensor R, tensor A, char * mode); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1381_atg_meshgrid_indexing': - torch_stubs.c:20882:58: warning: passing argument 3 of 'atg_meshgrid_indexing' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 20882 | void** x20484 = atg_meshgrid_indexing(x20479, x20480, x20483); - | ^~~~~~ - torch_api_generated.h:1312:77: note: expected 'char *' but argument is of type 'const char *' - 1312 | tensor *atg_meshgrid_indexing(tensor *tensors_data, int tensors_len, char * indexing); - | ~~~~~~~^~~~~~~~ - torch_stubs.c: In function 'caml__1460_atg_nanquantile': - torch_stubs.c:22383:68: warning: passing argument 7 of 'atg_nanquantile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 22383 | atg_nanquantile(x21985, x21986, x21987, x21988, x21991, x21994, x21997); - | ^~~~~~ - torch_api_generated.h:1391:104: note: expected 'char *' but argument is of type 'const char *' - 1391 | 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__1461_atg_nanquantile_out': - torch_stubs.c:22413:32: warning: passing argument 8 of 'atg_nanquantile_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 22413 | x22024, x22027); - | ^~~~~~ - torch_api_generated.h:1392:120: note: expected 'char *' but argument is of type 'const char *' - 1392 | 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__1462_atg_nanquantile_scalar': - torch_stubs.c:22443:27: warning: passing argument 7 of 'atg_nanquantile_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 22443 | x22058); - | ^~~~~~ - torch_api_generated.h:1393:111: note: expected 'char *' but argument is of type 'const char *' - 1393 | 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__1463_atg_nanquantile_scalar_out': - torch_stubs.c:22473:47: warning: passing argument 8 of 'atg_nanquantile_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 22473 | x22084, x22087, x22090); - | ^~~~~~ - torch_api_generated.h:1394:127: note: expected 'char *' but argument is of type 'const char *' - 1394 | 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__1541_atg_pad': - torch_stubs.c:23752:44: warning: passing argument 5 of 'atg_pad' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 23752 | atg_pad(x23333, x23334, x23335, x23336, x23339, x23340, x23343); - | ^~~~~~ - torch_api_generated.h:1472:76: note: expected 'char *' but argument is of type 'const char *' - 1472 | 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__1580_atg_quantile': - torch_stubs.c:24185:65: warning: passing argument 7 of 'atg_quantile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 24185 | atg_quantile(x23776, x23777, x23778, x23779, x23782, x23785, x23788); - | ^~~~~~ - torch_api_generated.h:1511:101: note: expected 'char *' but argument is of type 'const char *' - 1511 | 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__1581_atg_quantile_out': - torch_stubs.c:24214:21: warning: passing argument 8 of 'atg_quantile_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 24214 | x23818); - | ^~~~~~ - torch_api_generated.h:1512:117: note: expected 'char *' but argument is of type 'const char *' - 1512 | 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__1582_atg_quantile_scalar': - torch_stubs.c:24244:24: warning: passing argument 7 of 'atg_quantile_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 24244 | x23849); - | ^~~~~~ - torch_api_generated.h:1513:108: note: expected 'char *' but argument is of type 'const char *' - 1513 | 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__1583_atg_quantile_scalar_out': - torch_stubs.c:24274:36: warning: passing argument 8 of 'atg_quantile_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 24274 | x23878, x23881); - | ^~~~~~ - torch_api_generated.h:1514:124: note: expected 'char *' but argument is of type 'const char *' - 1514 | 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__1722_atg_scatter_reduce': - torch_stubs.c:26327:63: warning: passing argument 6 of 'atg_scatter_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 26327 | atg_scatter_reduce(x25912, x25913, x25914, x25917, x25918, x25919); - | ^~~~~~ - torch_api_generated.h:1653:94: note: expected 'char *' but argument is of type 'const char *' - 1653 | void atg_scatter_reduce(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1723_atg_scatter_reduce_': - torch_stubs.c:26352:64: warning: passing argument 6 of 'atg_scatter_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 26352 | atg_scatter_reduce_(x25933, x25934, x25935, x25938, x25939, x25940); - | ^~~~~~ - torch_api_generated.h:1654:95: note: expected 'char *' but argument is of type 'const char *' - 1654 | void atg_scatter_reduce_(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1724_atg_scatter_reduce_out': - torch_stubs.c:26380:27: warning: passing argument 7 of 'atg_scatter_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 26380 | x25963); - | ^~~~~~ - torch_api_generated.h:1655:110: note: expected 'char *' but argument is of type 'const char *' - 1655 | 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__1729_atg_scatter_value_reduce': - torch_stubs.c:26478:69: warning: passing argument 6 of 'atg_scatter_value_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 26478 | atg_scatter_value_reduce(x26046, x26047, x26048, x26051, x26052, x26053); - | ^~~~~~ - torch_api_generated.h:1660:102: note: expected 'char *' but argument is of type 'const char *' - 1660 | void atg_scatter_value_reduce(tensor *, tensor self, int64_t dim, tensor index, scalar value, char * reduce); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1730_atg_scatter_value_reduce_': - torch_stubs.c:26503:70: warning: passing argument 6 of 'atg_scatter_value_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 26503 | atg_scatter_value_reduce_(x26067, x26068, x26069, x26072, x26073, x26074); - | ^~~~~~ - torch_api_generated.h:1661:103: note: expected 'char *' but argument is of type 'const char *' - 1661 | void atg_scatter_value_reduce_(tensor *, tensor self, int64_t dim, tensor index, scalar value, char * reduce); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1731_atg_scatter_value_reduce_out': - torch_stubs.c:26531:41: warning: passing argument 7 of 'atg_scatter_value_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 26531 | x26096, x26097); - | ^~~~~~ - torch_api_generated.h:1662:118: note: expected 'char *' but argument is of type 'const char *' - 1662 | 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__1732_atg_searchsorted': - torch_stubs.c:26559:61: warning: passing argument 6 of 'atg_searchsorted' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 26559 | atg_searchsorted(x26113, x26114, x26115, x26116, x26119, x26122, x26123); - | ^~~~~~ - torch_api_generated.h:1663:103: note: expected 'char *' but argument is of type 'const char *' - 1663 | void atg_searchsorted(tensor *, tensor sorted_sequence, tensor self, int out_int32, int right, char * side, tensor sorter); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1733_atg_searchsorted_scalar': - torch_stubs.c:26587:68: warning: passing argument 6 of 'atg_searchsorted_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 26587 | atg_searchsorted_scalar(x26139, x26140, x26141, x26142, x26145, x26148, - | ^~~~~~ - torch_api_generated.h:1664:110: note: expected 'char *' but argument is of type 'const char *' - 1664 | 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__1734_atg_searchsorted_tensor_out': - torch_stubs.c:26618:40: warning: passing argument 7 of 'atg_searchsorted_tensor_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 26618 | x26173, x26176, x26177); - | ^~~~~~ - torch_api_generated.h:1665:126: note: expected 'char *' but argument is of type 'const char *' - 1665 | 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__1735_atg_segment_reduce': - torch_stubs.c:26647:39: warning: passing argument 3 of 'atg_segment_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 26647 | atg_segment_reduce(x26195, x26196, x26197, x26198, x26199, x26200, - | ^~~~~~ - torch_api_generated.h:1666:55: note: expected 'char *' but argument is of type 'const char *' - 1666 | void atg_segment_reduce(tensor *, tensor data, char * reduce, tensor lengths, tensor indices, int64_t axis, int unsafe, scalar initial); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1945_atg_stft_center': - torch_stubs.c:29651:36: warning: passing argument 10 of 'atg_stft_center' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 29651 | x29059, x29060, x29063, x29064, x29067, x29070); - | ^~~~~~ - torch_api_generated.h:1876:180: note: expected 'char *' but argument is of type 'const char *' - 1876 | 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__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__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/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 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__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/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__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/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/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.16 -> installed torch.0.16 [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-24 19:29.49: OK: build torch.0.16 (runc: 124.2s, disk: 116KB) 2026-06-24 19:29.49: Job succeeded