package torch

  1. Overview
  2. Docs
On This Page
  1. Error log

torch v0.17.0

Error log

The package failed to build. The error log from opam follows.

[NOTE] Package dune is already installed (current version is 3.17.2).
The following actions will be performed:
=== install 79 packages
  - install base                        v0.17.1
  - install base_bigstring              v0.17.0
  - install base_quickcheck             v0.17.0
  - install bigarray-compat             1.1.0
  - install bin_prot                    v0.17.0
  - install capitalization              v0.17.0
  - install conf-libffi                 2.0.0
  - install conf-pkg-config             4
  - install core                        v0.17.1
  - install core_kernel                 v0.17.0
  - install core_unix                   v0.17.0
  - install csexp                       1.5.2
  - install ctypes                      0.23.0
  - install ctypes-foreign              0.23.0
  - install dune-configurator           3.17.2
  - install expect_test_helpers_core    v0.17.0
  - install fieldslib                   v0.17.0
  - install gel                         v0.17.0
  - install int_repr                    v0.17.0
  - install integers                    0.7.0
  - install jane-street-headers         v0.17.0
  - install jst-config                  v0.17.0
  - install num                         1.5-1
  - install ocaml-compiler-libs         v0.12.4
  - install ocaml_intrinsics_kernel     v0.17.1
  - install parsexp                     v0.17.0
  - install ppx_assert                  v0.17.0
  - install ppx_base                    v0.17.0
  - install ppx_bench                   v0.17.0
  - install ppx_bin_prot                v0.17.0
  - install ppx_cold                    v0.17.0
  - install ppx_compare                 v0.17.0
  - install ppx_custom_printf           v0.17.0
  - install ppx_derivers                1.2.1
  - install ppx_diff                    v0.17.0
  - install ppx_disable_unused_warnings v0.17.0
  - install ppx_enumerate               v0.17.0
  - install ppx_expect                  v0.17.2
  - install ppx_fields_conv             v0.17.0
  - install ppx_fixed_literal           v0.17.0
  - install ppx_globalize               v0.17.0
  - install ppx_hash                    v0.17.0
  - install ppx_here                    v0.17.0
  - install ppx_ignore_instrumentation  v0.17.0
  - install ppx_inline_test             v0.17.0
  - install ppx_jane                    v0.17.0
  - install ppx_let                     v0.17.0
  - install ppx_log                     v0.17.0
  - install ppx_module_timer            v0.17.0
  - install ppx_optcomp                 v0.17.0
  - install ppx_optional                v0.17.0
  - install ppx_pipebang                v0.17.0
  - install ppx_sexp_conv               v0.17.0
  - install ppx_sexp_message            v0.17.0
  - install ppx_sexp_value              v0.17.0
  - install ppx_stable                  v0.17.0
  - install ppx_stable_witness          v0.17.0
  - install ppx_string                  v0.17.0
  - install ppx_string_conv             v0.17.0
  - install ppx_tydi                    v0.17.0
  - install ppx_typerep_conv            v0.17.0
  - install ppx_variants_conv           v0.17.0
  - install ppxlib                      0.35.0
  - install ppxlib_jane                 v0.17.0
  - install re                          1.12.0
  - install seq                         base
  - install sexp_pretty                 v0.17.0
  - install sexplib                     v0.17.0
  - install sexplib0                    v0.17.0
  - install spawn                       v0.17.0
  - install splittable_random           v0.17.0
  - install stdio                       v0.17.0
  - install stdlib-shims                0.3.0
  - install time_now                    v0.17.0
  - install timezone                    v0.17.0
  - install torch                       v0.17.0
  - install typerep                     v0.17.1
  - install uopt                        v0.17.0
  - install variantslib                 v0.17.0

The following system packages will first need to be installed:
    libffi-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libffi-dev:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18776 files and directories currently installed.)
