Build:
- 0
2026-06-23 17:00.03: New job: build torch.v0.16.0 (659fbde80253) 2026-06-23 17:00.03: Waiting for resource in pool day11-builds 2026-06-23 19:13.45: Got resource from pool day11-builds 2026-06-23 19:13.45: [profile full] build torch.v0.16.0 2026-06-23 19:13.45: build torch.v0.16.0 (659fbde80253) === DEPENDENCIES (70 transitive) === base.v0.16.5 799300b0cae4 base-threads.base b7164ff76afe base-unix.base 839dc585f12d base_bigstring.v0.16.0 c7f3be818637 base_quickcheck.v0.16.0 7e746633da8f bin_prot.v0.16.0 620189a236cf conf-libffi.2.0.0 b59b18e08302 conf-pkg-config.5 4b60827fc174 core.v0.16.2 3856096d6470 csexp.1.5.2 b53491c758da ctypes.0.24.0 009c105d8ede ctypes-foreign.0.24.0 9cfa3e31fb7b dune.3.23.1 9174d78a1f0e dune-configurator.3.23.1 4ac5d9312ab3 fieldslib.v0.16.0 60dad91f6347 int_repr.v0.16.0 66586d317a0b integers.0.8.0 1bbedea3d83a jane-street-headers.v0.16.0 8eaf1ae2887f jst-config.v0.16.0 3a05e6d2bf61 libtorch.1.13.0+linux-x86_64 8ebd67d18c5b num.1.6 f281926e2d11 ocaml.5.2.1 b36a3a003df3 ocaml-base-compiler.5.2.1 91ea68ae8779 ocaml-compiler-libs.v0.17.0 eb36f3cabdba ocaml-config.3 291db63d419b parsexp.v0.16.0 18c69321579c ppx_assert.v0.16.0 ed721b244457 ppx_base.v0.16.0 f6f193adf7bb ppx_bench.v0.16.0 80684c66e5db ppx_bin_prot.v0.16.0 8ae6623dd2b3 ppx_cold.v0.16.0 03204848a48e ppx_compare.v0.16.0 1189e8e7c465 ppx_custom_printf.v0.16.0 53f6afa14fcd ppx_derivers.1.2.1 561ac31bcf9d ppx_disable_unused_warnings.v0.16.0 18134fd90951 ppx_enumerate.v0.16.0 475cf11a0af9 ppx_expect.v0.16.2 63386040563a ppx_fields_conv.v0.16.0 7be48b2d7d26 ppx_fixed_literal.v0.16.0 a174de573e14 ppx_globalize.v0.16.0 5f48d2347b4f ppx_hash.v0.16.0 0772bba858ab ppx_here.v0.16.0 8e1fbf34f5c9 ppx_ignore_instrumentation.v0.16.0 bc0a5bd143b4 ppx_inline_test.v0.16.1 30f011a314e7 ppx_jane.v0.16.0 dfb09f5750f6 ppx_let.v0.16.0 eaf4de963dff ppx_log.v0.16.0 1d2dcc324e72 ppx_module_timer.v0.16.0 57ff4a8ed6ef ppx_optcomp.v0.16.0 b39e0b9dfa81 ppx_optional.v0.16.0 f16ad10cd8e2 ppx_pipebang.v0.16.0 049b389ebad8 ppx_sexp_conv.v0.16.0 1478174bdaf4 ppx_sexp_message.v0.16.0 d874c7da8a16 ppx_sexp_value.v0.16.0 37a0b5b4ce0f ppx_stable.v0.16.0 8b473a248c65 ppx_stable_witness.v0.16.0 92789c924929 ppx_string.v0.16.0 210875d05765 ppx_tydi.v0.16.0 40f7f2408760 ppx_typerep_conv.v0.16.0 4e1b8daada57 ppx_variants_conv.v0.16.0 a19e2784c1e7 ppxlib.0.35.0 0dafdef71232 re.1.14.0 60f1531a18c8 sexplib.v0.16.0 8950e0cd4444 sexplib0.v0.16.0 718802452586 splittable_random.v0.16.0 5faa9f0b3479 stdio.v0.16.0 37722fc8eee2 stdlib-shims.0.3.0 358b380ce61e time_now.v0.16.0 806f9d5643d7 typerep.v0.16.0 8542e55200c6 variantslib.v0.16.0 64424c2ae292 === STDOUT === Processing: [default: loading data] [torch.v0.16.0: dl] [torch.v0.16.0: extract] -> retrieved torch.v0.16.0 (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.v0.16.0) - (cd _build/default/src/wrapper && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -g -I /home/opam/.opam/default/lib/ocaml -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/md5 -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/base_quickcheck -I /home/opam/.opam/default/lib/base_quickcheck/ppx_quickcheck/runtime -I /home/opam/.opam/default/lib/bin_prot -I /home/opam/.opam/default/lib/bin_prot/shape -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/fieldslib -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/jane-street-headers -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/parsexp -I /home/opam/.opam/default/lib/ppx_assert/runtime-lib -I /home/opam/.opam/default/lib/ppx_bench/runtime-lib -I /home/opam/.opam/default/lib/ppx_compare/runtime-lib -I /home/opam/.opam/default/lib/ppx_enumerate/runtime-lib -I /home/opam/.opam/default/lib/ppx_expect/collector -I /home/opam/.opam/default/lib/ppx_expect/common -I /home/opam/.opam/default/lib/ppx_expect/config -I /home/opam/.opam/default/lib/ppx_expect/config_types -I /home/opam/.opam/default/lib/ppx_hash/runtime-lib -I /home/opam/.opam/default/lib/ppx_here/runtime-lib -I /home/opam/.opam/default/lib/ppx_inline_test/config -I /home/opam/.opam/default/lib/ppx_inline_test/runtime-lib -I /home/opam/.opam/default/lib/ppx_log/types -I /home/opam/.opam/default/lib/ppx_module_timer/runtime -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ppx_stable_witness/runtime -I /home/opam/.opam/default/lib/ppx_stable_witness/stable_witness -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/splittable_random -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/time_now -I /home/opam/.opam/default/lib/typerep -I /home/opam/.opam/default/lib/variantslib -o torch_stubs.o -c torch_stubs.c) - torch_stubs.c: In function 'caml__34_at_save': - torch_stubs.c:255:18: warning: passing argument 2 of 'at_save' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 255 | at_save(x239, x240); - | ^~~~ - In file included from torch_stubs.c:1: - torch_api.h:70:28: note: expected 'char *' but argument is of type 'const char *' - 70 | void at_save(tensor, char *filename); - | ~~~~~~^~~~~~~~ - torch_stubs.c: In function 'caml__35_at_load': - torch_stubs.c:261:25: warning: passing argument 1 of 'at_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 261 | void* x244 = at_load(x243); - | ^~~~ - torch_api.h:71:22: note: expected 'char *' but argument is of type 'const char *' - 71 | tensor at_load(char *filename); - | ~~~~~~^~~~~~~~ - torch_stubs.c: In function 'caml__36_at_save_multi': - torch_stubs.c:270:36: warning: passing argument 4 of 'at_save_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 270 | at_save_multi(x249, x250, x251, x254); - | ^~~~ - torch_api.h:77:26: note: expected 'char *' but argument is of type 'const char *' - 77 | char *filename); - | ~~~~~~^~~~~~~~ - torch_stubs.c: In function 'caml__37_at_load_multi': - torch_stubs.c:279:36: warning: passing argument 4 of 'at_load_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 279 | at_load_multi(x260, x261, x262, x265); - | ^~~~ - torch_api.h:80:26: note: expected 'char *' but argument is of type 'const char *' - 80 | char *filename); - | ~~~~~~^~~~~~~~ - torch_stubs.c: In function 'caml__38_at_load_multi_': - torch_stubs.c:288:37: warning: passing argument 4 of 'at_load_multi_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 288 | at_load_multi_(x271, x272, x273, x276); - | ^~~~ - torch_api.h:83:27: note: expected 'char *' but argument is of type 'const char *' - 83 | char *filename); - | ~~~~~~^~~~~~~~ - torch_stubs.c: In function 'caml__39_at_load_callback': - torch_stubs.c:295:21: warning: passing argument 1 of 'at_load_callback' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 295 | at_load_callback(x280, x281); - | ^~~~ - torch_api.h:85:29: note: expected 'char *' but argument is of type 'const char *' - 85 | void at_load_callback(char *filename, void (*f)(char *, tensor)); - | ~~~~~~^~~~~~~~ - torch_stubs.c:295:27: warning: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types] - 295 | at_load_callback(x280, x281); - | ^~~~ - | | - | void (*)(const char *, void *) - torch_api.h:85:46: note: expected 'void (*)(char *, void *)' but argument is of type 'void (*)(const char *, void *)' - 85 | void at_load_callback(char *filename, void (*f)(char *, tensor)); - | ~~~~~~~^~~~~~~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__68_ati_string': - torch_stubs.c:504:28: warning: passing argument 1 of 'ati_string' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 504 | void* x467 = ati_string(x466); - | ^~~~ - torch_api.h:127:19: note: expected 'char *' but argument is of type 'const char *' - 127 | ivalue ati_string(char *); - | ^~~~~~ - torch_stubs.c: In function 'caml__71_atm_load': - torch_stubs.c:522:26: warning: passing argument 1 of 'atm_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 522 | void* x476 = atm_load(x475); - | ^~~~ - torch_api.h:114:17: note: expected 'char *' but argument is of type 'const char *' - 114 | module atm_load(char *); - | ^~~~~~ - torch_stubs.c: In function 'caml__72_atm_load_str': - torch_stubs.c:529:30: warning: passing argument 1 of 'atm_load_str' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 529 | void* x483 = atm_load_str(x479, x480); - | ^~~~ - torch_api.h:115:21: note: expected 'char *' but argument is of type 'const char *' - 115 | module atm_load_str(char *, size_t); - | ^~~~~~ - torch_stubs.c: In function 'caml__160_atg__convolution_mode': - torch_stubs.c:1653:68: warning: passing argument 7 of 'atg__convolution_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1653 | atg__convolution_mode(x1600, x1601, x1602, x1603, x1604, x1605, x1608, - | ^~~~~ - In file included from torch_api.h:157: - torch_api_generated.h:86:125: note: expected 'char *' but argument is of type 'const char *' - 86 | void atg__convolution_mode(tensor *, tensor input, tensor weight, tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups); - | ~~~~~~~^~~~~~~ - torch_stubs.c: In function 'caml__253_atg__linalg_check_errors': - torch_stubs.c:4359:36: warning: passing argument 2 of 'atg__linalg_check_errors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 4359 | atg__linalg_check_errors(x4355, x4356, x4357); - | ^~~~~ - torch_api_generated.h:179:51: note: expected 'char *' but argument is of type 'const char *' - 179 | void atg__linalg_check_errors(tensor info, char * api_name, int is_matrix); - | ~~~~~~~^~~~~~~~ - torch_stubs.c: In function 'caml__256_atg__linalg_eigh': - torch_stubs.c:4387:35: warning: passing argument 3 of 'atg__linalg_eigh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 4387 | atg__linalg_eigh(x4381, x4382, x4383, x4384); - | ^~~~~ - torch_api_generated.h:182:50: note: expected 'char *' but argument is of type 'const char *' - 182 | void atg__linalg_eigh(tensor *, tensor A, char * UPLO, int compute_v); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__257_atg__linalg_eigh_eigenvalues': - torch_stubs.c:4400:61: warning: passing argument 5 of 'atg__linalg_eigh_eigenvalues' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 4400 | atg__linalg_eigh_eigenvalues(x4394, x4395, x4396, x4397, x4398, x4399); - | ^~~~~ - torch_api_generated.h:183:103: note: expected 'char *' but argument is of type 'const char *' - 183 | void atg__linalg_eigh_eigenvalues(tensor *, tensor eigenvalues, tensor eigenvectors, tensor A, char * UPLO, int compute_v); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__262_atg__linalg_svd': - torch_stubs.c:4501:48: warning: passing argument 5 of 'atg__linalg_svd' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 4501 | atg__linalg_svd(x4485, x4486, x4487, x4490, x4493); - | ^~~~~ - torch_api_generated.h:188:84: note: expected 'char *' but argument is of type 'const char *' - 188 | void atg__linalg_svd(tensor *, tensor A, int full_matrices, int compute_uv, char * driver); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__263_atg__linalg_svd_u': - torch_stubs.c:4516:71: warning: passing argument 8 of 'atg__linalg_svd_u' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 4516 | atg__linalg_svd_u(x4503, x4504, x4505, x4506, x4507, x4508, x4511, x4514); - | ^~~~~ - torch_api_generated.h:189:117: note: expected 'char *' but argument is of type 'const char *' - 189 | void atg__linalg_svd_u(tensor *, tensor U, tensor S, tensor Vh, tensor A, int full_matrices, int compute_uv, char * driver); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__343_atg__scatter_reduce': - torch_stubs.c:6266:59: warning: passing argument 6 of 'atg__scatter_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 6266 | atg__scatter_reduce(x6229, x6230, x6231, x6234, x6235, x6236, x6237); - | ^~~~~ - torch_api_generated.h:269:95: note: expected 'char *' but argument is of type 'const char *' - 269 | 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__344_atg__scatter_reduce_': - torch_stubs.c:6293:60: warning: passing argument 6 of 'atg__scatter_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 6293 | atg__scatter_reduce_(x6255, x6256, x6257, x6260, x6261, x6262, x6263); - | ^~~~~ - torch_api_generated.h:270:96: note: expected 'char *' but argument is of type 'const char *' - 270 | 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__345_atg__scatter_reduce_two_out': - torch_stubs.c:6323:32: warning: passing argument 7 of 'atg__scatter_reduce_two_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 6323 | x6290, x6291); - | ^~~~~ - torch_api_generated.h:271:115: note: expected 'char *' but argument is of type 'const char *' - 271 | 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__346_atg__segment_reduce_backward': - torch_stubs.c:6355:61: warning: passing argument 5 of 'atg__segment_reduce_backward' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 6355 | atg__segment_reduce_backward(x6312, x6313, x6314, x6315, x6316, x6317, - | ^~~~~ - torch_api_generated.h:272:93: note: expected 'char *' but argument is of type 'const char *' - 272 | void atg__segment_reduce_backward(tensor *, tensor grad, tensor output, tensor data, char * reduce, tensor lengths, tensor offsets, int64_t axis, scalar initial); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__347_atg__segment_reduce_backward_out': - torch_stubs.c:6392:37: warning: passing argument 6 of 'atg__segment_reduce_backward_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 6392 | x6348, x6349, x6350, x6351, x6354); - | ^~~~~ - torch_api_generated.h:273:109: note: expected 'char *' but argument is of type 'const char *' - 273 | void atg__segment_reduce_backward_out(tensor *, tensor out, tensor grad, tensor output, tensor data, char * reduce, tensor lengths, tensor offsets, int64_t axis, scalar initial); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__410_atg__test_ambiguous_defaults_b': - torch_stubs.c:7517:56: warning: passing argument 4 of 'atg__test_ambiguous_defaults_b' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 7517 | atg__test_ambiguous_defaults_b(x7447, x7448, x7449, x7452); - | ^~~~~ - torch_api_generated.h:336:79: note: expected 'char *' but argument is of type 'const char *' - 336 | void atg__test_ambiguous_defaults_b(tensor *, tensor dummy, int64_t a, char * b); - | ~~~~~~~^ - torch_stubs.c: In function 'caml__424_atg__test_string_default': - torch_stubs.c:7657:43: warning: passing argument 3 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 7657 | atg__test_string_default(x7575, x7576, x7577, x7578); - | ^~~~~ - torch_api_generated.h:350:62: note: expected 'char *' but argument is of type 'const char *' - 350 | void atg__test_string_default(tensor *, tensor dummy, char * a, char * b); - | ~~~~~~~^ - torch_stubs.c:7657:50: warning: passing argument 4 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 7657 | atg__test_string_default(x7575, x7576, x7577, x7578); - | ^~~~~ - torch_api_generated.h:350:72: note: expected 'char *' but argument is of type 'const char *' - 350 | void atg__test_string_default(tensor *, tensor dummy, char * a, char * b); - | ~~~~~~~^ - torch_stubs.c: In function 'caml__842_atg_conv1d_padding': - torch_stubs.c:14897:23: warning: passing argument 7 of 'atg_conv1d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14897 | x14364, x14365, x14366, x14369); - | ^~~~~~ - torch_api_generated.h:768:122: note: expected 'char *' but argument is of type 'const char *' - 768 | 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__844_atg_conv2d_padding': - torch_stubs.c:14969:23: warning: passing argument 7 of 'atg_conv2d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14969 | x14443, x14444, x14445, x14448); - | ^~~~~~ - torch_api_generated.h:770:122: note: expected 'char *' but argument is of type 'const char *' - 770 | 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__846_atg_conv3d_padding': - torch_stubs.c:15041:23: warning: passing argument 7 of 'atg_conv3d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 15041 | x14522, x14523, x14524, x14527); - | ^~~~~~ - torch_api_generated.h:772:122: note: expected 'char *' but argument is of type 'const char *' - 772 | 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__962_atg_div_out_mode': - torch_stubs.c:17293:53: warning: passing argument 5 of 'atg_div_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17293 | atg_div_out_mode(x16810, x16811, x16812, x16813, x16814); - | ^~~~~~ - torch_api_generated.h:888:79: note: expected 'char *' but argument is of type 'const char *' - 888 | void atg_div_out_mode(tensor *, tensor out, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__965_atg_div_scalar_mode': - torch_stubs.c:17319:48: warning: passing argument 4 of 'atg_div_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17319 | atg_div_scalar_mode(x16834, x16835, x16836, x16837); - | ^~~~~~ - torch_api_generated.h:891:70: note: expected 'char *' but argument is of type 'const char *' - 891 | void atg_div_scalar_mode(tensor *, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__966_atg_div_scalar_mode_': - torch_stubs.c:17329:49: warning: passing argument 4 of 'atg_div_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17329 | atg_div_scalar_mode_(x16843, x16844, x16845, x16846); - | ^~~~~~ - torch_api_generated.h:892:71: note: expected 'char *' but argument is of type 'const char *' - 892 | void atg_div_scalar_mode_(tensor *, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__967_atg_div_scalar_mode_out': - torch_stubs.c:17341:60: warning: passing argument 5 of 'atg_div_scalar_mode_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17341 | atg_div_scalar_mode_out(x16853, x16854, x16855, x16856, x16857); - | ^~~~~~ - torch_api_generated.h:893:86: note: expected 'char *' but argument is of type 'const char *' - 893 | void atg_div_scalar_mode_out(tensor *, tensor out, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__969_atg_div_tensor_mode': - torch_stubs.c:17361:48: warning: passing argument 4 of 'atg_div_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17361 | atg_div_tensor_mode(x16872, x16873, x16874, x16875); - | ^~~~~~ - torch_api_generated.h:895:70: note: expected 'char *' but argument is of type 'const char *' - 895 | void atg_div_tensor_mode(tensor *, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__970_atg_div_tensor_mode_': - torch_stubs.c:17371:49: warning: passing argument 4 of 'atg_div_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17371 | atg_div_tensor_mode_(x16881, x16882, x16883, x16884); - | ^~~~~~ - torch_api_generated.h:896:71: note: expected 'char *' but argument is of type 'const char *' - 896 | void atg_div_tensor_mode_(tensor *, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__974_atg_divide_out_mode': - torch_stubs.c:17408:56: warning: passing argument 5 of 'atg_divide_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17408 | atg_divide_out_mode(x16914, x16915, x16916, x16917, x16918); - | ^~~~~~ - torch_api_generated.h:900:82: note: expected 'char *' but argument is of type 'const char *' - 900 | void atg_divide_out_mode(tensor *, tensor out, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__977_atg_divide_scalar_mode': - torch_stubs.c:17434:51: warning: passing argument 4 of 'atg_divide_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17434 | atg_divide_scalar_mode(x16938, x16939, x16940, x16941); - | ^~~~~~ - torch_api_generated.h:903:73: note: expected 'char *' but argument is of type 'const char *' - 903 | void atg_divide_scalar_mode(tensor *, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__978_atg_divide_scalar_mode_': - torch_stubs.c:17444:52: warning: passing argument 4 of 'atg_divide_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17444 | atg_divide_scalar_mode_(x16947, x16948, x16949, x16950); - | ^~~~~~ - torch_api_generated.h:904:74: note: expected 'char *' but argument is of type 'const char *' - 904 | void atg_divide_scalar_mode_(tensor *, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__979_atg_divide_tensor_mode': - torch_stubs.c:17454:51: warning: passing argument 4 of 'atg_divide_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17454 | atg_divide_tensor_mode(x16956, x16957, x16958, x16959); - | ^~~~~~ - torch_api_generated.h:905:73: note: expected 'char *' but argument is of type 'const char *' - 905 | void atg_divide_tensor_mode(tensor *, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__980_atg_divide_tensor_mode_': - torch_stubs.c:17464:52: warning: passing argument 4 of 'atg_divide_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17464 | atg_divide_tensor_mode_(x16965, x16966, x16967, x16968); - | ^~~~~~ - torch_api_generated.h:906:74: note: expected 'char *' but argument is of type 'const char *' - 906 | void atg_divide_tensor_mode_(tensor *, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__989_atg_einsum': - torch_stubs.c:17547:23: warning: passing argument 2 of 'atg_einsum' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17547 | atg_einsum(x17054, x17055, x17056, x17057, x17060, x17061); - | ^~~~~~ - torch_api_generated.h:915:34: note: expected 'char *' but argument is of type 'const char *' - 915 | void atg_einsum(tensor *, char * equation, tensor *tensors_data, int tensors_len, int64_t *path_data, int path_len); - | ~~~~~~~^~~~~~~~ - torch_stubs.c: In function 'caml__1070_atg_fft_fft': - torch_stubs.c:18823:56: warning: passing argument 6 of 'atg_fft_fft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18823 | atg_fft_fft(x18227, x18228, x18229, x18232, x18235, x18238); - | ^~~~~~ - torch_api_generated.h:996:86: note: expected 'char *' but argument is of type 'const char *' - 996 | 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__1071_atg_fft_fft2': - torch_stubs.c:18848:65: warning: passing argument 7 of 'atg_fft_fft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18848 | atg_fft_fft2(x18253, x18254, x18255, x18256, x18259, x18260, x18263); - | ^~~~~~ - torch_api_generated.h:997:109: note: expected 'char *' but argument is of type 'const char *' - 997 | 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__1072_atg_fft_fft2_out': - torch_stubs.c:18877:21: warning: passing argument 8 of 'atg_fft_fft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18877 | x18291); - | ^~~~~~ - torch_api_generated.h:998:125: note: expected 'char *' but argument is of type 'const char *' - 998 | 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__1073_atg_fft_fft_out': - torch_stubs.c:18905:68: warning: passing argument 7 of 'atg_fft_fft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18905 | atg_fft_fft_out(x18308, x18309, x18310, x18311, x18314, x18317, x18320); - | ^~~~~~ - torch_api_generated.h:999:102: note: expected 'char *' but argument is of type 'const char *' - 999 | 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__1076_atg_fft_fftn': - torch_stubs.c:18953:65: warning: passing argument 7 of 'atg_fft_fftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18953 | atg_fft_fftn(x18368, x18369, x18370, x18371, x18374, x18375, x18378); - | ^~~~~~ - torch_api_generated.h:1002:109: note: expected 'char *' but argument is of type 'const char *' - 1002 | 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__1077_atg_fft_fftn_out': - torch_stubs.c:18982:21: warning: passing argument 8 of 'atg_fft_fftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18982 | x18406); - | ^~~~~~ - torch_api_generated.h:1003:125: note: expected 'char *' but argument is of type 'const char *' - 1003 | 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__1079_atg_fft_hfft': - torch_stubs.c:19018:57: warning: passing argument 6 of 'atg_fft_hfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19018 | atg_fft_hfft(x18433, x18434, x18435, x18438, x18441, x18444); - | ^~~~~~ - torch_api_generated.h:1005:87: note: expected 'char *' but argument is of type 'const char *' - 1005 | 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__1080_atg_fft_hfft2': - torch_stubs.c:19043:66: warning: passing argument 7 of 'atg_fft_hfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19043 | atg_fft_hfft2(x18459, x18460, x18461, x18462, x18465, x18466, x18469); - | ^~~~~~ - torch_api_generated.h:1006:110: note: expected 'char *' but argument is of type 'const char *' - 1006 | 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__1081_atg_fft_hfft2_out': - torch_stubs.c:19072:30: warning: passing argument 8 of 'atg_fft_hfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19072 | x18494, x18497); - | ^~~~~~ - torch_api_generated.h:1007:126: note: expected 'char *' but argument is of type 'const char *' - 1007 | 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__1082_atg_fft_hfft_out': - torch_stubs.c:19100:69: warning: passing argument 7 of 'atg_fft_hfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19100 | atg_fft_hfft_out(x18514, x18515, x18516, x18517, x18520, x18523, x18526); - | ^~~~~~ - torch_api_generated.h:1008:103: note: expected 'char *' but argument is of type 'const char *' - 1008 | 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__1083_atg_fft_hfftn': - torch_stubs.c:19127:66: warning: passing argument 7 of 'atg_fft_hfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19127 | atg_fft_hfftn(x18542, x18543, x18544, x18545, x18548, x18549, x18552); - | ^~~~~~ - torch_api_generated.h:1009:110: note: expected 'char *' but argument is of type 'const char *' - 1009 | 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__1084_atg_fft_hfftn_out': - torch_stubs.c:19156:30: warning: passing argument 8 of 'atg_fft_hfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19156 | x18577, x18580); - | ^~~~~~ - torch_api_generated.h:1010:126: note: expected 'char *' but argument is of type 'const char *' - 1010 | 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__1085_atg_fft_ifft': - torch_stubs.c:19182:57: warning: passing argument 6 of 'atg_fft_ifft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19182 | atg_fft_ifft(x18596, x18597, x18598, x18601, x18604, x18607); - | ^~~~~~ - torch_api_generated.h:1011:87: note: expected 'char *' but argument is of type 'const char *' - 1011 | 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__1086_atg_fft_ifft2': - torch_stubs.c:19207:66: warning: passing argument 7 of 'atg_fft_ifft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19207 | atg_fft_ifft2(x18622, x18623, x18624, x18625, x18628, x18629, x18632); - | ^~~~~~ - torch_api_generated.h:1012:110: note: expected 'char *' but argument is of type 'const char *' - 1012 | 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__1087_atg_fft_ifft2_out': - torch_stubs.c:19236:30: warning: passing argument 8 of 'atg_fft_ifft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19236 | x18657, x18660); - | ^~~~~~ - torch_api_generated.h:1013:126: note: expected 'char *' but argument is of type 'const char *' - 1013 | 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__1088_atg_fft_ifft_out': - torch_stubs.c:19264:69: warning: passing argument 7 of 'atg_fft_ifft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19264 | atg_fft_ifft_out(x18677, x18678, x18679, x18680, x18683, x18686, x18689); - | ^~~~~~ - torch_api_generated.h:1014:103: note: expected 'char *' but argument is of type 'const char *' - 1014 | 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__1089_atg_fft_ifftn': - torch_stubs.c:19291:66: warning: passing argument 7 of 'atg_fft_ifftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19291 | atg_fft_ifftn(x18705, x18706, x18707, x18708, x18711, x18712, x18715); - | ^~~~~~ - torch_api_generated.h:1015:110: note: expected 'char *' but argument is of type 'const char *' - 1015 | 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__1090_atg_fft_ifftn_out': - torch_stubs.c:19320:30: warning: passing argument 8 of 'atg_fft_ifftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19320 | x18740, x18743); - | ^~~~~~ - torch_api_generated.h:1016:126: note: expected 'char *' but argument is of type 'const char *' - 1016 | 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__1092_atg_fft_ihfft': - torch_stubs.c:19356:58: warning: passing argument 6 of 'atg_fft_ihfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19356 | atg_fft_ihfft(x18770, x18771, x18772, x18775, x18778, x18781); - | ^~~~~~ - torch_api_generated.h:1018:88: note: expected 'char *' but argument is of type 'const char *' - 1018 | 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__1093_atg_fft_ihfft2': - torch_stubs.c:19381:67: warning: passing argument 7 of 'atg_fft_ihfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19381 | atg_fft_ihfft2(x18796, x18797, x18798, x18799, x18802, x18803, x18806); - | ^~~~~~ - torch_api_generated.h:1019:111: note: expected 'char *' but argument is of type 'const char *' - 1019 | 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__1094_atg_fft_ihfft2_out': - torch_stubs.c:19410:31: warning: passing argument 8 of 'atg_fft_ihfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19410 | x18831, x18834); - | ^~~~~~ - torch_api_generated.h:1020:127: note: expected 'char *' but argument is of type 'const char *' - 1020 | 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__1095_atg_fft_ihfft_out': - torch_stubs.c:19438:70: warning: passing argument 7 of 'atg_fft_ihfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19438 | atg_fft_ihfft_out(x18851, x18852, x18853, x18854, x18857, x18860, x18863); - | ^~~~~~ - torch_api_generated.h:1021:104: note: expected 'char *' but argument is of type 'const char *' - 1021 | 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__1096_atg_fft_ihfftn': - torch_stubs.c:19465:67: warning: passing argument 7 of 'atg_fft_ihfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19465 | atg_fft_ihfftn(x18879, x18880, x18881, x18882, x18885, x18886, x18889); - | ^~~~~~ - torch_api_generated.h:1022:111: note: expected 'char *' but argument is of type 'const char *' - 1022 | 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__1097_atg_fft_ihfftn_out': - torch_stubs.c:19494:31: warning: passing argument 8 of 'atg_fft_ihfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19494 | x18914, x18917); - | ^~~~~~ - torch_api_generated.h:1023:127: note: expected 'char *' but argument is of type 'const char *' - 1023 | 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__1098_atg_fft_irfft': - torch_stubs.c:19520:58: warning: passing argument 6 of 'atg_fft_irfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19520 | atg_fft_irfft(x18933, x18934, x18935, x18938, x18941, x18944); - | ^~~~~~ - torch_api_generated.h:1024:88: note: expected 'char *' but argument is of type 'const char *' - 1024 | 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__1099_atg_fft_irfft2': - torch_stubs.c:19545:67: warning: passing argument 7 of 'atg_fft_irfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19545 | atg_fft_irfft2(x18959, x18960, x18961, x18962, x18965, x18966, x18969); - | ^~~~~~ - torch_api_generated.h:1025:111: note: expected 'char *' but argument is of type 'const char *' - 1025 | 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__1100_atg_fft_irfft2_out': - torch_stubs.c:19574:31: warning: passing argument 8 of 'atg_fft_irfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19574 | x18994, x18997); - | ^~~~~~ - torch_api_generated.h:1026:127: note: expected 'char *' but argument is of type 'const char *' - 1026 | 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__1101_atg_fft_irfft_out': - torch_stubs.c:19602:70: warning: passing argument 7 of 'atg_fft_irfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19602 | atg_fft_irfft_out(x19014, x19015, x19016, x19017, x19020, x19023, x19026); - | ^~~~~~ - torch_api_generated.h:1027:104: note: expected 'char *' but argument is of type 'const char *' - 1027 | 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__1102_atg_fft_irfftn': - torch_stubs.c:19629:67: warning: passing argument 7 of 'atg_fft_irfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19629 | atg_fft_irfftn(x19042, x19043, x19044, x19045, x19048, x19049, x19052); - | ^~~~~~ - torch_api_generated.h:1028:111: note: expected 'char *' but argument is of type 'const char *' - 1028 | 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__1103_atg_fft_irfftn_out': - torch_stubs.c:19658:31: warning: passing argument 8 of 'atg_fft_irfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19658 | x19077, x19080); - | ^~~~~~ - torch_api_generated.h:1029:127: note: expected 'char *' but argument is of type 'const char *' - 1029 | 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__1104_atg_fft_rfft': - torch_stubs.c:19684:57: warning: passing argument 6 of 'atg_fft_rfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19684 | atg_fft_rfft(x19096, x19097, x19098, x19101, x19104, x19107); - | ^~~~~~ - torch_api_generated.h:1030:87: note: expected 'char *' but argument is of type 'const char *' - 1030 | 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__1105_atg_fft_rfft2': - torch_stubs.c:19709:66: warning: passing argument 7 of 'atg_fft_rfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19709 | atg_fft_rfft2(x19122, x19123, x19124, x19125, x19128, x19129, x19132); - | ^~~~~~ - torch_api_generated.h:1031:110: note: expected 'char *' but argument is of type 'const char *' - 1031 | 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__1106_atg_fft_rfft2_out': - torch_stubs.c:19738:30: warning: passing argument 8 of 'atg_fft_rfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19738 | x19157, x19160); - | ^~~~~~ - torch_api_generated.h:1032:126: note: expected 'char *' but argument is of type 'const char *' - 1032 | 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__1107_atg_fft_rfft_out': - torch_stubs.c:19766:69: warning: passing argument 7 of 'atg_fft_rfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19766 | atg_fft_rfft_out(x19177, x19178, x19179, x19180, x19183, x19186, x19189); - | ^~~~~~ - torch_api_generated.h:1033:103: note: expected 'char *' but argument is of type 'const char *' - 1033 | 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__1110_atg_fft_rfftn': - torch_stubs.c:19814:66: warning: passing argument 7 of 'atg_fft_rfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19814 | atg_fft_rfftn(x19237, x19238, x19239, x19240, x19243, x19244, x19247); - | ^~~~~~ - torch_api_generated.h:1036:110: note: expected 'char *' but argument is of type 'const char *' - 1036 | 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__1111_atg_fft_rfftn_out': - torch_stubs.c:19843:30: warning: passing argument 8 of 'atg_fft_rfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19843 | x19272, x19275); - | ^~~~~~ - torch_api_generated.h:1037:126: note: expected 'char *' but argument is of type 'const char *' - 1037 | 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__1170_atg_from_file': - torch_stubs.c:20623:26: warning: passing argument 2 of 'atg_from_file' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 20623 | atg_from_file(x19928, x19929, x19930, x19933, x19936, x19939, x19942); - | ^~~~~~ - torch_api_generated.h:1096:37: note: expected 'char *' but argument is of type 'const char *' - 1096 | 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__1171_atg_from_file_out': - torch_stubs.c:20648:38: warning: passing argument 3 of 'atg_from_file_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 20648 | atg_from_file_out(x19959, x19960, x19961, x19962, x19965, x19968); - | ^~~~~~ - torch_api_generated.h:1097:53: note: expected 'char *' but argument is of type 'const char *' - 1097 | void atg_from_file_out(tensor *, tensor out, char * filename, int shared, int64_t size_v, int size_null); - | ~~~~~~~^~~~~~~~ - torch_stubs.c: In function 'caml__1189_atg_gelu': - torch_stubs.c:20916:29: warning: passing argument 3 of 'atg_gelu' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 20916 | atg_gelu(x20220, x20221, x20222); - | ^~~~~~ - torch_api_generated.h:1115:45: note: expected 'char *' but argument is of type 'const char *' - 1115 | void atg_gelu(tensor *, tensor self, char * approximate); - | ~~~~~~~^~~~~~~~~~~ - torch_stubs.c: In function 'caml__1190_atg_gelu_': - torch_stubs.c:20924:30: warning: passing argument 3 of 'atg_gelu_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 20924 | atg_gelu_(x20227, x20228, x20229); - | ^~~~~~ - torch_api_generated.h:1116:46: note: expected 'char *' but argument is of type 'const char *' - 1116 | void atg_gelu_(tensor *, tensor self, char * approximate); - | ~~~~~~~^~~~~~~~~~~ - torch_stubs.c: In function 'caml__1191_atg_gelu_backward': - torch_stubs.c:20934:46: warning: passing argument 4 of 'atg_gelu_backward' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 20934 | atg_gelu_backward(x20235, x20236, x20237, x20238); - | ^~~~~~ - torch_api_generated.h:1117:74: note: expected 'char *' but argument is of type 'const char *' - 1117 | void atg_gelu_backward(tensor *, tensor grad_output, tensor self, char * approximate); - | ~~~~~~~^~~~~~~~~~~ - torch_stubs.c: In function 'caml__1192_atg_gelu_backward_grad_input': - torch_stubs.c:20946:65: warning: passing argument 5 of 'atg_gelu_backward_grad_input' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 20946 | atg_gelu_backward_grad_input(x20245, x20246, x20247, x20248, x20249); - | ^~~~~~ - torch_api_generated.h:1118:104: note: expected 'char *' but argument is of type 'const char *' - 1118 | void atg_gelu_backward_grad_input(tensor *, tensor grad_input, tensor grad_output, tensor self, char * approximate); - | ~~~~~~~^~~~~~~~~~~ - torch_stubs.c: In function 'caml__1193_atg_gelu_out': - torch_stubs.c:20956:41: warning: passing argument 4 of 'atg_gelu_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 20956 | atg_gelu_out(x20255, x20256, x20257, x20258); - | ^~~~~~ - torch_api_generated.h:1119:61: note: expected 'char *' but argument is of type 'const char *' - 1119 | void atg_gelu_out(tensor *, tensor out, tensor self, char * approximate); - | ~~~~~~~^~~~~~~~~~~ - torch_stubs.c: In function 'caml__1315_atg_index_reduce': - torch_stubs.c:22621:61: warning: passing argument 6 of 'atg_index_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 22621 | atg_index_reduce(x21877, x21878, x21879, x21882, x21883, x21884, x21885); - | ^~~~~~ - torch_api_generated.h:1241:95: note: expected 'char *' but argument is of type 'const char *' - 1241 | 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__1316_atg_index_reduce_': - torch_stubs.c:22648:62: warning: passing argument 6 of 'atg_index_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 22648 | atg_index_reduce_(x21903, x21904, x21905, x21908, x21909, x21910, x21911); - | ^~~~~~ - torch_api_generated.h:1242:96: note: expected 'char *' but argument is of type 'const char *' - 1242 | 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__1317_atg_index_reduce_out': - torch_stubs.c:22678:25: warning: passing argument 7 of 'atg_index_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 22678 | x21938, x21939); - | ^~~~~~ - torch_api_generated.h:1243:111: note: expected 'char *' but argument is of type 'const char *' - 1243 | 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__1427_atg_linalg_cond_p_str': - torch_stubs.c:23871:42: warning: passing argument 3 of 'atg_linalg_cond_p_str' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 23871 | atg_linalg_cond_p_str(x23059, x23060, x23061); - | ^~~~~~ - torch_api_generated.h:1353:58: note: expected 'char *' but argument is of type 'const char *' - 1353 | void atg_linalg_cond_p_str(tensor *, tensor self, char * p); - | ~~~~~~~^ - torch_stubs.c: In function 'caml__1428_atg_linalg_cond_p_str_out': - torch_stubs.c:23881:54: warning: passing argument 4 of 'atg_linalg_cond_p_str_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 23881 | atg_linalg_cond_p_str_out(x23067, x23068, x23069, x23070); - | ^~~~~~ - torch_api_generated.h:1354:74: note: expected 'char *' but argument is of type 'const char *' - 1354 | void atg_linalg_cond_p_str_out(tensor *, tensor out, tensor self, char * p); - | ~~~~~~~^ - torch_stubs.c: In function 'caml__1436_atg_linalg_eigh': - torch_stubs.c:23955:36: warning: passing argument 3 of 'atg_linalg_eigh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 23955 | atg_linalg_eigh(x23142, x23143, x23144); - | ^~~~~~ - torch_api_generated.h:1362:52: note: expected 'char *' but argument is of type 'const char *' - 1362 | void atg_linalg_eigh(tensor *, tensor self, char * UPLO); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1437_atg_linalg_eigh_eigvals': - torch_stubs.c:23967:60: warning: passing argument 5 of 'atg_linalg_eigh_eigvals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 23967 | atg_linalg_eigh_eigvals(x23151, x23152, x23153, x23154, x23155); - | ^~~~~~ - torch_api_generated.h:1363:92: note: expected 'char *' but argument is of type 'const char *' - 1363 | void atg_linalg_eigh_eigvals(tensor *, tensor eigvals, tensor eigvecs, tensor self, char * UPLO); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1440_atg_linalg_eigvalsh': - torch_stubs.c:23992:40: warning: passing argument 3 of 'atg_linalg_eigvalsh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 23992 | atg_linalg_eigvalsh(x23172, x23173, x23174); - | ^~~~~~ - torch_api_generated.h:1366:56: note: expected 'char *' but argument is of type 'const char *' - 1366 | void atg_linalg_eigvalsh(tensor *, tensor self, char * UPLO); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1441_atg_linalg_eigvalsh_out': - torch_stubs.c:24002:52: warning: passing argument 4 of 'atg_linalg_eigvalsh_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 24002 | atg_linalg_eigvalsh_out(x23180, x23181, x23182, x23183); - | ^~~~~~ - torch_api_generated.h:1367:72: note: expected 'char *' but argument is of type 'const char *' - 1367 | void atg_linalg_eigvalsh_out(tensor *, tensor out, tensor self, char * UPLO); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1454_atg_linalg_lstsq': - torch_stubs.c:24168:61: warning: passing argument 6 of 'atg_linalg_lstsq' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 24168 | atg_linalg_lstsq(x23336, x23337, x23338, x23339, x23342, x23345); - | ^~~~~~ - torch_api_generated.h:1380:95: note: expected 'char *' but argument is of type 'const char *' - 1380 | void atg_linalg_lstsq(tensor *, tensor self, tensor b, double rcond_v, int rcond_null, char * driver); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1455_atg_linalg_lstsq_out': - torch_stubs.c:24200:49: warning: passing argument 10 of 'atg_linalg_lstsq_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 24200 | x23369, x23370, x23373, x23376); - | ^~~~~~ - torch_api_generated.h:1381:171: note: expected 'char *' but argument is of type 'const char *' - 1381 | 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__1488_atg_linalg_qr': - torch_stubs.c:24766:34: warning: passing argument 3 of 'atg_linalg_qr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 24766 | atg_linalg_qr(x23905, x23906, x23907); - | ^~~~~~ - torch_api_generated.h:1414:47: note: expected 'char *' but argument is of type 'const char *' - 1414 | void atg_linalg_qr(tensor *, tensor A, char * mode); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1489_atg_linalg_qr_out': - torch_stubs.c:24777:54: warning: passing argument 5 of 'atg_linalg_qr_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 24777 | atg_linalg_qr_out(x23914, x23915, x23916, x23917, x23918); - | ^~~~~~ - torch_api_generated.h:1415:71: note: expected 'char *' but argument is of type 'const char *' - 1415 | void atg_linalg_qr_out(tensor *, tensor Q, tensor R, tensor A, char * mode); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1498_atg_linalg_svd': - torch_stubs.c:24923:43: warning: passing argument 4 of 'atg_linalg_svd' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 24923 | atg_linalg_svd(x24056, x24057, x24058, x24061); - | ^~~~~~ - torch_api_generated.h:1424:67: note: expected 'char *' but argument is of type 'const char *' - 1424 | void atg_linalg_svd(tensor *, tensor A, int full_matrices, char * driver); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1499_atg_linalg_svd_u': - torch_stubs.c:24937:69: warning: passing argument 7 of 'atg_linalg_svd_u' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 24937 | atg_linalg_svd_u(x24070, x24071, x24072, x24073, x24074, x24075, x24078); - | ^~~~~~ - torch_api_generated.h:1425:100: note: expected 'char *' but argument is of type 'const char *' - 1425 | void atg_linalg_svd_u(tensor *, tensor U, tensor S, tensor Vh, tensor A, int full_matrices, char * driver); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1500_atg_linalg_svdvals': - torch_stubs.c:24958:39: warning: passing argument 3 of 'atg_linalg_svdvals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 24958 | atg_linalg_svdvals(x24090, x24091, x24092); - | ^~~~~~ - torch_api_generated.h:1426:52: note: expected 'char *' but argument is of type 'const char *' - 1426 | void atg_linalg_svdvals(tensor *, tensor A, char * driver); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1501_atg_linalg_svdvals_out': - torch_stubs.c:24968:51: warning: passing argument 4 of 'atg_linalg_svdvals_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 24968 | atg_linalg_svdvals_out(x24098, x24099, x24100, x24101); - | ^~~~~~ - torch_api_generated.h:1427:68: note: expected 'char *' but argument is of type 'const char *' - 1427 | void atg_linalg_svdvals_out(tensor *, tensor out, tensor A, char * driver); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1627_atg_meshgrid_indexing': - torch_stubs.c:27005:58: warning: passing argument 3 of 'atg_meshgrid_indexing' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 27005 | void** x26120 = atg_meshgrid_indexing(x26115, x26116, x26119); - | ^~~~~~ - torch_api_generated.h:1553:77: note: expected 'char *' but argument is of type 'const char *' - 1553 | tensor *atg_meshgrid_indexing(tensor *tensors_data, int tensors_len, char * indexing); - | ~~~~~~~^~~~~~~~ - torch_stubs.c: In function 'caml__1728_atg_nanquantile': - torch_stubs.c:29437:68: warning: passing argument 7 of 'atg_nanquantile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 29437 | atg_nanquantile(x28511, x28512, x28513, x28514, x28517, x28520, x28523); - | ^~~~~~ - torch_api_generated.h:1654:104: note: expected 'char *' but argument is of type 'const char *' - 1654 | 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__1729_atg_nanquantile_out': - torch_stubs.c:29467:32: warning: passing argument 8 of 'atg_nanquantile_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 29467 | x28550, x28553); - | ^~~~~~ - torch_api_generated.h:1655:120: note: expected 'char *' but argument is of type 'const char *' - 1655 | 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__1730_atg_nanquantile_scalar': - torch_stubs.c:29497:27: warning: passing argument 7 of 'atg_nanquantile_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 29497 | x28584); - | ^~~~~~ - torch_api_generated.h:1656:111: note: expected 'char *' but argument is of type 'const char *' - 1656 | 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__1731_atg_nanquantile_scalar_out': - torch_stubs.c:29527:47: warning: passing argument 8 of 'atg_nanquantile_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 29527 | x28610, x28613, x28616); - | ^~~~~~ - torch_api_generated.h:1657:127: note: expected 'char *' but argument is of type 'const char *' - 1657 | 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__1825_atg_pad': - torch_stubs.c:31103:44: warning: passing argument 5 of 'atg_pad' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 31103 | atg_pad(x30146, x30147, x30148, x30149, x30152, x30153, x30156); - | ^~~~~~ - torch_api_generated.h:1751:76: note: expected 'char *' but argument is of type 'const char *' - 1751 | 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__1875_atg_quantile': - torch_stubs.c:31646:65: warning: passing argument 7 of 'atg_quantile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 31646 | atg_quantile(x30680, x30681, x30682, x30683, x30686, x30689, x30692); - | ^~~~~~ - torch_api_generated.h:1801:101: note: expected 'char *' but argument is of type 'const char *' - 1801 | 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__1876_atg_quantile_out': - torch_stubs.c:31675:21: warning: passing argument 8 of 'atg_quantile_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 31675 | x30722); - | ^~~~~~ - torch_api_generated.h:1802:117: note: expected 'char *' but argument is of type 'const char *' - 1802 | 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__1877_atg_quantile_scalar': - torch_stubs.c:31705:24: warning: passing argument 7 of 'atg_quantile_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 31705 | x30753); - | ^~~~~~ - torch_api_generated.h:1803:108: note: expected 'char *' but argument is of type 'const char *' - 1803 | 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__1878_atg_quantile_scalar_out': - torch_stubs.c:31735:36: warning: passing argument 8 of 'atg_quantile_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 31735 | x30782, x30785); - | ^~~~~~ - torch_api_generated.h:1804:124: note: expected 'char *' but argument is of type 'const char *' - 1804 | 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__2041_atg_scatter_reduce': - torch_stubs.c:34263:63: warning: passing argument 6 of 'atg_scatter_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 34263 | atg_scatter_reduce(x33264, x33265, x33266, x33269, x33270, x33271); - | ^~~~~~ - torch_api_generated.h:1967:94: note: expected 'char *' but argument is of type 'const char *' - 1967 | void atg_scatter_reduce(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__2042_atg_scatter_reduce_': - torch_stubs.c:34288:64: warning: passing argument 6 of 'atg_scatter_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 34288 | atg_scatter_reduce_(x33285, x33286, x33287, x33290, x33291, x33292); - | ^~~~~~ - torch_api_generated.h:1968:95: note: expected 'char *' but argument is of type 'const char *' - 1968 | void atg_scatter_reduce_(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__2043_atg_scatter_reduce_out': - torch_stubs.c:34316:27: warning: passing argument 7 of 'atg_scatter_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 34316 | x33315); - | ^~~~~~ - torch_api_generated.h:1969:110: note: expected 'char *' but argument is of type 'const char *' - 1969 | 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__2048_atg_scatter_value_reduce': - torch_stubs.c:34414:69: warning: passing argument 6 of 'atg_scatter_value_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 34414 | atg_scatter_value_reduce(x33398, x33399, x33400, x33403, x33404, x33405); - | ^~~~~~ - torch_api_generated.h:1974:102: note: expected 'char *' but argument is of type 'const char *' - 1974 | void atg_scatter_value_reduce(tensor *, tensor self, int64_t dim, tensor index, scalar value, char * reduce); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__2049_atg_scatter_value_reduce_': - torch_stubs.c:34439:70: warning: passing argument 6 of 'atg_scatter_value_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 34439 | atg_scatter_value_reduce_(x33419, x33420, x33421, x33424, x33425, x33426); - | ^~~~~~ - torch_api_generated.h:1975:103: note: expected 'char *' but argument is of type 'const char *' - 1975 | void atg_scatter_value_reduce_(tensor *, tensor self, int64_t dim, tensor index, scalar value, char * reduce); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__2050_atg_scatter_value_reduce_out': - torch_stubs.c:34467:41: warning: passing argument 7 of 'atg_scatter_value_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 34467 | x33448, x33449); - | ^~~~~~ - torch_api_generated.h:1976:118: note: expected 'char *' but argument is of type 'const char *' - 1976 | 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__2051_atg_searchsorted': - torch_stubs.c:34495:61: warning: passing argument 6 of 'atg_searchsorted' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 34495 | atg_searchsorted(x33465, x33466, x33467, x33468, x33471, x33474, x33475); - | ^~~~~~ - torch_api_generated.h:1977:103: note: expected 'char *' but argument is of type 'const char *' - 1977 | void atg_searchsorted(tensor *, tensor sorted_sequence, tensor self, int out_int32, int right, char * side, tensor sorter); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__2052_atg_searchsorted_scalar': - torch_stubs.c:34523:68: warning: passing argument 6 of 'atg_searchsorted_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 34523 | atg_searchsorted_scalar(x33491, x33492, x33493, x33494, x33497, x33500, - | ^~~~~~ - torch_api_generated.h:1978:110: note: expected 'char *' but argument is of type 'const char *' - 1978 | 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__2053_atg_searchsorted_scalar_out': - torch_stubs.c:34554:40: warning: passing argument 7 of 'atg_searchsorted_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 34554 | x33525, x33528, x33529); - | ^~~~~~ - torch_api_generated.h:1979:126: note: expected 'char *' but argument is of type 'const char *' - 1979 | void atg_searchsorted_scalar_out(tensor *, tensor out, tensor sorted_sequence, scalar self, int out_int32, int right, char * side, tensor sorter); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__2054_atg_searchsorted_tensor_out': - torch_stubs.c:34585:40: warning: passing argument 7 of 'atg_searchsorted_tensor_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 34585 | x33554, x33557, x33558); - | ^~~~~~ - torch_api_generated.h:1980:126: note: expected 'char *' but argument is of type 'const char *' - 1980 | 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__2055_atg_segment_reduce': - torch_stubs.c:34615:39: warning: passing argument 3 of 'atg_segment_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 34615 | atg_segment_reduce(x33577, x33578, x33579, x33580, x33581, x33582, - | ^~~~~~ - torch_api_generated.h:1981:55: note: expected 'char *' but argument is of type 'const char *' - 1981 | void atg_segment_reduce(tensor *, tensor data, char * reduce, tensor lengths, tensor indices, tensor offsets, int64_t axis, int unsafe, scalar initial); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__2056_atg_segment_reduce_out': - torch_stubs.c:34650:51: warning: passing argument 4 of 'atg_segment_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 34650 | atg_segment_reduce_out(x33610, x33611, x33612, x33613, x33614, x33615, - | ^~~~~~ - torch_api_generated.h:1982:71: note: expected 'char *' but argument is of type 'const char *' - 1982 | void atg_segment_reduce_out(tensor *, tensor out, tensor data, char * reduce, tensor lengths, tensor indices, tensor offsets, int64_t axis, int unsafe, scalar initial); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__2374_atg_stft_center': - torch_stubs.c:38971:36: warning: passing argument 10 of 'atg_stft_center' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 38971 | x37501, x37502, x37505, x37506, x37509, x37512); - | ^~~~~~ - torch_api_generated.h:2300:180: note: expected 'char *' but argument is of type 'const char *' - 2300 | 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); - | ~~~~~~~^~~~~~~~ -> compiled torch.v0.16.0 -> installed torch.v0.16.0 [WARNING] Opam package conf-libffi.2.0.0 depends on the following system package that can no longer be found: libffi-dev === STDERR === 2026-06-23 19:20.32: OK: build torch.v0.16.0 (runc: 342.9s, disk: 96KB) 2026-06-23 19:20.32: Job succeeded