- Preparing to unpack .../libffi-dev_3.4.4-1_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.4-1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libffi-dev:amd64 (3.4.4-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base_bigstring.v0.17.0  (cached)
-> retrieved base_quickcheck.v0.17.0  (cached)
-> retrieved base.v0.17.1  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved bin_prot.v0.17.0  (cached)
-> retrieved capitalization.v0.17.0  (cached)
-> retrieved core.v0.17.1  (cached)
-> installed conf-pkg-config.4
-> retrieved core_kernel.v0.17.0  (cached)
-> retrieved core_unix.v0.17.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-libffi.2.0.0
-> retrieved ctypes.0.23.0, ctypes-foreign.0.23.0  (cached)
-> installed bigarray-compat.1.1.0
-> retrieved expect_test_helpers_core.v0.17.0  (cached)
-> installed csexp.1.5.2
-> retrieved fieldslib.v0.17.0  (cached)
-> retrieved gel.v0.17.0  (cached)
-> retrieved int_repr.v0.17.0  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved jane-street-headers.v0.17.0  (cached)
-> retrieved jst-config.v0.17.0  (cached)
-> retrieved num.1.5-1  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved parsexp.v0.17.0  (cached)
-> retrieved ppx_assert.v0.17.0  (cached)
-> retrieved ppx_base.v0.17.0  (cached)
-> installed jane-street-headers.v0.17.0
-> retrieved ppx_bench.v0.17.0  (cached)
-> retrieved ppx_bin_prot.v0.17.0  (cached)
-> retrieved ppx_cold.v0.17.0  (cached)
-> retrieved ppx_compare.v0.17.0  (cached)
-> retrieved ppx_custom_printf.v0.17.0  (cached)
-> retrieved dune-configurator.3.17.2  (cached)
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed num.1.5-1
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_diff.v0.17.0  (cached)
-> retrieved ppx_disable_unused_warnings.v0.17.0  (cached)
-> retrieved ppx_enumerate.v0.17.0  (cached)
-> retrieved ppx_expect.v0.17.2  (cached)
-> retrieved ppx_fields_conv.v0.17.0  (cached)
-> retrieved ppx_fixed_literal.v0.17.0  (cached)
-> retrieved ppx_globalize.v0.17.0  (cached)
-> retrieved ppx_hash.v0.17.0  (cached)
-> retrieved ppx_here.v0.17.0  (cached)
-> retrieved ppx_ignore_instrumentation.v0.17.0  (cached)
-> retrieved ppx_inline_test.v0.17.0  (cached)
-> retrieved ppx_jane.v0.17.0  (cached)
-> retrieved ppx_let.v0.17.0  (cached)
-> retrieved ppx_log.v0.17.0  (cached)
-> retrieved ppx_module_timer.v0.17.0  (cached)
-> retrieved ppx_optcomp.v0.17.0  (cached)
-> retrieved ppx_optional.v0.17.0  (cached)
-> retrieved ppx_pipebang.v0.17.0  (cached)
-> retrieved ppx_sexp_conv.v0.17.0  (cached)
-> retrieved ppx_sexp_message.v0.17.0  (cached)
-> retrieved ppx_sexp_value.v0.17.0  (cached)
-> retrieved ppx_stable.v0.17.0  (cached)
-> retrieved ppx_stable_witness.v0.17.0  (cached)
-> retrieved ppx_string.v0.17.0  (cached)
-> retrieved ppx_string_conv.v0.17.0  (cached)
-> retrieved ppx_tydi.v0.17.0  (cached)
-> retrieved ppx_typerep_conv.v0.17.0  (cached)
-> retrieved ppx_variants_conv.v0.17.0  (cached)
-> retrieved ppxlib_jane.v0.17.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> installed ppx_derivers.1.2.1
-> retrieved re.1.12.0  (cached)
-> retrieved sexp_pretty.v0.17.0  (cached)
-> retrieved sexplib.v0.17.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved spawn.v0.17.0  (cached)
-> retrieved splittable_random.v0.17.0  (cached)
-> retrieved stdio.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved time_now.v0.17.0  (cached)
-> retrieved timezone.v0.17.0  (cached)
-> retrieved typerep.v0.17.1  (cached)
-> retrieved uopt.v0.17.0  (cached)
-> retrieved variantslib.v0.17.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> installed stdlib-shims.0.3.0
-> installed spawn.v0.17.0
-> retrieved torch.v0.17.0  (https://github.com/janestreet/torch/archive/refs/tags/v0.17.0.tar.gz)
-> installed sexplib0.v0.17.0
-> installed integers.0.7.0
-> installed re.1.12.0
-> installed dune-configurator.3.17.2
-> installed parsexp.v0.17.0
-> installed sexplib.v0.17.0
-> installed ctypes.0.23.0
-> installed base.v0.17.1
-> installed ctypes-foreign.0.23.0
-> installed variantslib.v0.17.0
-> installed fieldslib.v0.17.0
-> installed stdio.v0.17.0
-> installed typerep.v0.17.1
-> installed ppxlib.0.35.0
-> installed ppxlib_jane.v0.17.0
-> installed ppx_optcomp.v0.17.0
-> installed ppx_here.v0.17.0
-> installed ppx_cold.v0.17.0
-> installed ppx_disable_unused_warnings.v0.17.0
-> installed ppx_tydi.v0.17.0
-> installed ppx_stable.v0.17.0
-> installed ppx_typerep_conv.v0.17.0
-> installed ppx_stable_witness.v0.17.0
-> installed ppx_variants_conv.v0.17.0
-> installed ppx_fields_conv.v0.17.0
-> installed ppx_ignore_instrumentation.v0.17.0
-> installed ppx_pipebang.v0.17.0
-> installed ppx_globalize.v0.17.0
-> installed ppx_fixed_literal.v0.17.0
-> installed ppx_enumerate.v0.17.0
-> installed ppx_compare.v0.17.0
-> installed ppx_optional.v0.17.0
-> installed ppx_let.v0.17.0
-> installed ppx_sexp_conv.v0.17.0
-> installed ppx_hash.v0.17.0
-> installed ppx_sexp_value.v0.17.0
-> installed ppx_assert.v0.17.0
-> installed ppx_sexp_message.v0.17.0
-> installed ppx_custom_printf.v0.17.0
-> installed ppx_base.v0.17.0
-> installed capitalization.v0.17.0
-> installed jst-config.v0.17.0
-> installed sexp_pretty.v0.17.0
-> installed ppx_string.v0.17.0
-> installed bin_prot.v0.17.0
-> installed time_now.v0.17.0
-> installed ppx_bin_prot.v0.17.0
-> installed ppx_string_conv.v0.17.0
-> installed ppx_module_timer.v0.17.0
-> installed ppx_inline_test.v0.17.0
-> installed ppx_bench.v0.17.0
-> installed ppx_expect.v0.17.2
-> installed splittable_random.v0.17.0
-> installed base_quickcheck.v0.17.0
-> installed ppx_log.v0.17.0
-> installed ppx_jane.v0.17.0
-> installed uopt.v0.17.0
-> installed gel.v0.17.0
-> installed int_repr.v0.17.0
-> installed base_bigstring.v0.17.0
-> installed ppx_diff.v0.17.0
-> installed core.v0.17.1
-> installed timezone.v0.17.0
-> installed expect_test_helpers_core.v0.17.0
-> installed core_kernel.v0.17.0
-> installed core_unix.v0.17.0
[ERROR] The compilation of torch.v0.17.0 failed at "dune build -p torch -j 39".

#=== ERROR while compiling torch.v0.17.0 ======================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///src
# path                 ~/.opam/5.1/.opam-switch/build/torch.v0.17.0
# command              ~/.opam/5.1/bin/dune build -p torch -j 39
# exit-code            1
# env-file             ~/.opam/log/torch-113-bb8808.env
# output-file          ~/.opam/log/torch-113-bb8808.out
### output ###
# File "src/wrapper/dune", line 4, characters 9-18:
# 4 |   (names torch_api)
#              ^^^^^^^^^
# (cd _build/default/src/wrapper && /usr/bin/gcc -std=c++17 -fPIC -D_GLIBCXX_USE_CXX11_ABI=1 -g -I /home/opam/.opam/5.1/lib/ocaml -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/md5 -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/base_quickcheck -I /home/opam/.opam/5.1/lib/base_quickcheck/ppx_quickcheck/runtime -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bin_prot -I /home/opam/.opam/5.1/lib/bin_prot/shape -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes-foreign -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/lib/fieldslib -I /home/opam/.opam/5.1/lib/integers -I /home/opam/.opam/5.1/lib/jane-street-headers -I /home/opam/.opam/5.1/lib/ocaml/str -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocaml_intrinsics_kernel -I /home/opam/.opam/5.1/lib/parsexp -I /home/opam/.opam/5.1/lib/ppx_assert/runtime-lib -I /home/opam/.opam/5.1/lib/ppx_bench/runtime-lib -I /home/opam/.opam/5.1/lib/ppx_compare/runtime-lib -I /home/opam/.opam/5.1/lib/ppx_enumerate/runtime-lib -I /home/opam/.opam/5.1/lib/ppx_expect/config -I /home/opam/.opam/5.1/lib/ppx_expect/config_types -I /home/opam/.opam/5.1/lib/ppx_expect/make_corrected_file -I /home/opam/.opam/5.1/lib/ppx_expect/runtime -I /home/opam/.opam/5.1/lib/ppx_hash/runtime-lib -I /home/opam/.opam/5.1/lib/ppx_here/runtime-lib -I /home/opam/.opam/5.1/lib/ppx_inline_test/config -I /home/opam/.opam/5.1/lib/ppx_inline_test/runtime-lib -I /home/opam/.opam/5.1/lib/ppx_log/syntax -I /home/opam/.opam/5.1/lib/ppx_log/types -I /home/opam/.opam/5.1/lib/ppx_module_timer/runtime -I /home/opam/.opam/5.1/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.1/lib/ppx_stable_witness/runtime -I /home/opam/.opam/5.1/lib/ppx_stable_witness/stable_witness -I /home/opam/.opam/5.1/lib/ppx_string/runtime -I /home/opam/.opam/5.1/lib/ppxlib/print_diff -I /home/opam/.opam/5.1/lib/sexplib -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/splittable_random -I /home/opam/.opam/5.1/lib/stdio -I /home/opam/.opam/5.1/lib/stdlib-shims -I /home/opam/.opam/5.1/lib/time_now -I /home/opam/.opam/5.1/lib/typerep -I /home/opam/.opam/5.1/lib/variantslib -I ../bindings -o torch_api.o -c torch_api.cpp)
# torch_api.cpp:1:10: fatal error: torch/csrc/autograd/engine.h: No such file or directory
#     1 | #include <torch/csrc/autograd/engine.h>
#       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# compilation terminated.
# (cd _build/default/src/wrapper && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -g -I /home/opam/.opam/5.1/lib/ocaml -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/md5 -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/base_quickcheck -I /home/opam/.opam/5.1/lib/base_quickcheck/ppx_quickcheck/runtime -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bin_prot -I /home/opam/.opam/5.1/lib/bin_prot/shape -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes-foreign -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/lib/fieldslib -I /home/opam/.opam/5.1/lib/integers -I /home/opam/.opam/5.1/lib/jane-street-headers -I /home/opam/.opam/5.1/lib/ocaml/str -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocaml_intrinsics_kernel -I /home/opam/.opam/5.1/lib/parsexp -I /home/opam/.opam/5.1/lib/ppx_assert/runtime-lib -I /home/opam/.opam/5.1/lib/ppx_bench/runtime-lib -I /home/opam/.opam/5.1/lib/ppx_compare/runtime-lib -I /home/opam/.opam/5.1/lib/ppx_enumerate/runtime-lib -I /home/opam/.opam/5.1/lib/ppx_expect/config -I /home/opam/.opam/5.1/lib/ppx_expect/config_types -I /home/opam/.opam/5.1/lib/ppx_expect/make_corrected_file -I /home/opam/.opam/5.1/lib/ppx_expect/runtime -I /home/opam/.opam/5.1/lib/ppx_hash/runtime-lib -I /home/opam/.opam/5.1/lib/ppx_here/runtime-lib -I /home/opam/.opam/5.1/lib/ppx_inline_test/config -I /home/opam/.opam/5.1/lib/ppx_inline_test/runtime-lib -I /home/opam/.opam/5.1/lib/ppx_log/syntax -I /home/opam/.opam/5.1/lib/ppx_log/types -I /home/opam/.opam/5.1/lib/ppx_module_timer/runtime -I /home/opam/.opam/5.1/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.1/lib/ppx_stable_witness/runtime -I /home/opam/.opam/5.1/lib/ppx_stable_witness/stable_witness -I /home/opam/.opam/5.1/lib/ppx_string/runtime -I /home/opam/.opam/5.1/lib/ppxlib/print_diff -I /home/opam/.opam/5.1/lib/sexplib -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/splittable_random -I /home/opam/.opam/5.1/lib/stdio -I /home/opam/.opam/5.1/lib/stdlib-shims -I /home/opam/.opam/5.1/lib/time_now -I /home/opam/.opam/5.1/lib/typerep -I /home/opam/.opam/5.1/lib/variantslib -I ../bindings -o torch_stubs_generated.o -c torch_stubs_generated.c)
# torch_stubs_generated.c: In function 'caml__35_at_save':
# torch_stubs_generated.c:261:18: warning: passing argument 2 of 'at_save' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   261 |    at_save(x242, x243);
#       |                  ^~~~
# In file included from torch_stubs_generated.c:1:
# torch_api.h:76:31: note: expected 'char *' but argument is of type 'const char *'
#    76 | void at_save(gc_tensor, char *filename);
#       |                         ~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__36_at_load':
# torch_stubs_generated.c:267:25: warning: passing argument 1 of 'at_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   267 |    void* x247 = at_load(x246);
#       |                         ^~~~
# torch_api.h:77:26: note: expected 'char *' but argument is of type 'const char *'
#    77 | raw_tensor at_load(char *filename);
#       |                    ~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__37_at_save_multi':
# torch_stubs_generated.c:276:36: warning: passing argument 4 of 'at_save_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   276 |    at_save_multi(x252, x253, x254, x257);
#       |                                    ^~~~
# torch_api.h:83:26: note: expected 'char *' but argument is of type 'const char *'
#    83 |                    char *filename);
#       |                    ~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__38_at_load_multi':
# torch_stubs_generated.c:285:36: warning: passing argument 4 of 'at_load_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   285 |    at_load_multi(x263, x264, x265, x268);
#       |                                    ^~~~
# torch_api.h:86:26: note: expected 'char *' but argument is of type 'const char *'
#    86 |                    char *filename);
#       |                    ~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__39_at_load_multi_':
# torch_stubs_generated.c:294:37: warning: passing argument 4 of 'at_load_multi_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   294 |    at_load_multi_(x274, x275, x276, x279);
#       |                                     ^~~~
# torch_api.h:89:27: note: expected 'char *' but argument is of type 'const char *'
#    89 |                     char *filename);
#       |                     ~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__40_at_load_callback':
# torch_stubs_generated.c:301:21: warning: passing argument 1 of 'at_load_callback' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   301 |    at_load_callback(x283, x284);
#       |                     ^~~~
# torch_api.h:91:29: note: expected 'char *' but argument is of type 'const char *'
#    91 | void at_load_callback(char *filename, void (*f)(char *, raw_tensor));
#       |                       ~~~~~~^~~~~~~~
# torch_stubs_generated.c:301:27: warning: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types]
#   301 |    at_load_callback(x283, x284);
#       |                           ^~~~
#       |                           |
#       |                           void (*)(const char *, void *)
# torch_api.h:91:46: note: expected 'void (*)(char *, void *)' but argument is of type 'void (*)(const char *, void *)'
#    91 | void at_load_callback(char *filename, void (*f)(char *, raw_tensor));
#       |                                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__71_ati_string':
# torch_stubs_generated.c:525:28: warning: passing argument 1 of 'ati_string' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   525 |    void* x486 = ati_string(x485);
#       |                            ^~~~
# torch_api.h:134:19: note: expected 'char *' but argument is of type 'const char *'
#   134 | ivalue ati_string(char *);
#       |                   ^~~~~~
# torch_stubs_generated.c: In function 'caml__74_atm_load':
# torch_stubs_generated.c:544:26: warning: passing argument 1 of 'atm_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   544 |    void* x499 = atm_load(x495, x496);
#       |                          ^~~~
# torch_api.h:121:17: note: expected 'char *' but argument is of type 'const char *'
#   121 | module atm_load(char *, int);
#       |                 ^~~~~~
# torch_stubs_generated.c: In function 'caml__75_atm_load_str':
# torch_stubs_generated.c:552:30: warning: passing argument 1 of 'atm_load_str' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   552 |    void* x510 = atm_load_str(x503, x504, x507);
#       |                              ^~~~
# torch_api.h:122:21: note: expected 'char *' but argument is of type 'const char *'
#   122 | module atm_load_str(char *, size_t, int);
#       |                     ^~~~~~
# torch_stubs_generated.c: In function 'caml__163_atg__convolution_mode':
# torch_stubs_generated.c:1522:61: warning: passing argument 6 of 'atg__convolution_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#  1522 |    atg__convolution_mode(x1441, x1442, x1443, x1444, x1445, x1448, x1449,
#       |                                                             ^~~~~
# In file included from torch_api.h:163:
# torch_api_generated.h:86:130: note: expected 'char *' but argument is of type 'const char *'
#    86 | raw_tensor atg__convolution_mode(gc_tensor input, gc_tensor weight, gc_tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups);
#       |                                                                                                                           ~~~~~~~^~~~~~~
# torch_stubs_generated.c: In function 'caml__230_atg__functional_assert_async':
# torch_stubs_generated.c:3418:54: warning: passing argument 2 of 'atg__functional_assert_async' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#  3418 |    void* x3416 = atg__functional_assert_async(x3413, x3414, x3415);
#       |                                                      ^~~~~
# torch_api_generated.h:153:64: note: expected 'char *' but argument is of type 'const char *'
#   153 | raw_tensor atg__functional_assert_async(gc_tensor self, char * assert_msg, gc_tensor dep_token);
#       |                                                         ~~~~~~~^~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__273_atg__linalg_check_errors':
# torch_stubs_generated.c:4708:36: warning: passing argument 2 of 'atg__linalg_check_errors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#  4708 |    atg__linalg_check_errors(x4829, x4830, x4831);
#       |                                    ^~~~~
# torch_api_generated.h:196:54: note: expected 'char *' but argument is of type 'const char *'
#   196 | void atg__linalg_check_errors(gc_tensor info, char * api_name, int is_matrix);
#       |                                               ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__276_atg__linalg_eigh':
# torch_stubs_generated.c:4736:35: warning: passing argument 3 of 'atg__linalg_eigh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#  4736 |    atg__linalg_eigh(x4855, x4856, x4857, x4858);
#       |                                   ^~~~~
# torch_api_generated.h:199:57: note: expected 'char *' but argument is of type 'const char *'
#   199 | void atg__linalg_eigh(raw_tensor *, gc_tensor A, char * UPLO, int compute_v);
#       |                                                  ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__277_atg__linalg_eigh_eigenvalues':
# torch_stubs_generated.c:4749:61: warning: passing argument 5 of 'atg__linalg_eigh_eigenvalues' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#  4749 |    atg__linalg_eigh_eigenvalues(x4868, x4869, x4870, x4871, x4872, x4873);
#       |                                                             ^~~~~
# torch_api_generated.h:200:116: note: expected 'char *' but argument is of type 'const char *'
#   200 | void atg__linalg_eigh_eigenvalues(raw_tensor *, gc_tensor eigenvalues, gc_tensor eigenvectors, gc_tensor A, char * UPLO, int compute_v);
#       |                                                                                                             ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__282_atg__linalg_svd':
# torch_stubs_generated.c:4851:48: warning: passing argument 5 of 'atg__linalg_svd' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#  4851 |    atg__linalg_svd(x4960, x4961, x4962, x4965, x4968, x4969);
#       |                                                ^~~~~
# torch_api_generated.h:205:91: note: expected 'char *' but argument is of type 'const char *'
#   205 | void atg__linalg_svd(raw_tensor *, gc_tensor A, int full_matrices, int compute_uv, char * driver_v, int driver_null);
#       |                                                                                    ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__283_atg__linalg_svd_u':
# torch_stubs_generated.c:4878:22: warning: passing argument 8 of 'atg__linalg_svd_u' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#  4878 |                      x4999, x5000);
#       |                      ^~~~~
# torch_api_generated.h:206:133: note: expected 'char *' but argument is of type 'const char *'
#   206 | void atg__linalg_svd_u(raw_tensor *, gc_tensor U, gc_tensor S, gc_tensor Vh, gc_tensor A, int full_matrices, int compute_uv, char * driver_v, int driver_null);
#       |                                                                                                                              ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__374_atg__scatter_reduce':
# torch_stubs_generated.c:6633:52: warning: passing argument 5 of 'atg__scatter_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#  6633 |    atg__scatter_reduce(x6711, x6712, x6715, x6716, x6717, x6718);
#       |                                                    ^~~~~
# torch_api_generated.h:297:100: note: expected 'char *' but argument is of type 'const char *'
#   297 | raw_tensor atg__scatter_reduce(gc_tensor self, int64_t dim, gc_tensor index, gc_tensor src, char * reduce, int include_self);
#       |                                                                                             ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__375_atg__scatter_reduce_':
# torch_stubs_generated.c:6657:53: warning: passing argument 5 of 'atg__scatter_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#  6657 |    atg__scatter_reduce_(x6734, x6735, x6738, x6739, x6740, x6741);
#       |                                                     ^~~~~
# torch_api_generated.h:298:101: note: expected 'char *' but argument is of type 'const char *'
#   298 | raw_tensor atg__scatter_reduce_(gc_tensor self, int64_t dim, gc_tensor index, gc_tensor src, char * reduce, int include_self);
#       |                                                                                              ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__376_atg__scatter_reduce_two_out':
# torch_stubs_generated.c:6684:67: warning: passing argument 6 of 'atg__scatter_reduce_two_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#  6684 |    atg__scatter_reduce_two_out(x6758, x6759, x6760, x6763, x6764, x6765,
#       |                                                                   ^~~~~
# torch_api_generated.h:299:123: note: expected 'char *' but argument is of type 'const char *'
#   299 | raw_tensor atg__scatter_reduce_two_out(gc_tensor out, gc_tensor self, int64_t dim, gc_tensor index, gc_tensor src, char * reduce, int include_self);
#       |                                                                                                                    ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__377_atg__segment_reduce_backward':
# torch_stubs_generated.c:6715:54: warning: passing argument 4 of 'atg__segment_reduce_backward' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#  6715 |    atg__segment_reduce_backward(x6785, x6786, x6787, x6788, x6789, x6790,
#       |                                                      ^~~~~
# torch_api_generated.h:300:98: note: expected 'char *' but argument is of type 'const char *'
#   300 | raw_tensor atg__segment_reduce_backward(gc_tensor grad, gc_tensor output, gc_tensor data, char * reduce, gc_tensor lengths, gc_tensor offsets, int64_t axis, scalar initial);
#       |                                                                                           ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__378_atg__segment_reduce_backward_out':
# torch_stubs_generated.c:6749:65: warning: passing argument 5 of 'atg__segment_reduce_backward_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#  6749 |    atg__segment_reduce_backward_out(x6813, x6814, x6815, x6816, x6817,
#       |                                                                 ^~~~~
# torch_api_generated.h:301:117: note: expected 'char *' but argument is of type 'const char *'
#   301 | raw_tensor atg__segment_reduce_backward_out(gc_tensor out, gc_tensor grad, gc_tensor output, gc_tensor data, char * reduce, gc_tensor lengths, gc_tensor offsets, int64_t axis, scalar initial);
#       |                                                                                                              ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__416_atg__sparse_mm_reduce':
# torch_stubs_generated.c:7444:54: warning: passing argument 3 of 'atg__sparse_mm_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#  7444 |    void* x7506 = atg__sparse_mm_reduce(x7503, x7504, x7505);
#       |                                                      ^~~~~
# torch_api_generated.h:339:76: note: expected 'char *' but argument is of type 'const char *'
#   339 | raw_tensor atg__sparse_mm_reduce(gc_tensor sparse, gc_tensor dense, char * reduce);
#       |                                                                     ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__417_atg__sparse_mm_reduce_impl':
# torch_stubs_generated.c:7454:52: warning: passing argument 4 of 'atg__sparse_mm_reduce_impl' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#  7454 |    atg__sparse_mm_reduce_impl(x7511, x7512, x7513, x7514);
#       |                                                    ^~~~~
# torch_api_generated.h:340:87: note: expected 'char *' but argument is of type 'const char *'
#   340 | void atg__sparse_mm_reduce_impl(raw_tensor *, gc_tensor self, gc_tensor other, char * reduce);
#       |                                                                                ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__418_atg__sparse_semi_structured_linear':
# torch_stubs_generated.c:7468:67: warning: passing argument 5 of 'atg__sparse_semi_structured_linear' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#  7468 |    atg__sparse_semi_structured_linear(x7522, x7523, x7524, x7525, x7526,
#       |                                                                   ^~~~~
# torch_api_generated.h:341:121: note: expected 'char *' but argument is of type 'const char *'
#   341 | raw_tensor atg__sparse_semi_structured_linear(gc_tensor input, gc_tensor weight, gc_tensor meta, gc_tensor bias, char * activation_v, int activation_null);
#       |                                                                                                                  ~~~~~~~^~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__442_atg__test_ambiguous_defaults_b':
# torch_stubs_generated.c:7701:63: warning: passing argument 3 of 'atg__test_ambiguous_defaults_b' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#  7701 |    void* x7762 = atg__test_ambiguous_defaults_b(x7757, x7758, x7761);
#       |                                                               ^~~~~
# torch_api_generated.h:365:78: note: expected 'char *' but argument is of type 'const char *'
#   365 | raw_tensor atg__test_ambiguous_defaults_b(gc_tensor dummy, int64_t a, char * b);
#       |                                                                       ~~~~~~~^
# torch_stubs_generated.c: In function 'caml__459_atg__test_string_default':
# torch_stubs_generated.c:7844:50: warning: passing argument 2 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#  7844 |    void* x7875 = atg__test_string_default(x7872, x7873, x7874);
#       |                                                  ^~~~~
# torch_api_generated.h:382:61: note: expected 'char *' but argument is of type 'const char *'
#   382 | raw_tensor atg__test_string_default(gc_tensor dummy, char * a, char * b);
#       |                                                      ~~~~~~~^
# torch_stubs_generated.c:7844:57: warning: passing argument 3 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#  7844 |    void* x7875 = atg__test_string_default(x7872, x7873, x7874);
#       |                                                         ^~~~~
# torch_api_generated.h:382:71: note: expected 'char *' but argument is of type 'const char *'
#   382 | raw_tensor atg__test_string_default(gc_tensor dummy, char * a, char * b);
#       |                                                                ~~~~~~~^
# torch_stubs_generated.c: In function 'caml__869_atg_conv1d_padding':
# torch_stubs_generated.c:13688:63: warning: passing argument 6 of 'atg_conv1d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 13688 |    atg_conv1d_padding(x13326, x13327, x13328, x13329, x13330, x13333,
#       |                                                               ^~~~~~
# torch_api_generated.h:792:127: note: expected 'char *' but argument is of type 'const char *'
#   792 | raw_tensor atg_conv1d_padding(gc_tensor input, gc_tensor weight, gc_tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups);
#       |                                                                                                                        ~~~~~~~^~~~~~~
# torch_stubs_generated.c: In function 'caml__871_atg_conv2d_padding':
# torch_stubs_generated.c:13757:63: warning: passing argument 6 of 'atg_conv2d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 13757 |    atg_conv2d_padding(x13399, x13400, x13401, x13402, x13403, x13406,
#       |                                                               ^~~~~~
# torch_api_generated.h:794:127: note: expected 'char *' but argument is of type 'const char *'
#   794 | raw_tensor atg_conv2d_padding(gc_tensor input, gc_tensor weight, gc_tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups);
#       |                                                                                                                        ~~~~~~~^~~~~~~
# torch_stubs_generated.c: In function 'caml__873_atg_conv3d_padding':
# torch_stubs_generated.c:13826:63: warning: passing argument 6 of 'atg_conv3d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 13826 |    atg_conv3d_padding(x13472, x13473, x13474, x13475, x13476, x13479,
#       |                                                               ^~~~~~
# torch_api_generated.h:796:127: note: expected 'char *' but argument is of type 'const char *'
#   796 | raw_tensor atg_conv3d_padding(gc_tensor input, gc_tensor weight, gc_tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups);
#       |                                                                                                                        ~~~~~~~^~~~~~~
# torch_stubs_generated.c: In function 'caml__988_atg_div_out_mode':
# torch_stubs_generated.c:15811:60: warning: passing argument 4 of 'atg_div_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15811 |    void* x15480 = atg_div_out_mode(x15473, x15474, x15475, x15476, x15477);
#       |                                                            ^~~~~~
# torch_api_generated.h:911:84: note: expected 'char *' but argument is of type 'const char *'
#   911 | raw_tensor atg_div_out_mode(gc_tensor out, gc_tensor self, gc_tensor other, char * rounding_mode_v, int rounding_mode_null);
#       |                                                                             ~~~~~~~^~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__991_atg_div_scalar_mode':
# torch_stubs_generated.c:15835:55: warning: passing argument 3 of 'atg_div_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15835 |    void* x15501 = atg_div_scalar_mode(x15495, x15496, x15497, x15498);
#       |                                                       ^~~~~~
# torch_api_generated.h:914:69: note: expected 'char *' but argument is of type 'const char *'
#   914 | raw_tensor atg_div_scalar_mode(gc_tensor self, scalar other, char * rounding_mode_v, int rounding_mode_null);
#       |                                                              ~~~~~~~^~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__992_atg_div_scalar_mode_':
# torch_stubs_generated.c:15845:56: warning: passing argument 3 of 'atg_div_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15845 |    void* x15512 = atg_div_scalar_mode_(x15506, x15507, x15508, x15509);
#       |                                                        ^~~~~~
# torch_api_generated.h:915:70: note: expected 'char *' but argument is of type 'const char *'
#   915 | raw_tensor atg_div_scalar_mode_(gc_tensor self, scalar other, char * rounding_mode_v, int rounding_mode_null);
#       |                                                               ~~~~~~~^~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__993_atg_div_scalar_mode_out':
# torch_stubs_generated.c:15858:52: warning: passing argument 4 of 'atg_div_scalar_mode_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15858 |    atg_div_scalar_mode_out(x15518, x15519, x15520, x15521, x15522);
#       |                                                    ^~~~~~
# torch_api_generated.h:916:88: note: expected 'char *' but argument is of type 'const char *'
#   916 | raw_tensor atg_div_scalar_mode_out(gc_tensor out, gc_tensor self, scalar other, char * rounding_mode_v, int rounding_mode_null);
#       |                                                                                 ~~~~~~~^~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__995_atg_div_tensor_mode':
# torch_stubs_generated.c:15876:55: warning: passing argument 3 of 'atg_div_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15876 |    void* x15543 = atg_div_tensor_mode(x15537, x15538, x15539, x15540);
#       |                                                       ^~~~~~
# torch_api_generated.h:918:72: note: expected 'char *' but argument is of type 'const char *'
#   918 | raw_tensor atg_div_tensor_mode(gc_tensor self, gc_tensor other, char * rounding_mode_v, int rounding_mode_null);
#       |                                                                 ~~~~~~~^~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__996_atg_div_tensor_mode_':
# torch_stubs_generated.c:15886:56: warning: passing argument 3 of 'atg_div_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15886 |    void* x15554 = atg_div_tensor_mode_(x15548, x15549, x15550, x15551);
#       |                                                        ^~~~~~
# torch_api_generated.h:919:73: note: expected 'char *' but argument is of type 'const char *'
#   919 | raw_tensor atg_div_tensor_mode_(gc_tensor self, gc_tensor other, char * rounding_mode_v, int rounding_mode_null);
#       |                                                                  ~~~~~~~^~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1000_atg_divide_out_mode':
# torch_stubs_generated.c:15921:48: warning: passing argument 4 of 'atg_divide_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15921 |    atg_divide_out_mode(x15577, x15578, x15579, x15580, x15581);
#       |                                                ^~~~~~
# torch_api_generated.h:923:87: note: expected 'char *' but argument is of type 'const char *'
#   923 | raw_tensor atg_divide_out_mode(gc_tensor out, gc_tensor self, gc_tensor other, char * rounding_mode_v, int rounding_mode_null);
#       |                                                                                ~~~~~~~^~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1003_atg_divide_scalar_mode':
# torch_stubs_generated.c:15945:58: warning: passing argument 3 of 'atg_divide_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15945 |    void* x15605 = atg_divide_scalar_mode(x15599, x15600, x15601, x15602);
#       |                                                          ^~~~~~
# torch_api_generated.h:926:72: note: expected 'char *' but argument is of type 'const char *'
#   926 | raw_tensor atg_divide_scalar_mode(gc_tensor self, scalar other, char * rounding_mode_v, int rounding_mode_null);
#       |                                                                 ~~~~~~~^~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1004_atg_divide_scalar_mode_':
# torch_stubs_generated.c:15955:59: warning: passing argument 3 of 'atg_divide_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15955 |    void* x15616 = atg_divide_scalar_mode_(x15610, x15611, x15612, x15613);
#       |                                                           ^~~~~~
# torch_api_generated.h:927:73: note: expected 'char *' but argument is of type 'const char *'
#   927 | raw_tensor atg_divide_scalar_mode_(gc_tensor self, scalar other, char * rounding_mode_v, int rounding_mode_null);
#       |                                                                  ~~~~~~~^~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1005_atg_divide_tensor_mode':
# torch_stubs_generated.c:15965:58: warning: passing argument 3 of 'atg_divide_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15965 |    void* x15627 = atg_divide_tensor_mode(x15621, x15622, x15623, x15624);
#       |                                                          ^~~~~~
# torch_api_generated.h:928:75: note: expected 'char *' but argument is of type 'const char *'
#   928 | raw_tensor atg_divide_tensor_mode(gc_tensor self, gc_tensor other, char * rounding_mode_v, int rounding_mode_null);
#       |                                                                    ~~~~~~~^~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1006_atg_divide_tensor_mode_':
# torch_stubs_generated.c:15975:59: warning: passing argument 3 of 'atg_divide_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15975 |    void* x15638 = atg_divide_tensor_mode_(x15632, x15633, x15634, x15635);
#       |                                                           ^~~~~~
# torch_api_generated.h:929:76: note: expected 'char *' but argument is of type 'const char *'
#   929 | raw_tensor atg_divide_tensor_mode_(gc_tensor self, gc_tensor other, char * rounding_mode_v, int rounding_mode_null);
#       |                                                                     ~~~~~~~^~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1015_atg_einsum':
# torch_stubs_generated.c:16047:30: warning: passing argument 1 of 'atg_einsum' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 16047 |    void* x15719 = atg_einsum(x15710, x15711, x15712, x15715, x15716);
#       |                              ^~~~~~
# torch_api_generated.h:938:30: note: expected 'char *' but argument is of type 'const char *'
#   938 | raw_tensor atg_einsum(char * equation, gc_tensor *tensors_data, int tensors_len, int64_t *path_data, int path_len);
#       |                       ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1098_atg_fft_fft':
# torch_stubs_generated.c:17149:48: warning: passing argument 5 of 'atg_fft_fft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17149 |    atg_fft_fft(x16709, x16710, x16713, x16716, x16719, x16720);
#       |                                                ^~~~~~
# torch_api_generated.h:1021:85: note: expected 'char *' but argument is of type 'const char *'
#  1021 | raw_tensor atg_fft_fft(gc_tensor self, int64_t n_v, int n_null, int64_t dim, char * norm_v, int norm_null);
#       |                                                                              ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1099_atg_fft_fft2':
# torch_stubs_generated.c:17175:57: warning: passing argument 6 of 'atg_fft_fft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17175 |    atg_fft_fft2(x16737, x16738, x16739, x16742, x16743, x16746, x16747);
#       |                                                         ^~~~~~
# torch_api_generated.h:1022:108: note: expected 'char *' but argument is of type 'const char *'
#  1022 | raw_tensor atg_fft_fft2(gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
#       |                                                                                                     ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1100_atg_fft_fft2_out':
# torch_stubs_generated.c:17204:69: warning: passing argument 7 of 'atg_fft_fft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17204 |    atg_fft_fft2_out(x16766, x16767, x16768, x16769, x16772, x16773, x16776,
#       |                                                                     ^~~~~~
# torch_api_generated.h:1023:127: note: expected 'char *' but argument is of type 'const char *'
#  1023 | raw_tensor atg_fft_fft2_out(gc_tensor out, gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
#       |                                                                                                                        ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1101_atg_fft_fft_out':
# torch_stubs_generated.c:17234:60: warning: passing argument 6 of 'atg_fft_fft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17234 |    atg_fft_fft_out(x16796, x16797, x16798, x16801, x16804, x16807, x16808);
#       |                                                            ^~~~~~
# torch_api_generated.h:1024:104: note: expected 'char *' but argument is of type 'const char *'
#  1024 | raw_tensor atg_fft_fft_out(gc_tensor out, gc_tensor self, int64_t n_v, int n_null, int64_t dim, char * norm_v, int norm_null);
#       |                                                                                                 ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1104_atg_fft_fftn':
# torch_stubs_generated.c:17281:57: warning: passing argument 6 of 'atg_fft_fftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17281 |    atg_fft_fftn(x16854, x16855, x16856, x16859, x16860, x16863, x16864);
#       |                                                         ^~~~~~
# torch_api_generated.h:1027:108: note: expected 'char *' but argument is of type 'const char *'
#  1027 | raw_tensor atg_fft_fftn(gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
#       |                                                                                                     ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1105_atg_fft_fftn_out':
# torch_stubs_generated.c:17310:69: warning: passing argument 7 of 'atg_fft_fftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17310 |    atg_fft_fftn_out(x16883, x16884, x16885, x16886, x16889, x16890, x16893,
#       |                                                                     ^~~~~~
# torch_api_generated.h:1028:127: note: expected 'char *' but argument is of type 'const char *'
#  1028 | raw_tensor atg_fft_fftn_out(gc_tensor out, gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
#       |                                                                                                                        ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1107_atg_fft_hfft':
# torch_stubs_generated.c:17346:49: warning: passing argument 5 of 'atg_fft_hfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17346 |    atg_fft_hfft(x16921, x16922, x16925, x16928, x16931, x16932);
#       |                                                 ^~~~~~
# torch_api_generated.h:1030:86: note: expected 'char *' but argument is of type 'const char *'
#  1030 | raw_tensor atg_fft_hfft(gc_tensor self, int64_t n_v, int n_null, int64_t dim, char * norm_v, int norm_null);
#       |                                                                               ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1108_atg_fft_hfft2':
# torch_stubs_generated.c:17372:58: warning: passing argument 6 of 'atg_fft_hfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17372 |    atg_fft_hfft2(x16949, x16950, x16951, x16954, x16955, x16958, x16959);
#       |                                                          ^~~~~~
# torch_api_generated.h:1031:109: note: expected 'char *' but argument is of type 'const char *'
#  1031 | raw_tensor atg_fft_hfft2(gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
#       |                                                                                                      ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1109_atg_fft_hfft2_out':
# torch_stubs_generated.c:17402:22: warning: passing argument 7 of 'atg_fft_hfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17402 |                      x16988, x16989);
#       |                      ^~~~~~
# torch_api_generated.h:1032:128: note: expected 'char *' but argument is of type 'const char *'
#  1032 | raw_tensor atg_fft_hfft2_out(gc_tensor out, gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
#       |                                                                                                                         ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1110_atg_fft_hfft_out':
# torch_stubs_generated.c:17431:61: warning: passing argument 6 of 'atg_fft_hfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17431 |    atg_fft_hfft_out(x17008, x17009, x17010, x17013, x17016, x17019, x17020);
#       |                                                             ^~~~~~
# torch_api_generated.h:1033:105: note: expected 'char *' but argument is of type 'const char *'
#  1033 | raw_tensor atg_fft_hfft_out(gc_tensor out, gc_tensor self, int64_t n_v, int n_null, int64_t dim, char * norm_v, int norm_null);
#       |                                                                                                  ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1111_atg_fft_hfftn':
# torch_stubs_generated.c:17459:58: warning: passing argument 6 of 'atg_fft_hfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17459 |    atg_fft_hfftn(x17038, x17039, x17040, x17043, x17044, x17047, x17048);
#       |                                                          ^~~~~~
# torch_api_generated.h:1034:109: note: expected 'char *' but argument is of type 'const char *'
#  1034 | raw_tensor atg_fft_hfftn(gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
#       |                                                                                                      ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1112_atg_fft_hfftn_out':
# torch_stubs_generated.c:17489:22: warning: passing argument 7 of 'atg_fft_hfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17489 |                      x17077, x17078);
#       |                      ^~~~~~
# torch_api_generated.h:1035:128: note: expected 'char *' but argument is of type 'const char *'
#  1035 | raw_tensor atg_fft_hfftn_out(gc_tensor out, gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
#       |                                                                                                                         ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1113_atg_fft_ifft':
# ...TRUNCATED BY DUNE...
#       |                       ^~~~~~
# torch_api_generated.h:1054:129: note: expected 'char *' but argument is of type 'const char *'
#  1054 | raw_tensor atg_fft_irfftn_out(gc_tensor out, gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
#       |                                                                                                                          ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1132_atg_fft_rfft':
# torch_stubs_generated.c:18034:49: warning: passing argument 5 of 'atg_fft_rfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18034 |    atg_fft_rfft(x17630, x17631, x17634, x17637, x17640, x17641);
#       |                                                 ^~~~~~
# torch_api_generated.h:1055:86: note: expected 'char *' but argument is of type 'const char *'
#  1055 | raw_tensor atg_fft_rfft(gc_tensor self, int64_t n_v, int n_null, int64_t dim, char * norm_v, int norm_null);
#       |                                                                               ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1133_atg_fft_rfft2':
# torch_stubs_generated.c:18060:58: warning: passing argument 6 of 'atg_fft_rfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18060 |    atg_fft_rfft2(x17658, x17659, x17660, x17663, x17664, x17667, x17668);
#       |                                                          ^~~~~~
# torch_api_generated.h:1056:109: note: expected 'char *' but argument is of type 'const char *'
#  1056 | raw_tensor atg_fft_rfft2(gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
#       |                                                                                                      ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1134_atg_fft_rfft2_out':
# torch_stubs_generated.c:18090:22: warning: passing argument 7 of 'atg_fft_rfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18090 |                      x17697, x17698);
#       |                      ^~~~~~
# torch_api_generated.h:1057:128: note: expected 'char *' but argument is of type 'const char *'
#  1057 | raw_tensor atg_fft_rfft2_out(gc_tensor out, gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
#       |                                                                                                                         ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1135_atg_fft_rfft_out':
# torch_stubs_generated.c:18119:61: warning: passing argument 6 of 'atg_fft_rfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18119 |    atg_fft_rfft_out(x17717, x17718, x17719, x17722, x17725, x17728, x17729);
#       |                                                             ^~~~~~
# torch_api_generated.h:1058:105: note: expected 'char *' but argument is of type 'const char *'
#  1058 | raw_tensor atg_fft_rfft_out(gc_tensor out, gc_tensor self, int64_t n_v, int n_null, int64_t dim, char * norm_v, int norm_null);
#       |                                                                                                  ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1138_atg_fft_rfftn':
# torch_stubs_generated.c:18166:58: warning: passing argument 6 of 'atg_fft_rfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18166 |    atg_fft_rfftn(x17775, x17776, x17777, x17780, x17781, x17784, x17785);
#       |                                                          ^~~~~~
# torch_api_generated.h:1061:109: note: expected 'char *' but argument is of type 'const char *'
#  1061 | raw_tensor atg_fft_rfftn(gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
#       |                                                                                                      ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1139_atg_fft_rfftn_out':
# torch_stubs_generated.c:18196:22: warning: passing argument 7 of 'atg_fft_rfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18196 |                      x17814, x17815);
#       |                      ^~~~~~
# torch_api_generated.h:1062:128: note: expected 'char *' but argument is of type 'const char *'
#  1062 | raw_tensor atg_fft_rfftn_out(gc_tensor out, gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
#       |                                                                                                                         ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1197_atg_from_file':
# torch_stubs_generated.c:18886:18: warning: passing argument 1 of 'atg_from_file' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18886 |    atg_from_file(x18352, x18353, x18356, x18359, x18362, x18365);
#       |                  ^~~~~~
# torch_api_generated.h:1120:33: note: expected 'char *' but argument is of type 'const char *'
#  1120 | raw_tensor atg_from_file(char * filename, int shared, int64_t size_v, int size_null, int options_kind, int options_device);
#       |                          ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1198_atg_from_file_out':
# torch_stubs_generated.c:18908:45: warning: passing argument 2 of 'atg_from_file_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18908 |    void* x18391 = atg_from_file_out(x18380, x18381, x18382, x18385, x18388);
#       |                                             ^~~~~~
# torch_api_generated.h:1121:52: note: expected 'char *' but argument is of type 'const char *'
#  1121 | raw_tensor atg_from_file_out(gc_tensor out, char * filename, int shared, int64_t size_v, int size_null);
#       |                                             ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1216_atg_gelu':
# torch_stubs_generated.c:19108:36: warning: passing argument 2 of 'atg_gelu' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19108 |    void* x18582 = atg_gelu(x18580, x18581);
#       |                                    ^~~~~~
# torch_api_generated.h:1139:44: note: expected 'char *' but argument is of type 'const char *'
#  1139 | raw_tensor atg_gelu(gc_tensor self, char * approximate);
#       |                                     ~~~~~~~^~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1217_atg_gelu_':
# torch_stubs_generated.c:19115:37: warning: passing argument 2 of 'atg_gelu_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19115 |    void* x18587 = atg_gelu_(x18585, x18586);
#       |                                     ^~~~~~
# torch_api_generated.h:1140:45: note: expected 'char *' but argument is of type 'const char *'
#  1140 | raw_tensor atg_gelu_(gc_tensor self, char * approximate);
#       |                                      ~~~~~~~^~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1218_atg_gelu_backward':
# torch_stubs_generated.c:19123:53: warning: passing argument 3 of 'atg_gelu_backward' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19123 |    void* x18594 = atg_gelu_backward(x18591, x18592, x18593);
#       |                                                     ^~~~~~
# torch_api_generated.h:1141:76: note: expected 'char *' but argument is of type 'const char *'
#  1141 | raw_tensor atg_gelu_backward(gc_tensor grad_output, gc_tensor self, char * approximate);
#       |                                                                     ~~~~~~~^~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1219_atg_gelu_backward_grad_input':
# torch_stubs_generated.c:19134:57: warning: passing argument 4 of 'atg_gelu_backward_grad_input' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19134 |    atg_gelu_backward_grad_input(x18599, x18600, x18601, x18602);
#       |                                                         ^~~~~~
# torch_api_generated.h:1142:109: note: expected 'char *' but argument is of type 'const char *'
#  1142 | raw_tensor atg_gelu_backward_grad_input(gc_tensor grad_input, gc_tensor grad_output, gc_tensor self, char * approximate);
#       |                                                                                                      ~~~~~~~^~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1220_atg_gelu_out':
# torch_stubs_generated.c:19142:48: warning: passing argument 3 of 'atg_gelu_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19142 |    void* x18610 = atg_gelu_out(x18607, x18608, x18609);
#       |                                                ^~~~~~
# torch_api_generated.h:1143:63: note: expected 'char *' but argument is of type 'const char *'
#  1143 | raw_tensor atg_gelu_out(gc_tensor out, gc_tensor self, char * approximate);
#       |                                                        ~~~~~~~^~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1342_atg_index_reduce':
# torch_stubs_generated.c:20465:53: warning: passing argument 5 of 'atg_index_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 20465 |    atg_index_reduce(x19896, x19897, x19900, x19901, x19902, x19903);
#       |                                                     ^~~~~~
# torch_api_generated.h:1265:100: note: expected 'char *' but argument is of type 'const char *'
#  1265 | raw_tensor atg_index_reduce(gc_tensor self, int64_t dim, gc_tensor index, gc_tensor source, char * reduce, int include_self);
#       |                                                                                             ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1343_atg_index_reduce_':
# torch_stubs_generated.c:20490:54: warning: passing argument 5 of 'atg_index_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 20490 |    atg_index_reduce_(x19919, x19920, x19923, x19924, x19925, x19926);
#       |                                                      ^~~~~~
# torch_api_generated.h:1266:101: note: expected 'char *' but argument is of type 'const char *'
#  1266 | raw_tensor atg_index_reduce_(gc_tensor self, int64_t dim, gc_tensor index, gc_tensor source, char * reduce, int include_self);
#       |                                                                                              ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1344_atg_index_reduce_out':
# torch_stubs_generated.c:20518:65: warning: passing argument 6 of 'atg_index_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 20518 |    atg_index_reduce_out(x19943, x19944, x19945, x19948, x19949, x19950,
#       |                                                                 ^~~~~~
# torch_api_generated.h:1267:119: note: expected 'char *' but argument is of type 'const char *'
#  1267 | raw_tensor atg_index_reduce_out(gc_tensor out, gc_tensor self, int64_t dim, gc_tensor index, gc_tensor source, char * reduce, int include_self);
#       |                                                                                                                ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1454_atg_linalg_cond_p_str':
# torch_stubs_generated.c:21508:49: warning: passing argument 2 of 'atg_linalg_cond_p_str' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 21508 |    void* x20844 = atg_linalg_cond_p_str(x20842, x20843);
#       |                                                 ^~~~~~
# torch_api_generated.h:1377:57: note: expected 'char *' but argument is of type 'const char *'
#  1377 | raw_tensor atg_linalg_cond_p_str(gc_tensor self, char * p);
#       |                                                  ~~~~~~~^
# torch_stubs_generated.c: In function 'caml__1455_atg_linalg_cond_p_str_out':
# torch_stubs_generated.c:21517:61: warning: passing argument 3 of 'atg_linalg_cond_p_str_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 21517 |    void* x20851 = atg_linalg_cond_p_str_out(x20848, x20849, x20850);
#       |                                                             ^~~~~~
# torch_api_generated.h:1378:76: note: expected 'char *' but argument is of type 'const char *'
#  1378 | raw_tensor atg_linalg_cond_p_str_out(gc_tensor out, gc_tensor self, char * p);
#       |                                                                     ~~~~~~~^
# torch_stubs_generated.c: In function 'caml__1463_atg_linalg_eigh':
# torch_stubs_generated.c:21583:36: warning: passing argument 3 of 'atg_linalg_eigh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 21583 |    atg_linalg_eigh(x20912, x20913, x20914);
#       |                                    ^~~~~~
# torch_api_generated.h:1386:59: note: expected 'char *' but argument is of type 'const char *'
#  1386 | void atg_linalg_eigh(raw_tensor *, gc_tensor self, char * UPLO);
#       |                                                    ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__1464_atg_linalg_eigh_eigvals':
# torch_stubs_generated.c:21595:60: warning: passing argument 5 of 'atg_linalg_eigh_eigvals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 21595 |    atg_linalg_eigh_eigvals(x20921, x20922, x20923, x20924, x20925);
#       |                                                            ^~~~~~
# torch_api_generated.h:1387:105: note: expected 'char *' but argument is of type 'const char *'
#  1387 | void atg_linalg_eigh_eigvals(raw_tensor *, gc_tensor eigvals, gc_tensor eigvecs, gc_tensor self, char * UPLO);
#       |                                                                                                  ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__1467_atg_linalg_eigvalsh':
# torch_stubs_generated.c:21615:47: warning: passing argument 2 of 'atg_linalg_eigvalsh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 21615 |    void* x20939 = atg_linalg_eigvalsh(x20937, x20938);
#       |                                               ^~~~~~
# torch_api_generated.h:1390:55: note: expected 'char *' but argument is of type 'const char *'
#  1390 | raw_tensor atg_linalg_eigvalsh(gc_tensor self, char * UPLO);
#       |                                                ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__1468_atg_linalg_eigvalsh_out':
# torch_stubs_generated.c:21624:59: warning: passing argument 3 of 'atg_linalg_eigvalsh_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 21624 |    void* x20946 = atg_linalg_eigvalsh_out(x20943, x20944, x20945);
#       |                                                           ^~~~~~
# torch_api_generated.h:1391:74: note: expected 'char *' but argument is of type 'const char *'
#  1391 | raw_tensor atg_linalg_eigvalsh_out(gc_tensor out, gc_tensor self, char * UPLO);
#       |                                                                   ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__1481_atg_linalg_lstsq':
# torch_stubs_generated.c:21772:61: warning: passing argument 6 of 'atg_linalg_lstsq' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 21772 |    atg_linalg_lstsq(x21081, x21082, x21083, x21084, x21087, x21090, x21091);
#       |                                                             ^~~~~~
# torch_api_generated.h:1404:105: note: expected 'char *' but argument is of type 'const char *'
#  1404 | void atg_linalg_lstsq(raw_tensor *, gc_tensor self, gc_tensor b, double rcond_v, int rcond_null, char * driver_v, int driver_null);
#       |                                                                                                  ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1482_atg_linalg_lstsq_out':
# torch_stubs_generated.c:21807:49: warning: passing argument 10 of 'atg_linalg_lstsq_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 21807 |                         x21119, x21120, x21123, x21126, x21127);
#       |                                                 ^~~~~~
# torch_api_generated.h:1405:193: note: expected 'char *' but argument is of type 'const char *'
#  1405 | void atg_linalg_lstsq_out(raw_tensor *, gc_tensor solution, gc_tensor residuals, gc_tensor rank, gc_tensor singular_values, gc_tensor self, gc_tensor b, double rcond_v, int rcond_null, char * driver_v, int driver_null);
#       |                                                                                                                                                                                          ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1515_atg_linalg_qr':
# torch_stubs_generated.c:22292:34: warning: passing argument 3 of 'atg_linalg_qr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22292 |    atg_linalg_qr(x21584, x21585, x21586);
#       |                                  ^~~~~~
# torch_api_generated.h:1438:54: note: expected 'char *' but argument is of type 'const char *'
#  1438 | void atg_linalg_qr(raw_tensor *, gc_tensor A, char * mode);
#       |                                               ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__1516_atg_linalg_qr_out':
# torch_stubs_generated.c:22303:54: warning: passing argument 5 of 'atg_linalg_qr_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22303 |    atg_linalg_qr_out(x21593, x21594, x21595, x21596, x21597);
#       |                                                      ^~~~~~
# torch_api_generated.h:1439:84: note: expected 'char *' but argument is of type 'const char *'
#  1439 | void atg_linalg_qr_out(raw_tensor *, gc_tensor Q, gc_tensor R, gc_tensor A, char * mode);
#       |                                                                             ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__1525_atg_linalg_svd':
# torch_stubs_generated.c:22430:43: warning: passing argument 4 of 'atg_linalg_svd' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22430 |    atg_linalg_svd(x21721, x21722, x21723, x21726, x21727);
#       |                                           ^~~~~~
# torch_api_generated.h:1448:74: note: expected 'char *' but argument is of type 'const char *'
#  1448 | void atg_linalg_svd(raw_tensor *, gc_tensor A, int full_matrices, char * driver_v, int driver_null);
#       |                                                                   ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1526_atg_linalg_svd_u':
# torch_stubs_generated.c:22445:69: warning: passing argument 7 of 'atg_linalg_svd_u' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22445 |    atg_linalg_svd_u(x21739, x21740, x21741, x21742, x21743, x21744, x21747,
#       |                                                                     ^~~~~~
# torch_api_generated.h:1449:116: note: expected 'char *' but argument is of type 'const char *'
#  1449 | void atg_linalg_svd_u(raw_tensor *, gc_tensor U, gc_tensor S, gc_tensor Vh, gc_tensor A, int full_matrices, char * driver_v, int driver_null);
#       |                                                                                                             ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1527_atg_linalg_svdvals':
# torch_stubs_generated.c:22468:46: warning: passing argument 2 of 'atg_linalg_svdvals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22468 |    void* x21768 = atg_linalg_svdvals(x21763, x21764, x21765);
#       |                                              ^~~~~~
# torch_api_generated.h:1450:51: note: expected 'char *' but argument is of type 'const char *'
#  1450 | raw_tensor atg_linalg_svdvals(gc_tensor A, char * driver_v, int driver_null);
#       |                                            ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1528_atg_linalg_svdvals_out':
# torch_stubs_generated.c:22478:58: warning: passing argument 3 of 'atg_linalg_svdvals_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22478 |    void* x21779 = atg_linalg_svdvals_out(x21773, x21774, x21775, x21776);
#       |                                                          ^~~~~~
# torch_api_generated.h:1451:70: note: expected 'char *' but argument is of type 'const char *'
#  1451 | raw_tensor atg_linalg_svdvals_out(gc_tensor out, gc_tensor A, char * driver_v, int driver_null);
#       |                                                               ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1657_atg_meshgrid_indexing':
# torch_stubs_generated.c:24361:58: warning: passing argument 3 of 'atg_meshgrid_indexing' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 24361 |    void** x23619 = atg_meshgrid_indexing(x23614, x23615, x23618);
#       |                                                          ^~~~~~
# torch_api_generated.h:1580:84: note: expected 'char *' but argument is of type 'const char *'
#  1580 | raw_tensor *atg_meshgrid_indexing(gc_tensor *tensors_data, int tensors_len, char * indexing);
#       |                                                                             ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1761_atg_nanquantile':
# torch_stubs_generated.c:26849:60: warning: passing argument 6 of 'atg_nanquantile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 26849 |    atg_nanquantile(x26067, x26068, x26069, x26072, x26075, x26078);
#       |                                                            ^~~~~~
# torch_api_generated.h:1684:106: note: expected 'char *' but argument is of type 'const char *'
#  1684 | raw_tensor atg_nanquantile(gc_tensor self, gc_tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
#       |                                                                                                   ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1762_atg_nanquantile_out':
# torch_stubs_generated.c:26878:24: warning: passing argument 7 of 'atg_nanquantile_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 26878 |                        x26105);
#       |                        ^~~~~~
# torch_api_generated.h:1685:125: note: expected 'char *' but argument is of type 'const char *'
#  1685 | raw_tensor atg_nanquantile_out(gc_tensor out, gc_tensor self, gc_tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
#       |                                                                                                                      ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1763_atg_nanquantile_scalar':
# torch_stubs_generated.c:26905:67: warning: passing argument 6 of 'atg_nanquantile_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 26905 |    atg_nanquantile_scalar(x26120, x26121, x26124, x26127, x26130, x26133);
#       |                                                                   ^~~~~~
# torch_api_generated.h:1686:110: note: expected 'char *' but argument is of type 'const char *'
#  1686 | raw_tensor atg_nanquantile_scalar(gc_tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
#       |                                                                                                       ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1764_atg_nanquantile_scalar_out':
# torch_stubs_generated.c:26934:39: warning: passing argument 7 of 'atg_nanquantile_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 26934 |                               x26159, x26162);
#       |                                       ^~~~~~
# torch_api_generated.h:1687:129: note: expected 'char *' but argument is of type 'const char *'
#  1687 | raw_tensor atg_nanquantile_scalar_out(gc_tensor out, gc_tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
#       |                                                                                                                          ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1860_atg_pad':
# torch_stubs_generated.c:28274:51: warning: passing argument 4 of 'atg_pad' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 28274 |    void* x27472 = atg_pad(x27460, x27461, x27462, x27465, x27466, x27469);
#       |                                                   ^~~~~~
# torch_api_generated.h:1783:75: note: expected 'char *' but argument is of type 'const char *'
#  1783 | raw_tensor atg_pad(gc_tensor self, int64_t *pad_data, int pad_len, char * mode, double value_v, int value_null);
#       |                                                                    ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__1907_atg_quantile':
# torch_stubs_generated.c:28680:57: warning: passing argument 6 of 'atg_quantile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 28680 |    atg_quantile(x27853, x27854, x27855, x27858, x27861, x27864);
#       |                                                         ^~~~~~
# torch_api_generated.h:1830:103: note: expected 'char *' but argument is of type 'const char *'
#  1830 | raw_tensor atg_quantile(gc_tensor self, gc_tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
#       |                                                                                                ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1908_atg_quantile_out':
# torch_stubs_generated.c:28706:69: warning: passing argument 7 of 'atg_quantile_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 28706 |    atg_quantile_out(x27879, x27880, x27881, x27882, x27885, x27888, x27891);
#       |                                                                     ^~~~~~
# torch_api_generated.h:1831:122: note: expected 'char *' but argument is of type 'const char *'
#  1831 | raw_tensor atg_quantile_out(gc_tensor out, gc_tensor self, gc_tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
#       |                                                                                                                   ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1909_atg_quantile_scalar':
# torch_stubs_generated.c:28733:64: warning: passing argument 6 of 'atg_quantile_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 28733 |    atg_quantile_scalar(x27906, x27907, x27910, x27913, x27916, x27919);
#       |                                                                ^~~~~~
# torch_api_generated.h:1832:107: note: expected 'char *' but argument is of type 'const char *'
#  1832 | raw_tensor atg_quantile_scalar(gc_tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
#       |                                                                                                    ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1910_atg_quantile_scalar_out':
# torch_stubs_generated.c:28762:28: warning: passing argument 7 of 'atg_quantile_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 28762 |                            x27948);
#       |                            ^~~~~~
# torch_api_generated.h:1833:126: note: expected 'char *' but argument is of type 'const char *'
#  1833 | raw_tensor atg_quantile_scalar_out(gc_tensor out, gc_tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
#       |                                                                                                                       ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__2076_atg_scatter_reduce':
# torch_stubs_generated.c:30999:70: warning: passing argument 5 of 'atg_scatter_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 30999 |    void* x30128 = atg_scatter_reduce(x30121, x30122, x30125, x30126, x30127);
#       |                                                                      ^~~~~~
# torch_api_generated.h:1999:99: note: expected 'char *' but argument is of type 'const char *'
#  1999 | raw_tensor atg_scatter_reduce(gc_tensor self, int64_t dim, gc_tensor index, gc_tensor src, char * reduce);
#       |                                                                                            ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2077_atg_scatter_reduce_':
# torch_stubs_generated.c:31012:56: warning: passing argument 5 of 'atg_scatter_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31012 |    atg_scatter_reduce_(x30134, x30135, x30138, x30139, x30140);
#       |                                                        ^~~~~~
# torch_api_generated.h:2000:100: note: expected 'char *' but argument is of type 'const char *'
#  2000 | raw_tensor atg_scatter_reduce_(gc_tensor self, int64_t dim, gc_tensor index, gc_tensor src, char * reduce);
#       |                                                                                             ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2078_atg_scatter_reduce_out':
# torch_stubs_generated.c:31026:67: warning: passing argument 6 of 'atg_scatter_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31026 |    atg_scatter_reduce_out(x30148, x30149, x30150, x30153, x30154, x30155);
#       |                                                                   ^~~~~~
# torch_api_generated.h:2001:118: note: expected 'char *' but argument is of type 'const char *'
#  2001 | raw_tensor atg_scatter_reduce_out(gc_tensor out, gc_tensor self, int64_t dim, gc_tensor index, gc_tensor src, char * reduce);
#       |                                                                                                               ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2083_atg_scatter_value_reduce':
# torch_stubs_generated.c:31097:61: warning: passing argument 5 of 'atg_scatter_value_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31097 |    atg_scatter_value_reduce(x30216, x30217, x30220, x30221, x30222);
#       |                                                             ^~~~~~
# torch_api_generated.h:2006:104: note: expected 'char *' but argument is of type 'const char *'
#  2006 | raw_tensor atg_scatter_value_reduce(gc_tensor self, int64_t dim, gc_tensor index, scalar value, char * reduce);
#       |                                                                                                 ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2084_atg_scatter_value_reduce_':
# torch_stubs_generated.c:31110:62: warning: passing argument 5 of 'atg_scatter_value_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31110 |    atg_scatter_value_reduce_(x30229, x30230, x30233, x30234, x30235);
#       |                                                              ^~~~~~
# torch_api_generated.h:2007:105: note: expected 'char *' but argument is of type 'const char *'
#  2007 | raw_tensor atg_scatter_value_reduce_(gc_tensor self, int64_t dim, gc_tensor index, scalar value, char * reduce);
#       |                                                                                                  ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2085_atg_scatter_value_reduce_out':
# torch_stubs_generated.c:31125:33: warning: passing argument 6 of 'atg_scatter_value_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31125 |                                 x30250);
#       |                                 ^~~~~~
# torch_api_generated.h:2008:123: note: expected 'char *' but argument is of type 'const char *'
#  2008 | raw_tensor atg_scatter_value_reduce_out(gc_tensor out, gc_tensor self, int64_t dim, gc_tensor index, scalar value, char * reduce);
#       |                                                                                                                    ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2086_atg_searchsorted':
# torch_stubs_generated.c:31152:53: warning: passing argument 5 of 'atg_searchsorted' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31152 |    atg_searchsorted(x30265, x30266, x30267, x30270, x30273, x30274, x30277);
#       |                                                     ^~~~~~
# torch_api_generated.h:2009:105: note: expected 'char *' but argument is of type 'const char *'
#  2009 | raw_tensor atg_searchsorted(gc_tensor sorted_sequence, gc_tensor self, int out_int32, int right, char * side_v, int side_null, gc_tensor sorter);
#       |                                                                                                  ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2087_atg_searchsorted_scalar':
# torch_stubs_generated.c:31181:60: warning: passing argument 5 of 'atg_searchsorted_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31181 |    atg_searchsorted_scalar(x30293, x30294, x30295, x30298, x30301, x30302,
#       |                                                            ^~~~~~
# torch_api_generated.h:2010:109: note: expected 'char *' but argument is of type 'const char *'
#  2010 | raw_tensor atg_searchsorted_scalar(gc_tensor sorted_sequence, scalar self, int out_int32, int right, char * side_v, int side_null, gc_tensor sorter);
#       |                                                                                                      ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2088_atg_searchsorted_scalar_out':
# torch_stubs_generated.c:31213:32: warning: passing argument 6 of 'atg_searchsorted_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31213 |                                x30331, x30332, x30335);
#       |                                ^~~~~~
# torch_api_generated.h:2011:128: note: expected 'char *' but argument is of type 'const char *'
#  2011 | raw_tensor atg_searchsorted_scalar_out(gc_tensor out, gc_tensor sorted_sequence, scalar self, int out_int32, int right, char * side_v, int side_null, gc_tensor sorter);
#       |                                                                                                                         ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2089_atg_searchsorted_tensor_out':
# torch_stubs_generated.c:31245:32: warning: passing argument 6 of 'atg_searchsorted_tensor_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31245 |                                x30362, x30363, x30366);
#       |                                ^~~~~~
# torch_api_generated.h:2012:131: note: expected 'char *' but argument is of type 'const char *'
#  2012 | raw_tensor atg_searchsorted_tensor_out(gc_tensor out, gc_tensor sorted_sequence, gc_tensor self, int out_int32, int right, char * side_v, int side_null, gc_tensor sorter);
#       |                                                                                                                            ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2090_atg_segment_reduce':
# torch_stubs_generated.c:31275:31: warning: passing argument 2 of 'atg_segment_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31275 |    atg_segment_reduce(x30384, x30385, x30386, x30387, x30388, x30389,
#       |                               ^~~~~~
# torch_api_generated.h:2013:54: note: expected 'char *' but argument is of type 'const char *'
#  2013 | raw_tensor atg_segment_reduce(gc_tensor data, char * reduce, gc_tensor lengths, gc_tensor indices, gc_tensor offsets, int64_t axis, int unsafe, scalar initial);
#       |                                               ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2091_atg_segment_reduce_out':
# torch_stubs_generated.c:31309:43: warning: passing argument 3 of 'atg_segment_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31309 |    atg_segment_reduce_out(x30414, x30415, x30416, x30417, x30418, x30419,
#       |                                           ^~~~~~
# torch_api_generated.h:2014:73: note: expected 'char *' but argument is of type 'const char *'
#  2014 | raw_tensor atg_segment_reduce_out(gc_tensor out, gc_tensor data, char * reduce, gc_tensor lengths, gc_tensor indices, gc_tensor offsets, int64_t axis, int unsafe, scalar initial);
#       |                                                                  ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2413_atg_stft_center':
# torch_stubs_generated.c:35007:28: warning: passing argument 9 of 'atg_stft_center' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 35007 |                    x33586, x33589, x33590, x33593, x33596);
#       |                            ^~~~~~
# torch_api_generated.h:2336:182: note: expected 'char *' but argument is of type 'const char *'
#  2336 | raw_tensor atg_stft_center(gc_tensor self, int64_t n_fft, int64_t hop_length_v, int hop_length_null, int64_t win_length_v, int win_length_null, gc_tensor window, int center, char * pad_mode, int normalized, int onesided, int return_complex);
#       |                                                                                                                                                                               ~~~~~~~^~~~~~~~



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build torch v0.17.0
+- 
+- The following changes have been performed
| - install base                        v0.17.1
| - install base_bigstring              v0.17.0
| - install base_quickcheck             v0.17.0
| - install bigarray-compat             1.1.0
| - install bin_prot                    v0.17.0
| - install capitalization              v0.17.0
| - install conf-libffi                 2.0.0
| - install conf-pkg-config             4
| - install core                        v0.17.1
| - install core_kernel                 v0.17.0
| - install core_unix                   v0.17.0
| - install csexp                       1.5.2
| - install ctypes                      0.23.0
| - install ctypes-foreign              0.23.0
| - install dune-configurator           3.17.2
| - install expect_test_helpers_core    v0.17.0
| - install fieldslib                   v0.17.0
| - install gel                         v0.17.0
| - install int_repr                    v0.17.0
| - install integers                    0.7.0
| - install jane-street-headers         v0.17.0
| - install jst-config                  v0.17.0
| - install num                         1.5-1
| - install ocaml-compiler-libs         v0.12.4
| - install ocaml_intrinsics_kernel     v0.17.1
| - install parsexp                     v0.17.0
| - install ppx_assert                  v0.17.0
| - install ppx_base                    v0.17.0
| - install ppx_bench                   v0.17.0
| - install ppx_bin_prot                v0.17.0
| - install ppx_cold                    v0.17.0
| - install ppx_compare                 v0.17.0
| - install ppx_custom_printf           v0.17.0
| - install ppx_derivers                1.2.1
| - install ppx_diff                    v0.17.0
| - install ppx_disable_unused_warnings v0.17.0
| - install ppx_enumerate               v0.17.0
| - install ppx_expect                  v0.17.2
| - install ppx_fields_conv             v0.17.0
| - install ppx_fixed_literal           v0.17.0
| - install ppx_globalize               v0.17.0
| - install ppx_hash                    v0.17.0
| - install ppx_here                    v0.17.0
| - install ppx_ignore_instrumentation  v0.17.0
| - install ppx_inline_test             v0.17.0
| - install ppx_jane                    v0.17.0
| - install ppx_let                     v0.17.0
| - install ppx_log                     v0.17.0
| - install ppx_module_timer            v0.17.0
| - install ppx_optcomp                 v0.17.0
| - install ppx_optional                v0.17.0
| - install ppx_pipebang                v0.17.0
| - install ppx_sexp_conv               v0.17.0
| - install ppx_sexp_message            v0.17.0
| - install ppx_sexp_value              v0.17.0
| - install ppx_stable                  v0.17.0
| - install ppx_stable_witness          v0.17.0
| - install ppx_string                  v0.17.0
| - install ppx_string_conv             v0.17.0
| - install ppx_tydi                    v0.17.0
| - install ppx_typerep_conv            v0.17.0
| - install ppx_variants_conv           v0.17.0
| - install ppxlib                      0.35.0
| - install ppxlib_jane                 v0.17.0
| - install re                          1.12.0
| - install seq                         base
| - install sexp_pretty                 v0.17.0
| - install sexplib                     v0.17.0
| - install sexplib0                    v0.17.0
| - install spawn                       v0.17.0
| - install splittable_random           v0.17.0
| - install stdio                       v0.17.0
| - install stdlib-shims                0.3.0
| - install time_now                    v0.17.0
| - install timezone                    v0.17.0
| - install typerep                     v0.17.1
| - install uopt                        v0.17.0
| - install variantslib                 v0.17.0
+- 

<><> torch.v0.17.0 troubleshooting ><><><><><><><><><><><><><><><><><><><><><><>
=> Installation of ocaml-torch failed. This likely happened
   because there is no system installation of libtorch to compile
   OCaml bindings against. Please instal the CPU version of libtorch
   through opam, or the appropriate version of libtorch for your GPU
   through the official distribution.
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.1/.opam-switch/backup/state-20250206020857.export"
OCaml

Innovation. Community. Security.