2025-08-01 20:24.44: New job: test ahrefs/ocannl https://github.com/ahrefs/ocannl.git#refs/heads/master (59194177aeac3b8bbe30f86591b5a2e0edeb984c) (windows-amd64:windows-server-2022-amd64-5.3_opam-2.4)
Base: windows-server-2022-amd64-ocaml-5.3
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ahrefs/ocannl.git" -b "master" && cd "ocannl" && git reset --hard 59194177
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-amd64-ocaml-5.3
# windows-server-2022-amd64-5.3_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/bin/opam-2.4 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 neural_nets_lib.opam arrayjit.opam /Users/opam/src/./
RUN opam pin add -yn neural_nets_lib.dev '/Users/opam/src/./' && \
opam pin add -yn arrayjit.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="angstrom.0.16.1 arch-x86_64.1 astring.0.8.5 backoff.0.1.1 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 bigstringaf.0.10.0 camlp-streams.5.0.1 camlzip.1.13 cmdliner.1.3.0 conf-libcurl.2 conf-libffi.2.0.0 conf-mingw-w64-curl-x86_64.1 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-libffi-x86_64.1 conf-mingw-w64-zlib-x86_64.1 conf-pkg-config.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 csv.2.4 ctypes.0.23.0 ctypes-foreign.0.23.0 curl.0.10.0 dune.3.19.1 dune-configurator.3.19.1 fieldslib.v0.17.0 flexdll.0.44 fmt.0.11.0 host-arch-x86_64.1 host-system-mingw.1 integers.0.7.0 jane-street-headers.v0.17.0 jst-config.v0.17.0 logs.0.9.0 mdx.2.5.0 mingw-w64-shims.0.2.0 mtime.2.1.0 multicore-magic.2.3.1 num.1.6 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.17.0 pprint.20230830 ppx_assert.v0.17.0 ppx_base.v0.17.0 ppx_cold.v0.17.0 ppx_compare.v0.17.0 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_enumerate.v0.17.0 ppx_expect.v0.17.3 ppx_fields_conv.v0.17.0 ppx_globalize.v0.17.2 ppx_hash.v0.17.0 ppx_here.v0.17.0 ppx_inline_test.v0.17.1 ppx_minidebug.2.3.0 ppx_optcomp.v0.17.1 ppx_sexp_conv.v0.17.1 ppx_string.v0.17.0 ppx_variants_conv.v0.17.1 ppxlib.0.36.0 ppxlib_jane.v0.17.4 printbox.0.12 printbox-ext-plot.0.12 printbox-html.0.12 printbox-md.0.12 printbox-text.0.12 ptime.1.2.0 re.1.13.2 result.1.5 saturn_lockfree.0.5.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 thread-local-storage.0.2 time_now.v0.17.0 topkg.1.1.0 tyxml.4.6.0 uucp.16.0.0 uutf.1.0.4 variantslib.v0.17.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y neural_nets_lib.dev arrayjit.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /Users/opam/src
RUN cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-08-01 20:24.44: Using cache hint "ahrefs/ocannl-windows-server-2022-amd64-ocaml-5.3-windows-server-2022-amd64-5.3_opam-2.4-c0e4790db99d8ae6216ec28408485dfd"
2025-08-01 20:24.44: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-5.3)
(comment windows-server-2022-amd64-5.3_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src neural_nets_lib.opam arrayjit.opam) (dst /Users/opam/src/./))
(run (network host)
(shell "opam pin add -yn neural_nets_lib.dev '/Users/opam/src/./' && \
\nopam pin add -yn arrayjit.dev '/Users/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
(env DEPS "angstrom.0.16.1 arch-x86_64.1 astring.0.8.5 backoff.0.1.1 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 bigstringaf.0.10.0 camlp-streams.5.0.1 camlzip.1.13 cmdliner.1.3.0 conf-libcurl.2 conf-libffi.2.0.0 conf-mingw-w64-curl-x86_64.1 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-libffi-x86_64.1 conf-mingw-w64-zlib-x86_64.1 conf-pkg-config.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 csv.2.4 ctypes.0.23.0 ctypes-foreign.0.23.0 curl.0.10.0 dune.3.19.1 dune-configurator.3.19.1 fieldslib.v0.17.0 flexdll.0.44 fmt.0.11.0 host-arch-x86_64.1 host-system-mingw.1 integers.0.7.0 jane-street-headers.v0.17.0 jst-config.v0.17.0 logs.0.9.0 mdx.2.5.0 mingw-w64-shims.0.2.0 mtime.2.1.0 multicore-magic.2.3.1 num.1.6 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.17.0 pprint.20230830 ppx_assert.v0.17.0 ppx_base.v0.17.0 ppx_cold.v0.17.0 ppx_compare.v0.17.0 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_enumerate.v0.17.0 ppx_expect.v0.17.3 ppx_fields_conv.v0.17.0 ppx_globalize.v0.17.2 ppx_hash.v0.17.0 ppx_here.v0.17.0 ppx_inline_test.v0.17.1 ppx_minidebug.2.3.0 ppx_optcomp.v0.17.1 ppx_sexp_conv.v0.17.1 ppx_string.v0.17.0 ppx_variants_conv.v0.17.1 ppxlib.0.36.0 ppxlib_jane.v0.17.4 printbox.0.12 printbox-ext-plot.0.12 printbox-html.0.12 printbox-md.0.12 printbox-text.0.12 ptime.1.2.0 re.1.13.2 result.1.5 saturn_lockfree.0.5.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 thread-local-storage.0.2 time_now.v0.17.0 topkg.1.1.0 tyxml.4.6.0 uucp.16.0.0 uutf.1.0.4 variantslib.v0.17.0")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam update --depexts && opam install --cli=2.4 --depext-only -y neural_nets_lib.dev arrayjit.dev $DEPS"))
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /Users/opam/src))
(run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-08-01 20:24.44: Waiting for resource in pool OCluster
2025-08-01 20:24.44: Waiting for worker…
2025-08-01 20:27.05: Got resource from pool OCluster
Building on thyme
Updating files: 71% (100/140)
Updating files: 72% (101/140)
Updating files: 73% (103/140)
Updating files: 74% (104/140)
Updating files: 75% (105/140)
Updating files: 76% (107/140)
Updating files: 77% (108/140)
Updating files: 78% (110/140)
Updating files: 79% (111/140)
Updating files: 80% (112/140)
Updating files: 81% (114/140)
Updating files: 82% (115/140)
Updating files: 83% (117/140)
Updating files: 84% (118/140)
Updating files: 85% (119/140)
Updating files: 86% (121/140)
Updating files: 87% (122/140)
Updating files: 88% (124/140)
Updating files: 89% (125/140)
Updating files: 90% (126/140)
Updating files: 91% (128/140)
Updating files: 92% (129/140)
Updating files: 93% (131/140)
Updating files: 94% (132/140)
Updating files: 95% (133/140)
Updating files: 96% (135/140)
Updating files: 97% (136/140)
Updating files: 98% (138/140)
Updating files: 99% (139/140)
Updating files: 100% (140/140)
Updating files: 100% (140/140), done.
HEAD is now at f65c7028 Fix builtins and random numbers in the metal backend, by Claude Sonnet
HEAD is now at 59194177 Embed non-linked builtins in OCaml strings for easier availability at runtime Note: Metal backend still broken
(from windows-server-2022-amd64-ocaml-5.3)
2025-08-01 20:27.09 ---> using "1d6ffeb5a52124df73b2e951323e99615c52ca4f9bdf0f65039be6146fabdaab" from cache
/: (comment windows-server-2022-amd64-5.3_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-08-01 20:27.09 ---> using "1e2d14b3062f84a7d6f6f169887d274097a3ceefc9654f3a38ec7d8793bb5864" from cache
/: (run (shell "opam init --reinit -ni"))
No configuration file found, using built-in defaults.
<><> Unix support infrastructure ><><><><><><><><><><><><><><><><><><><><><><><>
opam and the OCaml ecosystem in general require various Unix tools in order to operate correctly. At present, this requires the installation of Cygwin to provide these tools.
How should opam obtain Unix tools?
> 1. Use tools found in PATH (Cygwin installation at C:\cygwin64)
2. Automatically create an internal Cygwin installation that will be managed by opam (recommended)
3. Use Cygwin installation found in C:\cygwin64
4. Use another existing Cygwin/MSYS2 installation
5. Abort initialisation
[1/2/3/4/5] 1
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from file://C:/Users/opam/opam-repository
2025-08-01 20:27.09 ---> using "6dbdca3e6c2df003f6cebaa139aa227252a76195aef4f258913cc7da8ee795b2" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.6.4-1.x86_64
The OCaml toplevel, version 5.3.0
2.4.1
2025-08-01 20:27.09 ---> using "dd7e0e07f915e027f7b9342b70fd32de99a0178469368b94a3f981825bdf3d42" from cache
/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e77940d8ff8706305602d0d643bf01c77beef2e7 || git fetch origin master) && git reset -q --hard e77940d8ff8706305602d0d643bf01c77beef2e7 && git log --no-decorate -n1 --oneline && opam update -u"))
e77940d8ff Merge pull request #28255 from dbuenzli/b0-publish-fmt.0.11.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file://C:/Users/opam/opam-repository
Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-08-01 20:27.09 ---> using "82c27af86e40a728a607d37a2f2915f5b18bbd3607ce7347d600a44226fe72d3" from cache
/: (copy (src neural_nets_lib.opam arrayjit.opam) (dst /Users/opam/src/./))
2025-08-01 20:27.09 ---> using "3bd1a094725f9a7c00cc91f63b2b0395a7961e1944b7bb61d385655f7fed9831" from cache
/: (run (network host)
(shell "opam pin add -yn neural_nets_lib.dev '/Users/opam/src/./' && \
\nopam pin add -yn arrayjit.dev '/Users/opam/src/./'"))
[neural_nets_lib.dev] synchronised (file://C:/Users/opam/src/.)
neural_nets_lib is now pinned to file://C:/Users/opam/src/. (version dev)
[arrayjit.dev] synchronised (file://C:/Users/opam/src/.)
arrayjit is now pinned to file://C:/Users/opam/src/. (version dev)
2025-08-01 20:27.09 ---> using "d6291a295fdf60238f8fa78e6117301fa710d51c0de91d2ae178c7aecdc40c74" from cache
/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-08-01 20:27.09 ---> using "9809a9d5825f6ea8d141720bda5004c3a0df142e44382b55a5dc7d0bc7f0c34c" from cache
/: (env DEPS "angstrom.0.16.1 arch-x86_64.1 astring.0.8.5 backoff.0.1.1 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 bigstringaf.0.10.0 camlp-streams.5.0.1 camlzip.1.13 cmdliner.1.3.0 conf-libcurl.2 conf-libffi.2.0.0 conf-mingw-w64-curl-x86_64.1 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-libffi-x86_64.1 conf-mingw-w64-zlib-x86_64.1 conf-pkg-config.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 csv.2.4 ctypes.0.23.0 ctypes-foreign.0.23.0 curl.0.10.0 dune.3.19.1 dune-configurator.3.19.1 fieldslib.v0.17.0 flexdll.0.44 fmt.0.11.0 host-arch-x86_64.1 host-system-mingw.1 integers.0.7.0 jane-street-headers.v0.17.0 jst-config.v0.17.0 logs.0.9.0 mdx.2.5.0 mingw-w64-shims.0.2.0 mtime.2.1.0 multicore-magic.2.3.1 num.1.6 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.17.0 pprint.20230830 ppx_assert.v0.17.0 ppx_base.v0.17.0 ppx_cold.v0.17.0 ppx_compare.v0.17.0 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_enumerate.v0.17.0 ppx_expect.v0.17.3 ppx_fields_conv.v0.17.0 ppx_globalize.v0.17.2 ppx_hash.v0.17.0 ppx_here.v0.17.0 ppx_inline_test.v0.17.1 ppx_minidebug.2.3.0 ppx_optcomp.v0.17.1 ppx_sexp_conv.v0.17.1 ppx_string.v0.17.0 ppx_variants_conv.v0.17.1 ppxlib.0.36.0 ppxlib_jane.v0.17.4 printbox.0.12 printbox-ext-plot.0.12 printbox-html.0.12 printbox-md.0.12 printbox-text.0.12 ptime.1.2.0 re.1.13.2 result.1.5 saturn_lockfree.0.5.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 thread-local-storage.0.2 time_now.v0.17.0 topkg.1.1.0 tyxml.4.6.0 uucp.16.0.0 uutf.1.0.4 variantslib.v0.17.0")
/: (env CI true)
/: (env OCAMLCI true)
/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam update --depexts && opam install --cli=2.4 --depext-only -y neural_nets_lib.dev arrayjit.dev $DEPS"))
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[arrayjit.dev] synchronised (file://C:/Users/opam/src/.)
[neural_nets_lib.dev] synchronised (file://C:/Users/opam/src/.)
[NOTE] Package system-mingw is already installed (current version is 1).
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-env-mingw64 is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.44).
[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
The following system packages will first need to be installed:
mingw64-x86_64-curl mingw64-x86_64-libffi mingw64-x86_64-zlib
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ C:\Users\opam\AppData\Local\opam\.cygwin\setup-x86_64.exe "--root" "C:\\cygwin64" "--quiet-mode" "unattended" "--no-shortcuts" "--no-startmenu" "--no-desktop" "--no-admin" "--no-version-check" "--no-write-registry" "--packages" "mingw64-x86_64-curl,mingw64-x86_64-libffi,mingw64-x86_64-zlib"
- Starting cygwin install, version 2.934
- User has backup/restore rights
- User has symlink creation right
- Current Directory: C:\Windows\system32
- root: C:\cygwin64 system
- Changing gid to Administrators
- Selected local directory: C:\Windows\system32
- net: Preconfig
- site: https://cygwin.mirror.constant.com/
- solving: 3 tasks, update: no, use test packages: no
- solving: 11 tasks, update: no, use test packages: no
- Augmented Transaction List:
- 0 install mingw64-x86_64-gcc-g++ 13.4.0-1
- 1 install mingw64-x86_64-libffi 3.2.1-2
- 2 install mingw64-x86_64-nghttp2 1.61.0-1
- 3 install mingw64-x86_64-win-iconv 0.0.8-1
- 4 install mingw64-x86_64-zlib 1.3.1-1
- 5 install mingw64-x86_64-zstd 1.5.7-1
- 6 install mingw64-x86_64-gettext 0.22.5-1
- 7 install mingw64-x86_64-openssl 3.0.17-1
- 8 install mingw64-x86_64-libssh2 1.11.0-1
- 9 install mingw64-x86_64-libidn2 2.3.8-1
- 10 install mingw64-x86_64-curl 8.15.0-1
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/mingw64-x86_64-gcc/mingw64-x86_64-gcc-g++/mingw64-x86_64-gcc-g++-13.4.0-1-x86_64.tar.zst
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-libffi/mingw64-x86_64-libffi-3.2.1-2.tar.xz
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-nghttp2/mingw64-x86_64-nghttp2-1.61.0-1.tar.xz
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-win-iconv/mingw64-x86_64-win-iconv-0.0.8-1.tar.xz
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-zlib/mingw64-x86_64-zlib-1.3.1-1.tar.zst
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-zstd/mingw64-x86_64-zstd-1.5.7-1.tar.zst
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-gettext/mingw64-x86_64-gettext-0.22.5-1.tar.xz
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-openssl/mingw64-x86_64-openssl-3.0.17-1-noarch.tar.zst
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-libssh2/mingw64-x86_64-libssh2-1.11.0-1.tar.xz
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-libidn2/mingw64-x86_64-libidn2-2.3.8-1.tar.xz
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-curl/mingw64-x86_64-curl-8.15.0-1-noarch.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/mingw64-x86_64-gcc/mingw64-x86_64-gcc-g++/mingw64-x86_64-gcc-g++-13.4.0-1-x86_64.tar.zst
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-libffi/mingw64-x86_64-libffi-3.2.1-2.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-nghttp2/mingw64-x86_64-nghttp2-1.61.0-1.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-win-iconv/mingw64-x86_64-win-iconv-0.0.8-1.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-zlib/mingw64-x86_64-zlib-1.3.1-1.tar.zst
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-zstd/mingw64-x86_64-zstd-1.5.7-1.tar.zst
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-gettext/mingw64-x86_64-gettext-0.22.5-1.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-openssl/mingw64-x86_64-openssl-3.0.17-1-noarch.tar.zst
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-libssh2/mingw64-x86_64-libssh2-1.11.0-1.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-libidn2/mingw64-x86_64-libidn2-2.3.8-1.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-curl/mingw64-x86_64-curl-8.15.0-1-noarch.tar.xz
- running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash"
- running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash"
- running: C:\cygwin64\bin\dash.exe "/etc/postinstall/zp_man-db-update-index.dash"
- Ending cygwin install
- NOTE: you should run 'diskperf -y' to enable the disk statistics
- NOTE: you should run 'diskperf -y' to enable the disk statistics
2025-08-01 20:27.09 ---> using "4012fb088ad5251282bd6df76ecb8684706e5b7b701859e950db1cbc8e3b8193" from cache
/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package system-mingw is already installed (current version is 1).
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-env-mingw64 is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.44).
[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
The following actions will be performed:
=== recompile 1 package
- recompile mingw-w64-shims 0.2.0
=== install 84 packages
- install angstrom 0.16.1
- install astring 0.8.5
- install backoff 0.1.1
- install base v0.17.3
- install base-bytes base
- install bigarray-compat 1.1.0
- install bigstringaf 0.10.0
- install camlp-streams 5.0.1
- install camlzip 1.13
- install cmdliner 1.3.0
- install conf-libcurl 2
- install conf-libffi 2.0.0
- install conf-mingw-w64-curl-x86_64 1
- install conf-mingw-w64-libffi-x86_64 1
- install conf-mingw-w64-zlib-x86_64 1
- install conf-pkg-config 4
- install conf-zlib 1
- install cppo 1.8.0
- install csexp 1.5.2
- install csv 2.4
- install ctypes 0.23.0
- install ctypes-foreign 0.23.0
- install curl 0.10.0
- install dune 3.19.1
- install dune-configurator 3.19.1
- install fieldslib v0.17.0
- install fmt 0.11.0
- install integers 0.7.0
- install jane-street-headers v0.17.0
- install jst-config v0.17.0
- install logs 0.9.0
- install mdx 2.5.0
- install mtime 2.1.0
- install multicore-magic 2.3.1
- install num 1.6
- install ocaml-compiler-libs v0.17.0
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 4.0.1
- install ocaml_intrinsics_kernel v0.17.1
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install parsexp v0.17.0
- install pprint 20230830
- install ppx_assert v0.17.0
- install ppx_base v0.17.0
- install ppx_cold v0.17.0
- install ppx_compare v0.17.0
- install ppx_derivers 1.2.1
- install ppx_deriving 6.1.1
- install ppx_enumerate v0.17.0
- install ppx_expect v0.17.3
- install ppx_fields_conv v0.17.0
- install ppx_globalize v0.17.2
- install ppx_hash v0.17.0
- install ppx_here v0.17.0
- install ppx_inline_test v0.17.1
- install ppx_minidebug 2.3.0
- install ppx_optcomp v0.17.1
- install ppx_sexp_conv v0.17.1
- install ppx_string v0.17.0
- install ppx_variants_conv v0.17.1
- install ppxlib 0.36.0
- install ppxlib_jane v0.17.4
- install printbox 0.12
- install printbox-ext-plot 0.12
- install printbox-html 0.12
- install printbox-md 0.12
- install printbox-text 0.12
- install ptime 1.2.0
- install re 1.13.2
- install result 1.5
- install saturn_lockfree 0.5.0
- install seq base
- install sexplib v0.17.0
- install sexplib0 v0.17.0
- install stdio v0.17.0
- install stdlib-shims 0.3.0
- install thread-local-storage 0.2
- install time_now v0.17.0
- install topkg 1.1.0
- install tyxml 4.6.0
- install uucp 16.0.0
- install uutf 1.0.4
- install variantslib v0.17.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved backoff.0.1.1 (cached)
-> retrieved bigarray-compat.1.1.0 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved camlzip.1.13 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved base.v0.17.3 (https://github.com/janestreet/base/archive/refs/tags/v0.17.3.tar.gz)
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved csv.2.4 (cached)
-> retrieved curl.0.10.0 (cached)
-> retrieved fieldslib.v0.17.0 (cached)
-> installed conf-pkg-config.4
-> retrieved ctypes.0.23.0, ctypes-foreign.0.23.0 (cached)
-> installed conf-mingw-w64-curl-x86_64.1
-> installed conf-mingw-w64-libffi-x86_64.1
-> retrieved fmt.0.11.0 (https://erratique.ch/software/fmt/releases/fmt-0.11.0.tbz)
-> retrieved integers.0.7.0 (cached)
-> installed conf-libffi.2.0.0
-> retrieved jane-street-headers.v0.17.0 (cached)
-> retrieved jst-config.v0.17.0 (cached)
-> installed conf-mingw-w64-zlib-x86_64.1
-> installed conf-zlib.1
-> retrieved logs.0.9.0 (https://erratique.ch/software/logs/releases/logs-0.9.0.tbz)
-> retrieved mingw-w64-shims.0.2.0 (cached)
-> removed mingw-w64-shims.0.2.0
-> retrieved mdx.2.5.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved multicore-magic.2.3.1 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved num.1.6 (https://github.com/ocaml/num/archive/refs/tags/v1.6.tar.gz)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ocaml-version.4.0.1 (https://github.com/ocurrent/ocaml-version/releases/download/v4.0.1/ocaml-version-4.0.1.tbz)
-> installed cmdliner.1.3.0
-> installed mingw-w64-shims.0.2.0
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved parsexp.v0.17.0 (cached)
-> retrieved pprint.20230830 (cached)
-> retrieved ppx_assert.v0.17.0 (cached)
-> retrieved ppx_base.v0.17.0 (cached)
-> retrieved ppx_cold.v0.17.0 (cached)
-> retrieved ppx_compare.v0.17.0 (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1 (https://github.com/ocaml/dune/releases/download/3.19.1/dune-3.19.1.tbz)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_enumerate.v0.17.0 (cached)
-> retrieved ppx_deriving.6.1.1 (https://github.com/ocaml-ppx/ppx_deriving/releases/download/v6.1.1/ppx_deriving-6.1.1.tar.gz)
-> retrieved ppx_fields_conv.v0.17.0 (cached)
-> retrieved ppx_expect.v0.17.3 (https://github.com/janestreet/ppx_expect/archive/refs/tags/v0.17.3.tar.gz)
-> retrieved ppx_hash.v0.17.0 (cached)
-> retrieved ppx_here.v0.17.0 (cached)
-> retrieved ppx_globalize.v0.17.2 (https://github.com/janestreet/ppx_globalize/archive/refs/tags/v0.17.2.tar.gz)
-> installed conf-libcurl.2
-> retrieved ppx_inline_test.v0.17.1 (https://github.com/janestreet/ppx_inline_test/archive/refs/tags/v0.17.1.tar.gz)
-> retrieved ppx_minidebug.2.3.0 (https://github.com/lukstafi/ppx_minidebug/archive/refs/tags/2.3.0.tar.gz)
-> retrieved ppx_optcomp.v0.17.1 (https://github.com/janestreet/ppx_optcomp/archive/refs/tags/v0.17.1.tar.gz)
-> retrieved ppx_string.v0.17.0 (cached)
-> retrieved ppx_sexp_conv.v0.17.1 (https://github.com/janestreet/ppx_sexp_conv/archive/refs/tags/v0.17.1.tar.gz)
-> retrieved ppx_variants_conv.v0.17.1 (https://github.com/janestreet/ppx_variants_conv/archive/refs/tags/v0.17.1.tar.gz)
-> installed num.1.6
-> retrieved ppxlib_jane.v0.17.4 (https://github.com/janestreet/ppxlib_jane/archive/refs/tags/v0.17.4.tar.gz)
-> retrieved printbox.0.12, printbox-ext-plot.0.12, printbox-html.0.12, printbox-md.0.12, printbox-text.0.12 (cached)
-> retrieved ppxlib.0.36.0 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved saturn_lockfree.0.5.0 (cached)
-> retrieved re.1.13.2 (https://github.com/ocaml/ocaml-re/archive/refs/tags/1.13.2.tar.gz)
-> retrieved sexplib.v0.17.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdio.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved thread-local-storage.0.2 (cached)
-> retrieved time_now.v0.17.0 (cached)
-> retrieved tyxml.4.6.0 (cached)
-> retrieved topkg.1.1.0 (https://erratique.ch/software/topkg/releases/topkg-1.1.0.tbz)
-> retrieved uucp.16.0.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved variantslib.v0.17.0 (cached)
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind_opt
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\5.3.0\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\5.3.0\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind_opt.exe
[WARNING] C:\Users\opam\AppData\Local\opam\5.3.0\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed camlzip.1.13
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed fmt.0.11.0
-> installed mtime.2.1.0
-> installed ptime.1.2.0
-> installed logs.0.9.0
-> installed dune.3.19.1
-> installed backoff.0.1.1
-> installed bigarray-compat.1.1.0
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed jane-street-headers.v0.17.0
-> installed cppo.1.8.0
-> installed csv.2.4
-> installed multicore-magic.2.3.1
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-version.4.0.1
-> installed pprint.20230830
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ppx_derivers.1.2.1
-> installed printbox.0.12
-> installed uucp.16.0.0
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed dune-configurator.3.19.1
-> installed sexplib0.v0.17.0
-> installed saturn_lockfree.0.5.0
-> installed printbox-text.0.12
-> installed integers.0.7.0
-> installed re.1.13.2
-> installed bigstringaf.0.10.0
-> installed thread-local-storage.0.2
-> installed parsexp.v0.17.0
-> installed angstrom.0.16.1
-> installed curl.0.10.0
-> installed printbox-md.0.12
-> installed sexplib.v0.17.0
-> installed tyxml.4.6.0
-> installed mdx.2.5.0
-> installed printbox-html.0.12
-> installed printbox-ext-plot.0.12
-> installed base.v0.17.3
-> installed variantslib.v0.17.0
-> installed fieldslib.v0.17.0
-> installed stdio.v0.17.0
-> installed ctypes.0.23.0
-> installed ppxlib.0.36.0
-> installed ppx_optcomp.v0.17.1
-> installed ppx_here.v0.17.0
-> installed ppx_cold.v0.17.0
-> installed ppx_variants_conv.v0.17.1
-> installed ppx_fields_conv.v0.17.0
-> installed ctypes-foreign.0.23.0
-> installed ppx_deriving.6.1.1
-> installed ppxlib_jane.v0.17.4
-> installed ppx_globalize.v0.17.2
-> installed ppx_enumerate.v0.17.0
-> installed ppx_compare.v0.17.0
-> installed ppx_sexp_conv.v0.17.1
-> installed ppx_hash.v0.17.0
-> installed ppx_minidebug.2.3.0
-> installed ppx_assert.v0.17.0
-> installed ppx_base.v0.17.0
-> installed jst-config.v0.17.0
-> installed ppx_string.v0.17.0
-> installed time_now.v0.17.0
-> installed ppx_inline_test.v0.17.1
-> installed ppx_expect.v0.17.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-01 20:27.09 ---> using "1647a7a9769fff01bc22e07aded7684cc967a834e98bb818f6c7fb6f882e445e" from cache
/: (copy (src .) (dst /Users/opam/src))
2025-08-01 20:28.27 ---> saved as "00f35a5998a475c3520473865cce845a5bd9d21c8b8fdbf16afc545eaf92c9e7"
/: (run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "arrayjit/test/dune", line 6, characters 16-24:
6 | (pps ppx_here ppx_jane)))
^^^^^^^^
Error: Library "ppx_jane" not found.
-> required by
_build/default/arrayjit/test/.merlin-conf/exe-test_numerical_types
-> required by alias arrayjit/test/check
(cd _build/default/test/operations/config && ..\..\..\arrayjit\bin\read_config.exe --read=backend)
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
Wrote value of 'backend' to ocannl_backend.txt
(cd _build/default/test/ppx && .\test_ppx_op.exe)
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/default/test/ppx && .\test_ppx_op_expected.exe)
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
File "test/training/dune", line 14, characters 7-26:
14 | (name moons_demo_parallel)
^^^^^^^^^^^^^^^^^^^
(cd _build/default/test/training && .\moons_demo_parallel.exe) > _build/default/test/training/moons_demo_parallel.exe.output
Fatal error: exception (lib/shape.ml.Shape_error "Total_elems constraint: 800 not divisible by 133"
((Row_mismatch
((dims ())
(bcast
(Row_var (v (Row_var 56))
(beg_dims ((Dim ((d 133) (label ()) (proj_id ())))))))
(id ((sh_id 0) (kind Batch)))))))
Raised at Ocannl__Row.apply_row_constraint.reduce in file "lib/row.ml", line 1145, characters 37-90
Re-raised at Ocannl__Row.apply_row_constraint.reduce in file "lib/row.ml", lines 1143-1145, characters 15-90
Called from Ocannl__Row.apply_row_constraint in file "lib/row.ml", line 1163, characters 38-67
Re-raised at Ocannl__Row.apply_row_constraint in file "lib/row.ml", lines 1154-1170, characters 14-23
Re-raised at Ocannl__Row.apply_row_constraint in file "lib/row.ml", lines 1150-1198, characters 56-30
Re-raised at Ocannl__Row.apply_row_constraint in file "lib/row.ml", lines 1141-1287, characters 4-89
Re-raised at Ocannl__Row.apply_row_constraint in file "lib/row.ml", lines 1139-1287, characters 7-89
Re-raised at Ocannl__Row.apply_row_constraint in file "lib/row.ml", lines 1136-1287, characters 25-89
Called from Ocannl__Row.unify_row in file "lib/row.ml", line 1514, characters 34-86
Re-raised at Ocannl__Row.unify_row in file "lib/row.ml", lines 1383-1527, characters 30-95
Called from Ocannl__Row.unify_row in file "lib/row.ml", line 1428, characters 36-65
Re-raised at Ocannl__Row.unify_row in file "lib/row.ml", lines 1383-1527, characters 30-95
Called from Ocannl__Row.solve_inequalities.solve.f in file "lib/row.ml", line 2193, characters 32-61
Called from Base__List0.fold in file "src/list0.ml", line 43, characters 27-37
Called from Ocannl__Row.solve_inequalities.solve in file "lib/row.ml", line 2237, characters 22-56
Re-raised at Ocannl__Row.solve_inequalities.solve in file "lib/row.ml", lines 2184-2243, characters 16-25
Called from Ocannl__Row.solve_inequalities in file "lib/row.ml", line 2246, characters 50-65
Re-raised at Ocannl__Row.solve_inequalities in file "lib/row.ml", lines 2182-2271, characters 35-44
Called from Ocannl__Shape.propagate_shapes in file "lib/shape.ml", line 702, characters 20-73
Re-raised at Ocannl__Shape.propagate_shapes in file "lib/shape.ml", lines 695-705, characters 33-14
Called from Base__List0.iter in file "src/list0.ml", line 66, characters 4-7
Called from Ocannl__Tensor.op in file "lib/tensor.ml", line 266, characters 2-57
Re-raised at Ocannl__Tensor.op in file "lib/tensor.ml", lines 203-353, characters 19-10
Called from Ocannl__Tensor.unop in file "lib/tensor.ml", lines 389-392, characters 2-10
Re-raised at Ocannl__Tensor.unop in file "lib/tensor.ml", lines 385-392, characters 21-10
Called from Ocannl__Train.example_train_loop in file "lib/train.ml", line 417, characters 17-34
Called from Dune__exe__Moons_demo_parallel.main in file "test/training/moons_demo_parallel.ml", lines 51-55, characters 4-8
Called from Dune__exe__Moons_demo_parallel in file "test/training/moons_demo_parallel.ml", line 102, characters 9-16
File "test/operations/dune", line 70, characters 7-22:
70 | (name test_vec_simple)
^^^^^^^^^^^^^^^
(cd _build/default/test/operations && .\test_vec_simple.exe) > _build/default/test/operations/test_vec_simple.exe.output
Cc_backend.c_compile_and_load: compilation failed with errors:
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/cclOMfeK.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_613bb6.c:(.text+0x1b): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/cclOMfeK.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_613bb6.c:(.text+0x31): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/cclOMfeK.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_613bb6.c:(.text+0x53): undefined reference to `arrayjit_threefry4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/cclOMfeK.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_613bb6.c:(.text+0x60): undefined reference to `uint4x32_to_single_uniform_vec'
collect2: error: ld returned 1 exit status
Fatal error: exception Invalid_argument("Cc_backend.c_compile_and_load: compilation failed with errors:\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/cclOMfeK.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_613bb6.c:(.text+0x1b): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/cclOMfeK.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_613bb6.c:(.text+0x31): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/cclOMfeK.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_613bb6.c:(.text+0x53): undefined reference to `arrayjit_threefry4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/cclOMfeK.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_613bb6.c:(.text+0x60): undefined reference to `uint4x32_to_single_uniform_vec'\ncollect2: error: ld returned 1 exit status\n")
Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
Called from Backends__Cc_backend.c_compile_and_load in file "arrayjit/lib/cc_backend.ml", line 140, characters 4-22
Re-raised at Backends__Cc_backend.c_compile_and_load in file "arrayjit/lib/cc_backend.ml", lines 134-140, characters 18-23
Re-raised at Backends__Cc_backend.c_compile_and_load in file "arrayjit/lib/cc_backend.ml", lines 106-165, characters 35-8
Called from Backends__Cc_backend.compile in file "arrayjit/lib/cc_backend.ml", line 204, characters 23-67
Called from Backends.Add_device.compile in file "arrayjit/lib/backends.ml", line 325, characters 15-45
Called from Backends.Raise_backend.compile in file "arrayjit/lib/backends.ml", line 442, characters 29-59
Re-raised at Backends.Raise_backend.compile in file "arrayjit/lib/backends.ml", line 442, characters 4-59
Re-raised at Backends.Raise_backend.compile in file "arrayjit/lib/backends.ml", lines 438-446, characters 26-99
Called from Ocannl__Train.run_once in file "lib/train.ml", line 551, characters 25-89
Re-raised at Ocannl__Train.run_once in file "lib/train.ml", lines 531-554, characters 25-17
Called from Ocannl__Train.forward_once in file "lib/train.ml", lines 566-569, characters 4-46
Called from Dune__exe__Test_vec_simple in file "test/operations/test_vec_simple.ml", line 23, characters 9-68
File "test/training/dune", line 5, characters 7-17:
5 | (name moons_demo)
^^^^^^^^^^
(cd _build/default/test/training && .\moons_demo.exe) > _build/default/test/training/moons_demo.exe.output
Cc_backend.c_compile_and_load: compilation failed with errors:
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x55): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x66): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x84): undefined reference to `arrayjit_threefry4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x8f): undefined reference to `uint4x32_to_single_uniform_vec'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0xd3): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0xe4): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x102): undefined reference to `arrayjit_threefry4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x10d): undefined reference to `uint4x32_to_single_uniform_vec'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x14b): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x15c): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x17a): undefined reference to `arrayjit_threefry4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x185): undefined reference to `uint4x32_to_single_uniform_vec'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x1ad): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x1be): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x1dc): undefined reference to `arrayjit_threefry4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x1e7): undefined reference to `uint4x32_to_single_uniform_vec'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x21c): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x22d): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x24b): undefined reference to `arrayjit_threefry4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x256): undefined reference to `uint4x32_to_single_uniform_vec'
collect2: error: ld returned 1 exit status
Fatal error: exception Invalid_argument("Cc_backend.c_compile_and_load: compilation failed with errors:\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x55): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x66): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x84): undefined reference to `arrayjit_threefry4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x8f): undefined reference to `uint4x32_to_single_uniform_vec'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0xd3): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0xe4): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x102): undefined reference to `arrayjit_threefry4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x10d): undefined reference to `uint4x32_to_single_uniform_vec'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x14b): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x15c): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x17a): undefined reference to `arrayjit_threefry4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x185): undefined reference to `uint4x32_to_single_uniform_vec'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x1ad): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x1be): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x1dc): undefined reference to `arrayjit_threefry4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x1e7): undefined reference to `uint4x32_to_single_uniform_vec'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x21c): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x22d): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x24b): undefined reference to `arrayjit_threefry4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccZjvZGx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_a031df.c:(.text+0x256): undefined reference to `uint4x32_to_single_uniform_vec'\ncollect2: error: ld returned 1 exit status\n")
Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
Called from Backends__Cc_backend.c_compile_and_load in file "arrayjit/lib/cc_backend.ml", line 140, characters 4-22
Re-raised at Backends__Cc_backend.c_compile_and_load in file "arrayjit/lib/cc_backend.ml", lines 134-140, characters 18-23
Re-raised at Backends__Cc_backend.c_compile_and_load in file "arrayjit/lib/cc_backend.ml", lines 106-165, characters 35-8
Called from Backends__Cc_backend.compile in file "arrayjit/lib/cc_backend.ml", line 204, characters 23-67
Called from Backends.Add_device.compile in file "arrayjit/lib/backends.ml", line 325, characters 15-45
Called from Backends.Raise_backend.compile in file "arrayjit/lib/backends.ml", line 442, characters 29-59
Re-raised at Backends.Raise_backend.compile in file "arrayjit/lib/backends.ml", line 442, characters 4-59
Re-raised at Backends.Raise_backend.compile in file "arrayjit/lib/backends.ml", lines 438-446, characters 26-99
Called from Ocannl__Train.to_routine in file "lib/train.ml", line 353, characters 26-82
Called from Ocannl__Train.init_params in file "lib/train.ml", line 373, characters 13-72
Called from Dune__exe__Moons_demo.main in file "test/training/moons_demo.ml", line 51, characters 12-67
Called from Dune__exe__Moons_demo in file "test/training/moons_demo.ml", line 135, characters 9-16
File "test/operations/dune", line 63, characters 7-24:
63 | (name threefry4x32_demo)
^^^^^^^^^^^^^^^^^
(cd _build/default/test/operations && .\threefry4x32_demo.exe) > _build/default/test/operations/threefry4x32_demo.exe.output
Cc_backend.c_compile_and_load: compilation failed with errors:
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccoaNaFx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_86874f.c:(.text+0x53): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccoaNaFx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_86874f.c:(.text+0x64): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccoaNaFx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_86874f.c:(.text+0x82): undefined reference to `arrayjit_threefry4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccoaNaFx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_86874f.c:(.text+0x8d): undefined reference to `uint4x32_to_single_uniform_vec'
collect2: error: ld returned 1 exit status
Fatal error: exception Invalid_argument("Cc_backend.c_compile_and_load: compilation failed with errors:\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccoaNaFx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_86874f.c:(.text+0x53): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccoaNaFx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_86874f.c:(.text+0x64): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccoaNaFx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_86874f.c:(.text+0x82): undefined reference to `arrayjit_threefry4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccoaNaFx.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_86874f.c:(.text+0x8d): undefined reference to `uint4x32_to_single_uniform_vec'\ncollect2: error: ld returned 1 exit status\n")
Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
Called from Backends__Cc_backend.c_compile_and_load in file "arrayjit/lib/cc_backend.ml", line 140, characters 4-22
Re-raised at Backends__Cc_backend.c_compile_and_load in file "arrayjit/lib/cc_backend.ml", lines 134-140, characters 18-23
Re-raised at Backends__Cc_backend.c_compile_and_load in file "arrayjit/lib/cc_backend.ml", lines 106-165, characters 35-8
Called from Backends__Cc_backend.compile in file "arrayjit/lib/cc_backend.ml", line 204, characters 23-67
Called from Backends.Add_device.compile in file "arrayjit/lib/backends.ml", line 325, characters 15-45
Called from Backends.Raise_backend.compile in file "arrayjit/lib/backends.ml", line 442, characters 29-59
Re-raised at Backends.Raise_backend.compile in file "arrayjit/lib/backends.ml", line 442, characters 4-59
Re-raised at Backends.Raise_backend.compile in file "arrayjit/lib/backends.ml", lines 438-446, characters 26-99
Called from Ocannl__Train.run_once in file "lib/train.ml", line 551, characters 25-89
Re-raised at Ocannl__Train.run_once in file "lib/train.ml", lines 531-554, characters 25-17
Called from Ocannl__Train.forward_once in file "lib/train.ml", lines 566-569, characters 4-46
Called from Dune__exe__Threefry4x32_demo in file "test/operations/threefry4x32_demo.ml", line 28, characters 9-68
File "test/operations/dune", lines 19-29, characters 0-281:
19 | (rule
20 | (alias runtest)
21 | (target
22 | (dir log_files))
23 | (action
24 | (run
25 | %{dep:micrograd_demo_logging.exe}
26 | "--ocannl_debug_backend=text"
27 | "--ocannl_log_file_stem=micrograd_demo_logging"
28 | "--ocannl_log_main_domain_to_stdout=false"
29 | "--ocannl_debug_log_to_stream_files=true")))
(cd _build/default/test/operations && .\micrograd_demo_logging.exe --ocannl_debug_backend=text --ocannl_log_file_stem=micrograd_demo_logging --ocannl_log_main_domain_to_stdout=false --ocannl_debug_log_to_stream_files=true)
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
Retrieving commandline, environment, or config file variable ocannl_backend
Found multicore_cc, in the config file
Retrieving commandline, environment, or config file variable ocannl_never_capture_stdout
Not found, using default false
Retrieving commandline, environment, or config file variable ocannl_cd_ident_style
Not found, using default heuristic
Retrieving commandline, environment, or config file variable ocannl_ll_ident_style
Not found, using default heuristic
Retrieving commandline, environment, or config file variable ocannl_prefer_backend_uniformity
Found true, in the config file
Retrieving commandline, environment, or config file variable ocannl_debug_log_to_stream_files
Found true, commandline --ocannl_debug_log_to_stream_files=true
Retrieving commandline, environment, or config file variable ocannl_cc_backend_optimization_level
Not found, using default 3
Retrieving commandline, environment, or config file variable ocannl_cc_backend_compiler_command
Not found, using default x86_64-w64-mingw32-gcc
Retrieving commandline, environment, or config file variable ocannl_cc_backend_verify_codesign
Not found, using default false
Fatal error: exception File "src/printbox-text/PrintBox_text.ml", line 212, characters 6-12: Assertion failed
Raised at PrintBox_text.Output.Make_out.to_buf_aux_ in file "src/printbox-text/PrintBox_text.ml", line 212, characters 6-50
Called from Stdlib__Map.Make.fold in file "map.ml", line 329, characters 19-42
Called from Stdlib__Map.Make.fold in file "map.ml", line 329, characters 26-41
Called from Stdlib__Map.Make.fold in file "map.ml", line 329, characters 26-41
Called from Stdlib__Map.Make.fold in file "map.ml", line 329, characters 26-41
Called from PrintBox_text.Output.Make_out.render in file "src/printbox-text/PrintBox_text.ml", line 242, characters 14-64
Called from PrintBox_text.output in file "src/printbox-text/PrintBox_text.ml", line 851, characters 2-31
Called from Minidebug_runtime.PrintBox.output_box in file "minidebug_runtime.ml", line 1527, characters 19-59
Called from Minidebug_runtime.PrintBox.close_log_impl.close_tree in file "minidebug_runtime.ml", line 1572, characters 6-38
Called from Backends.Add_buffer_retrieval_and_syncing.sync_routine.post in file "arrayjit/lib/backends.ml", lines 225-232, characters 13-15
Called from Ir__Task.run in file "arrayjit/lib/task.ml", line 17, characters 2-14
Re-raised at Ir__Task.run in file "arrayjit/lib/task.ml", lines 15-17, characters 20-14
Called from Ocannl__Train.run in file "lib/train.ml" (inlined), line 43, characters 17-44
Called from Ocannl__Train.init_params in file "lib/train.ml", line 378, characters 2-10
Called from Ocannl__Train.run_once in file "lib/train.ml", line 548, characters 9-73
Re-raised at Ocannl__Train.run_once in file "lib/train.ml", line 548, characters 9-73
Re-raised at Ocannl__Train.run_once in file "lib/train.ml", lines 531-554, characters 25-17
Called from Dune__exe__Micrograd_demo_logging.(fun) in file "test/operations/micrograd_demo_logging.ml", line 30, characters 9-47
Called from Utils.capture_stdout_logs in file "arrayjit/lib/utils.ml", line 847, characters 10-16
Re-raised at Utils.capture_stdout_logs in file "arrayjit/lib/utils.ml", line 878, characters 8-87
Called from Dune__exe__Micrograd_demo_logging in file "test/operations/micrograd_demo_logging.ml", lines 29-34, characters 2-27
(cd _build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations && .operations_tutorials.inline-tests\inline-test-runner.exe inline-test-runner operations_tutorials -partition "Retrieving commandline, environment, or config file variable ocannl_log_level" -source-tree-root ../.. -diff-cmd -)
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations && .operations_tutorials.inline-tests\inline-test-runner.exe inline-test-runner operations_tutorials -partition "Found 0, in the config file" -source-tree-root ../.. -diff-cmd -)
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/.sandbox/822e96b0f2aa52a82a478d5decd6b8e0/default/test/einsum && .einsum_tutorials.inline-tests\inline-test-runner.exe inline-test-runner einsum_tutorials -partition "Retrieving commandline, environment, or config file variable ocannl_log_level" -source-tree-root ../.. -diff-cmd -)
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/.sandbox/822e96b0f2aa52a82a478d5decd6b8e0/default/test/einsum && .einsum_tutorials.inline-tests\inline-test-runner.exe inline-test-runner einsum_tutorials -partition "Found 0, in the config file" -source-tree-root ../.. -diff-cmd -)
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations && .operations_tutorials.inline-tests\inline-test-runner.exe inline-test-runner operations_tutorials -partition test_threefry4x32.ml -source-tree-root ../.. -diff-cmd -)
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
File "test/einsum/dune", line 5, characters 7-25:
5 | (name moons_demo_variant)
^^^^^^^^^^^^^^^^^^
(cd _build/default/test/einsum && .\moons_demo_variant.exe) > _build/default/test/einsum/moons_demo_variant.exe.output
Cc_backend.c_compile_and_load: compilation failed with errors:
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x55): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x66): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x84): undefined reference to `arrayjit_threefry4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x8f): undefined reference to `uint4x32_to_single_uniform_vec'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0xd3): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0xe4): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x102): undefined reference to `arrayjit_threefry4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x10d): undefined reference to `uint4x32_to_single_uniform_vec'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x14b): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x15c): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x17a): undefined reference to `arrayjit_threefry4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x185): undefined reference to `uint4x32_to_single_uniform_vec'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x1ad): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x1be): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x1dc): undefined reference to `arrayjit_threefry4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x1e7): undefined reference to `uint4x32_to_single_uniform_vec'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x21c): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x22d): undefined reference to `single_to_uint4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x24b): undefined reference to `arrayjit_threefry4x32'
/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x256): undefined reference to `uint4x32_to_single_uniform_vec'
collect2: error: ld returned 1 exit status
Fatal error: exception Invalid_argument("Cc_backend.c_compile_and_load: compilation failed with errors:\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x55): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x66): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x84): undefined reference to `arrayjit_threefry4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x8f): undefined reference to `uint4x32_to_single_uniform_vec'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0xd3): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0xe4): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x102): undefined reference to `arrayjit_threefry4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x10d): undefined reference to `uint4x32_to_single_uniform_vec'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x14b): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x15c): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x17a): undefined reference to `arrayjit_threefry4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x185): undefined reference to `uint4x32_to_single_uniform_vec'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x1ad): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x1be): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x1dc): undefined reference to `arrayjit_threefry4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x1e7): undefined reference to `uint4x32_to_single_uniform_vec'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x21c): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x22d): undefined reference to `single_to_uint4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x24b): undefined reference to `arrayjit_threefry4x32'\n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccJiAHbE.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/init_params_for_scalar_loss_ce072b.c:(.text+0x256): undefined reference to `uint4x32_to_single_uniform_vec'\ncollect2: error: ld returned 1 exit status\n")
Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
Called from Backends__Cc_backend.c_compile_and_load in file "arrayjit/lib/cc_backend.ml", line 140, characters 4-22
Re-raised at Backends__Cc_backend.c_compile_and_load in file "arrayjit/lib/cc_backend.ml", lines 134-140, characters 18-23
Re-raised at Backends__Cc_backend.c_compile_and_load in file "arrayjit/lib/cc_backend.ml", lines 106-165, characters 35-8
Called from Backends__Cc_backend.compile in file "arrayjit/lib/cc_backend.ml", line 204, characters 23-67
Called from Backends.Add_device.compile in file "arrayjit/lib/backends.ml", line 325, characters 15-45
Called from Backends.Raise_backend.compile in file "arrayjit/lib/backends.ml", line 442, characters 29-59
Re-raised at Backends.Raise_backend.compile in file "arrayjit/lib/backends.ml", line 442, characters 4-59
Re-raised at Backends.Raise_backend.compile in file "arrayjit/lib/backends.ml", lines 438-446, characters 26-99
Called from Ocannl__Train.to_routine in file "lib/train.ml", line 353, characters 26-82
Called from Ocannl__Train.init_params in file "lib/train.ml", line 373, characters 13-72
Called from Dune__exe__Moons_demo_variant in file "test/einsum/moons_demo_variant.ml", line 47, characters 12-67
(cd _build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations && .operations_tutorials.inline-tests\inline-test-runner.exe inline-test-runner operations_tutorials -partition hello_world_op.ml -source-tree-root ../.. -diff-cmd -)
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
File "test/einsum/einsum_trivia_exec.expected", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/einsum/einsum_trivia_exec.expected _build/default/test/einsum/einsum_trivia_exec.exe.output
diff --git a/_build/default/test/einsum/einsum_trivia_exec.expected b/_build/default/test/einsum/einsum_trivia_exec.exe.output
index 1c66789..a93a9f0 100644
--- a/_build/default/test/einsum/einsum_trivia_exec.expected
+++ b/_build/default/test/einsum/einsum_trivia_exec.exe.output
@@ -657,169 +657,169 @@ HERE: test/einsum/einsum_trivia_exec.ml:229:21
│└──────┴────────────────────────────────────┘│
└─────────────────────────────────────────────┘
HERE: test/einsum/einsum_trivia_exec.ml:254:21
-┌────────────────────────────────┐
-│[9]: ;=>+ shape 0:4,1:5,2:6,3:3 │
-│┌──────┬──────────────────┐ │
-││0 @ 0 │axis 3 │ │
-│├──────┼──────────────────┤ │
-││0 @ 1 │ 0.00 0.00 0.00 │ │
-││axis 2│ 0.00 0.00 1.00 │ │
-││ │ ... ... ... │ │
-││ │ 0.00 0.00 4.00 │ │
-││ │ 0.00 0.00 5.00 │ │
-│├──────┼──────────────────┤ │
-││1 @ 1 │ 0.00 1.00 0.00 │ │
-││axis 2│ 0.00 1.00 1.00 │ │
-││ │ ... ... ... │ │
-││ │ 0.00 1.00 4.00 │ │
-││ │ 0.00 1.00 5.00 │ │
-│├──────┼──────────────────┤ │
-││2 @ 1 │ 0.00 2.00 0.00 │ │
-││axis 2│ 0.00 2.00 1.00 │ │
-││ │ ... ... ... │ │
-││ │ 0.00 2.00 4.00 │ │
-││ │ 0.00 2.00 5.00 │ │
-│├──────┼──────────────────┤ │
-││3 @ 1 │ 0.00 3.00 0.00 │ │
-││axis 2│ 0.00 3.00 1.00 │ │
-││ │ ... ... ... │ │
-││ │ 0.00 3.00 4.00 │ │
-││ │ 0.00 3.00 5.00 │ │
-│├──────┼──────────────────┤ │
-││4 @ 1 │ 0.00 4.00 0.00 │ │
-││axis 2│ 0.00 4.00 1.00 │ │
-││ │ ... ... ... │ │
-││ │ 0.00 4.00 4.00 │ │
-││ │ 0.00 4.00 5.00 │ │
-│└──────┴──────────────────┘ │
-├────────────────────────────────┤
-│┌──────┬──────────────────┐ │
-││1 @ 0 │axis 3 │ │
-│├──────┼──────────────────┤ │
-││0 @ 1 │ 1.00 0.00 0.00 │ │
-││axis 2│ 1.00 0.00 1.00 │ │
-││ │ ... ... ... │ │
-││ │ 1.00 0.00 4.00 │ │
-││ │ 1.00 0.00 5.00 │ │
-│├──────┼──────────────────┤ │
-││1 @ 1 │ 1.00 1.00 0.00 │ │
-││axis 2│ 1.00 1.00 1.00 │ │
-││ │ ... ... ... │ │
-││ │ 1.00 1.00 4.00 │ │
-││ │ 1.00 1.00 5.00 │ │
-│├──────┼──────────────────┤ │
-││2 @ 1 │ 1.00 2.00 0.00 │ │
-││axis 2│ 1.00 2.00 1.00 │ │
-││ │ ... ... ... │ │
-││ │ 1.00 2.00 4.00 │ │
-││ │ 1.00 2.00 5.00 │ │
-│├──────┼──────────────────┤ │
-││3 @ 1 │ 1.00 3.00 0.00 │ │
-││axis 2│ 1.00 3.00 1.00 │ │
-││ │ ... ... ... │ │
-││ │ 1.00 3.00 4.00 │ │
-││ │ 1.00 3.00 5.00 │ │
-│├──────┼──────────────────┤ │
-││4 @ 1 │ 1.00 4.00 0.00 │ │
-││axis 2│ 1.00 4.00 1.00 │ │
-││ │ ... ... ... │ │
-││ │ 1.00 4.00 4.00 │ │
-││ │ 1.00 4.00 5.00 │ │
-│└──────┴──────────────────┘ │
-├────────────────────────────────┤
-│┌──────┬──────────────────┐ │
-││2 @ 0 │axis 3 │ │
-│├──────┼──────────────────┤ │
-││0 @ 1 │ 2.00 0.00 0.00 │ │
-││axis 2│ 2.00 0.00 1.00 │ │
-││ │ ... ... ... │ │
-││ │ 2.00 0.00 4.00 │ │
-││ │ 2.00 0.00 5.00 │ │
-│├──────┼──────────────────┤ │
-││1 @ 1 │ 2.00 1.00 0.00 │ │
-││axis 2│ 2.00 1.00 1.00 │ │
-││ │ ... ... ... │ │
-││ │ 2.00 1.00 4.00 │ │
-││ │ 2.00 1.00 5.00 │ │
-│├──────┼──────────────────┤ │
-││2 @ 1 │ 2.00 2.00 0.00 │ │
-││axis 2│ 2.00 2.00 1.00 │ │
-││ │ ... ... ... │ │
-││ │ 2.00 2.00 4.00 │ │
-││ │ 2.00 2.00 5.00 │ │
-│├──────┼──────────────────┤ │
-││3 @ 1 │ 2.00 3.00 0.00 │ │
-││axis 2│ 2.00 3.00 1.00 │ │
-││ │ ... ... ... │ │
-││ │ 2.00 3.00 4.00 │ │
-││ │ 2.00 3.00 5.00 │ │
-│├──────┼──────────────────┤ │
-││4 @ 1 │ 2.00 4.00 0.00 │ │
-││axis 2│ 2.00 4.00 1.00 │ │
-││ │ ... ... ... │ │
-││ │ 2.00 4.00 4.00 │ │
-││ │ 2.00 4.00 5.00 │ │
-│└──────┴──────────────────┘ │
-├────────────────────────────────┤
-│┌──────┬──────────────────┐ │
-││3 @ 0 │axis 3 │ │
-│├──────┼──────────────────┤ │
-││0 @ 1 │ 3.00 0.00 0.00 │ │
-││axis 2│ 3.00 0.00 1.00 │ │
-││ │ ... ... ... │ │
-││ │ 3.00 0.00 4.00 │ │
-││ │ 3.00 0.00 5.00 │ │
-│├──────┼──────────────────┤ │
-││1 @ 1 │ 3.00 1.00 0.00 │ │
-││axis 2│ 3.00 1.00 1.00 │ │
-││ │ ... ... ... │ │
-││ │ 3.00 1.00 4.00 │ │
-││ │ 3.00 1.00 5.00 │ │
-│├──────┼──────────────────┤ │
-││2 @ 1 │ 3.00 2.00 0.00 │ │
-││axis 2│ 3.00 2.00 1.00 │ │
-││ │ ... ... ... │ │
-││ │ 3.00 2.00 4.00 │ │
-││ │ 3.00 2.00 5.00 │ │
-│├──────┼──────────────────┤ │
-││3 @ 1 │ 3.00 3.00 0.00 │ │
-││axis 2│ 3.00 3.00 1.00 │ │
-││ │ ... ... ... │ │
-││ │ 3.00 3.00 4.00 │ │
-││ │ 3.00 3.00 5.00 │ │
-│├──────┼──────────────────┤ │
-││4 @ 1 │ 3.00 4.00 0.00 │ │
-││axis 2│ 3.00 4.00 1.00 │ │
-││ │ ... ... ... │ │
-││ │ 3.00 4.00 4.00 │ │
-││ │ 3.00 4.00 5.00 │ │
-│└──────┴──────────────────┘ │
-└────────────────────────────────┘
+┌─────────────────────────────────────┐
+│[9]: ;=>+ shape 0:4,1:5,2:6,3:3 │
+│┌──────┬─────────────────────────┐ │
+││0 @ 0 │axis 3 │ │
+│├──────┼─────────────────────────┤ │
+││0 @ 1 │ 2.95e+26 5.00 1.20e+1 │ │
+││axis 2│ 6.15e-39 5.00 1.30e+1 │ │
+││ │ ... ... ... │ │
+││ │ 1.23e-38 5.00 1.60e+1 │ │
+││ │ 1.26e-38 5.00 1.70e+1 │ │
+│├──────┼─────────────────────────┤ │
+││1 @ 1 │ 2.95e+26 6.00 1.20e+1 │ │
+││axis 2│ 6.24e-39 6.00 1.30e+1 │ │
+││ │ ... ... ... │ │
+││ │ 1.23e-38 6.00 1.60e+1 │ │
+││ │ 1.27e-38 6.00 1.70e+1 │ │
+│├──────┼─────────────────────────┤ │
+││2 @ 1 │ 2.95e+26 7.00 1.20e+1 │ │
+││axis 2│ 6.97e-39 7.00 1.30e+1 │ │
+││ │ ... ... ... │ │
+││ │ 1.31e-38 7.00 1.60e+1 │ │
+││ │ 1.35e-38 7.00 1.70e+1 │ │
+│├──────┼─────────────────────────┤ │
+││3 @ 1 │ 2.95e+26 8.00 1.20e+1 │ │
+││axis 2│ 8.72e-39 8.00 1.30e+1 │ │
+││ │ ... ... ... │ │
+││ │ 1.48e-38 8.00 1.60e+1 │ │
+││ │ 1.52e-38 8.00 1.70e+1 │ │
+│├──────┼─────────────────────────┤ │
+││4 @ 1 │ 2.95e+26 9.00 1.20e+1 │ │
+││axis 2│ 7.07e-39 9.00 1.30e+1 │ │
+││ │ ... ... ... │ │
+││ │ 1.32e-38 9.00 1.60e+1 │ │
+││ │ 1.35e-38 9.00 1.70e+1 │ │
+│└──────┴─────────────────────────┘ │
+├─────────────────────────────────────┤
+│┌──────┬────────────────────────────┐│
+││1 @ 0 │axis 3 ││
+│├──────┼────────────────────────────┤│
+││0 @ 1 │ 2.95e+26 4.80e+1 6.50e+1 ││
+││axis 2│ 1.00 4.80e+1 6.60e+1 ││
+││ │ ... ... ... ││
+││ │ 1.00 4.80e+1 6.90e+1 ││
+││ │ 1.00 4.80e+1 7.00e+1 ││
+│├──────┼────────────────────────────┤│
+││1 @ 1 │ 2.95e+26 4.90e+1 6.50e+1 ││
+││axis 2│ 1.00 4.90e+1 6.60e+1 ││
+││ │ ... ... ... ││
+││ │ 1.00 4.90e+1 6.90e+1 ││
+││ │ 1.00 4.90e+1 7.00e+1 ││
+│├──────┼────────────────────────────┤│
+││2 @ 1 │ 2.95e+26 5.00e+1 6.50e+1 ││
+││axis 2│ 1.00 5.00e+1 6.60e+1 ││
+││ │ ... ... ... ││
+││ │ 1.00 5.00e+1 6.90e+1 ││
+││ │ 1.00 5.00e+1 7.00e+1 ││
+│├──────┼────────────────────────────┤│
+││3 @ 1 │ 2.95e+26 5.10e+1 6.50e+1 ││
+││axis 2│ 1.00 5.10e+1 6.60e+1 ││
+││ │ ... ... ... ││
+││ │ 1.00 5.10e+1 6.90e+1 ││
+││ │ 1.00 5.10e+1 7.00e+1 ││
+│├──────┼────────────────────────────┤│
+││4 @ 1 │ 2.95e+26 5.20e+1 6.50e+1 ││
+││axis 2│ 1.00 5.20e+1 6.60e+1 ││
+││ │ ... ... ... ││
+││ │ 1.00 5.20e+1 6.90e+1 ││
+││ │ 1.00 5.20e+1 7.00e+1 ││
+│└──────┴────────────────────────────┘│
+├─────────────────────────────────────┤
+│┌──────┬────────────────────────────┐│
+││2 @ 0 │axis 3 ││
+│├──────┼────────────────────────────┤│m
+││0 @ 1 │ 2.95e+26 1.05e+2 1.60e+2 ││
+││axis 2│ 2.00 1.05e+2 1.61e+2 ││
+││ │ ... ... ... ││
+││ │ 2.00 1.05e+2 1.64e+2 ││
+││ │ 2.00 1.05e+2 1.65e+2 ││
+│├──────┼────────────────────────────┤│
+││1 @ 1 │ 2.95e+26 1.06e+2 1.60e+2 ││
+││axis 2│ 2.00 1.06e+2 1.61e+2 ││
+││ │ ... ... ... ││
+││ │ 2.00 1.06e+2 1.64e+2 ││
+││ │ 2.00 1.06e+2 1.65e+2 ││
+│├──────┼────────────────────────────┤│
+││2 @ 1 │ 2.95e+26 1.07e+2 1.60e+2 ││
+││axis 2│ 2.00 1.07e+2 1.61e+2 ││
+││ │ ... ... ... ││
+││ │ 2.00 1.07e+2 1.64e+2 ││
+││ │ 2.00 1.07e+2 1.65e+2 ││
+│├──────┼────────────────────────────┤│
+││3 @ 1 │ 2.95e+26 1.08e+2 1.60e+2 ││
+││axis 2│ 2.00 1.08e+2 1.61e+2 ││
+││ │ ... ... ... ││
+││ │ 2.00 1.08e+2 1.64e+2 ││
+││ │ 2.00 1.08e+2 1.65e+2 ││
+│├──────┼────────────────────────────┤│
+││4 @ 1 │ 2.95e+26 1.09e+2 1.60e+2 ││
+││axis 2│ 2.00 1.09e+2 1.61e+2 ││
+││ │ ... ... ... ││
+││ │ 2.00 1.09e+2 1.64e+2 ││
+││ │ 2.00 1.09e+2 1.65e+2 ││
+│└──────┴────────────────────────────┘│
+├─────────────────────────────────────┤
+│┌──────┬────────────────────────────┐│
+││3 @ 0 │axis 3 ││
+│├──────┼────────────────────────────┤│
+││0 @ 1 │ 2.95e+26 2.20e+2 2.53e+2 ││
+││axis 2│ 3.00 2.20e+2 2.54e+2 ││
+││ │ ... ... ... ││
+││ │ 3.00 2.20e+2 2.57e+2 ││
+││ │ 3.00 2.20e+2 2.58e+2 ││
+│├──────┼────────────────────────────┤│
+││1 @ 1 │ 2.95e+26 2.21e+2 2.53e+2 ││
+││axis 2│ 3.00 2.21e+2 2.54e+2 ││
+││ │ ... ... ... ││
+││ │ 3.00 2.21e+2 2.57e+2 ││
+││ │ 3.00 2.21e+2 2.58e+2 ││
+│├──────┼────────────────────────────┤│
+││2 @ 1 │ 2.95e+26 2.22e+2 2.53e+2 ││
+││axis 2│ 3.00 2.22e+2 2.54e+2 ││
+││ │ ... ... ... ││
+││ │ 3.00 2.22e+2 2.57e+2 ││
+││ │ 3.00 2.22e+2 2.58e+2 ││
+│├──────┼────────────────────────────┤│
+││3 @ 1 │ 2.95e+26 2.23e+2 2.53e+2 ││
+││axis 2│ 3.00 2.23e+2 2.54e+2 ││
+││ │ ... ... ... ││
+││ │ 3.00 2.23e+2 2.57e+2 ││
+││ │ 3.00 2.23e+2 2.58e+2 ││
+│├──────┼────────────────────────────┤│
+││4 @ 1 │ 2.95e+26 2.24e+2 2.53e+2 ││
+││axis 2│ 3.00 2.24e+2 2.54e+2 ││
+││ │ ... ... ... ││
+││ │ 3.00 2.24e+2 2.57e+2 ││
+││ │ 3.00 2.24e+2 2.58e+2 ││
+│└──────┴────────────────────────────┘│
+└─────────────────────────────────────┘
HERE: test/einsum/einsum_trivia_exec.ml:255:21
-┌───────────────────────────┐
-│[1]: =>_ti shape 0:4,1:3 │
-│┌──────┬──────────────────┐│
-││ │axis 1 ││
-│├──────┼──────────────────┤│
-││axis 0│ 0.00 0.00 0.00 ││
-││ │ 1.00 0.00 0.00 ││
-││ │ 2.00 0.00 0.00 ││
-││ │ 3.00 0.00 0.00 ││
-│└──────┴──────────────────┘│
-└───────────────────────────┘
+┌─────────────────────────────────┐
+│[1]: =>_ti shape 0:4,1:3 │
+│┌──────┬────────────────────────┐│
+││ │axis 1 ││
+│├──────┼────────────────────────┤│
+││axis 0│ 0.00 5.00 1.20e+1 ││
+││ │ 1.00 4.80e+1 6.50e+1 ││
+││ │ 2.00 1.05e+2 1.60e+2 ││
+││ │ 3.00 2.20e+2 2.53e+2 ││
+│└──────┴────────────────────────┘│
+└─────────────────────────────────┘
HERE: test/einsum/einsum_trivia_exec.ml:256:21
-┌───────────────────────────┐
-│[7]: =>_tk shape 0:6,1:3 │
-│┌──────┬──────────────────┐│
-││ │axis 1 ││
-│├──────┼──────────────────┤│
-││axis 0│ 0.00 0.00 0.00 ││
-││ │ 0.00 0.00 1.00 ││
-││ │ ... ... ... ││
-││ │ 0.00 0.00 4.00 ││
-││ │ 0.00 0.00 5.00 ││
-│└──────┴──────────────────┘│
-└───────────────────────────┘
+┌───────────────────────────────────┐
+│[7]: =>_tk shape 0:6,1:3 │
+│┌──────┬──────────────────────────┐│
+││ │axis 1 ││
+│├──────┼──────────────────────────┤│
+││axis 0│ 2.95e+26 0.00 0.00 ││
+││ │ 0.00 8.72e-39 1.00 ││
+││ │ ... ... ... ││
+││ │ 6.15e-39 6.24e-39 4.00 ││
+││ │ 6.52e-39 1.09e-43 5.00 ││
+│└──────┴──────────────────────────┘│
+└───────────────────────────────────┘
HERE: test/einsum/einsum_trivia_exec.ml:278:21
┌─────────────────────────────────────────────────────────────────┐
│[2]: ;=>_c shape 0:3|1:4,2:2 │
(cd _build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations && .operations_tutorials.inline-tests\inline-test-runner.exe inline-test-runner operations_tutorials -partition zero2hero_1of7.ml -source-tree-root ../.. -diff-cmd -)
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations && .operations_tutorials.inline-tests\inline-test-runner.exe inline-test-runner operations_tutorials -partition primitive_ops.ml -source-tree-root ../.. -diff-cmd -)
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
File "test/operations/zero2hero_1of7.ml", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations/zero2hero_1of7.ml _build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations/zero2hero_1of7.ml.corrected
diff --git a/_build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations/zero2hero_1of7.ml b/_build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations/zero2hero_1of7.ml.corrected
index 5caa1d9..e700a0f 100644
--- a/_build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations/zero2hero_1of7.ml
+++ b/_build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations/zero2hero_1of7.ml.corrected
@@ -275,19 +275,19 @@ let%expect_test "Simple gradients hosted" =
#12 *._l
0.00
#13 grad_*._l
- 0.00
+ 9.09e-39
#8 +_d │#10 f non-emb
- 0.00 │ -2.00
+ 1.02e-38 │ -2.00
#9 grad_+_d │#11 grad_f
- 0.00 │ 0.00
+ 1.00 │ 1.00
#4 *._e │#6 c non-emb│
- 0.00 │ 1.00e+1 │
+ 2.54e+1 │ 1.00e+1 │
#5 grad_*._e │#7 grad_c │
- 0.00 │ 0.00 │
+ 9.18e-39 │ 9.18e-39 │
#0 a non-emb│#2 b non-emb│ │
2.00 │ -3.00 │ │
#1 grad_a │#3 grad_b │ │
- 0.00 │ 0.00 │ │
+ 9.45e-39 │ 3.20e+1 │ │
|}];
(* Do not update the params: all values and gradients will be at initial points, which are
specified in the tensor in the brackets. *)
@@ -403,17 +403,17 @@ let%expect_test "Simple gradients virtual" =
[%expect
{|
#12 *._l
- 0.00
+ 2.50e+1
#13 grad_*._l Virt/40
<void>
#8 +_d Local/1046 │#10 f non-emb
<void> │ -2.00
#9 grad_+_d Virt/40 │#11 grad_f
- <void> │ 0.00
+ <void> │ 8.44e-39
#4 *._e Virt/152 │#6 c non-emb│
<void> │ 1.00e+1 │
#5 grad_*._e Virt/40 │#7 grad_c │
- <void> │ 0.00 │
+ <void> │ 1.40 │
#0 a non-emb│#2 b non-emb│ │
2.00 │ -3.00 │ │
#1 grad_a │#3 grad_b │ │
File "test/operations/test_threefry4x32.ml", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations/test_threefry4x32.ml _build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations/test_threefry4x32.ml.corrected
diff --git a/_build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations/test_threefry4x32.ml b/_build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations/test_threefry4x32.ml.corrected
index 849436d..e07ba40 100644
--- a/_build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations/test_threefry4x32.ml
+++ b/_build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations/test_threefry4x32.ml.corrected
@@ -35,16 +35,43 @@ let%expect_test "threefry4x32 basic test" =
let all_in_range = Array.for_all result ~f:(fun x -> Float.(x >= 0.0 && x < 1.0)) in
Stdio.printf "All values in [0, 1) range: %b\n" all_in_range;
- [%expect
- {|
- First 5 uniform random values:
- [0]: 0.756113
- [1]: 0.758716
- [2]: 0.479668
- [3]: 0.865075
- [4]: 0.490017
- All values in [0, 1) range: true
- |}]
+ [%expect.unreachable]
+[@@expect.uncaught_exn {|
+ (* CR expect_test_collector: This test expectation appears to contain a backtrace.
+ This is strongly discouraged as backtraces are fragile.
+ Please change this test to not include a backtrace. *)
+ (Invalid_argument
+ "Cc_backend.c_compile_and_load: compilation failed with errors:\
+ \n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccxnF31C.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_2da64b.c:(.text+0x53): undefined reference to `single_to_uint4x32'\
+ \n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccxnF31C.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_2da64b.c:(.text+0x64): undefined reference to `single_to_uint4x32'\
+ \n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccxnF31C.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_2da64b.c:(.text+0x82): undefined reference to `arrayjit_threefry4x32'\
+ \n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccxnF31C.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_2da64b.c:(.text+0x8d): undefined reference to `uint4x32_to_single_uniform_vec'\
+ \ncollect2: error: ld returned 1 exit status\
+ \n")
+ Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
+ Called from Backends__Cc_backend.c_compile_and_load in file "arrayjit/lib/cc_backend.ml", line 140, characters 4-22
+ Re-raised at Backends__Cc_backend.c_compile_and_load in file "arrayjit/lib/cc_backend.ml", lines 134-140, characters 18-23
+ Re-raised at Backends__Cc_backend.c_compile_and_load in file "arrayjit/lib/cc_backend.ml", lines 106-165, characters 35-8
+ Called from Backends__Cc_backend.compile in file "arrayjit/lib/cc_backend.ml", line 204, characters 23-67
+ Called from Backends.Add_device.compile in file "arrayjit/lib/backends.ml", line 325, characters 15-45
+ Called from Backends.Raise_backend.compile in file "arrayjit/lib/backends.ml", line 442, characters 29-59
+ Re-raised at Backends.Raise_backend.compile in file "arrayjit/lib/backends.ml", line 442, characters 4-59
+ Re-raised at Backends.Raise_backend.compile in file "arrayjit/lib/backends.ml", lines 438-446, characters 26-99
+ Called from Ocannl__Train.run_once in file "lib/train.ml", line 551, characters 25-89
+ Re-raised at Ocannl__Train.run_once in file "lib/train.ml", lines 531-554, characters 25-17
+ Called from Ocannl__Train.forward_once in file "lib/train.ml", lines 566-569, characters 4-46
+ Called from Operations_tutorials__Test_threefry4x32.(fun) in file "test/operations/test_threefry4x32.ml", line 25, characters 9-68
+ Called from Ppx_expect_runtime__Test_block.Configured.dump_backtrace in file "runtime/test_block.ml", line 142, characters 10-28
+
+ Trailing output
+ ---------------
+ Cc_backend.c_compile_and_load: compilation failed with errors:
+ /usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccxnF31C.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_2da64b.c:(.text+0x53): undefined reference to `single_to_uint4x32'
+ /usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccxnF31C.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_2da64b.c:(.text+0x64): undefined reference to `single_to_uint4x32'
+ /usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccxnF31C.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_2da64b.c:(.text+0x82): undefined reference to `arrayjit_threefry4x32'
+ /usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccxnF31C.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n3_fwd_2da64b.c:(.text+0x8d): undefined reference to `uint4x32_to_single_uniform_vec'
+ collect2: error: ld returned 1 exit status
+ |}]
let%expect_test "uint4x32_to_prec_uniform different precisions" =
let module Backend = (val Backends.fresh_backend ()) in
@@ -72,12 +99,41 @@ let%expect_test "uint4x32_to_prec_uniform different precisions" =
test_precision Ir.Ops.double "Double";
test_precision Ir.Ops.half "Half";
- [%expect
- {|
- Single precision - first value: 0.756113, second value: 0.758716
- All values in [0, 1) range: true
- Double precision - first value: 0.756113, second value: 0.758716
- All values in [0, 1) range: true
- Half precision - first value: 0.756113, second value: 0.758716
- All values in [0, 1) range: true
- |}]
+ [%expect.unreachable]
+[@@expect.uncaught_exn {|
+ (* CR expect_test_collector: This test expectation appears to contain a backtrace.
+ This is strongly discouraged as backtraces are fragile.
+ Please change this test to not include a backtrace. *)
+ (Invalid_argument
+ "Cc_backend.c_compile_and_load: compilation failed with errors:\
+ \n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccAWixoq.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n7_fwd_453ce3.c:(.text+0x53): undefined reference to `single_to_uint4x32'\
+ \n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccAWixoq.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n7_fwd_453ce3.c:(.text+0x64): undefined reference to `single_to_uint4x32'\
+ \n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccAWixoq.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n7_fwd_453ce3.c:(.text+0x82): undefined reference to `arrayjit_threefry4x32'\
+ \n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccAWixoq.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n7_fwd_453ce3.c:(.text+0x8d): undefined reference to `uint4x32_to_single_uniform_vec'\
+ \ncollect2: error: ld returned 1 exit status\
+ \n")
+ Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
+ Called from Backends__Cc_backend.c_compile_and_load in file "arrayjit/lib/cc_backend.ml", line 140, characters 4-22
+ Re-raised at Backends__Cc_backend.c_compile_and_load in file "arrayjit/lib/cc_backend.ml", lines 134-140, characters 18-23
+ Re-raised at Backends__Cc_backend.c_compile_and_load in file "arrayjit/lib/cc_backend.ml", lines 106-165, characters 35-8
+ Called from Backends__Cc_backend.compile in file "arrayjit/lib/cc_backend.ml", line 204, characters 23-67
+ Called from Backends.Add_device.compile in file "arrayjit/lib/backends.ml", line 325, characters 15-45
+ Called from Backends.Raise_backend.compile in file "arrayjit/lib/backends.ml", line 442, characters 29-59
+ Re-raised at Backends.Raise_backend.compile in file "arrayjit/lib/backends.ml", line 442, characters 4-59
+ Re-raised at Backends.Raise_backend.compile in file "arrayjit/lib/backends.ml", lines 438-446, characters 26-99
+ Called from Ocannl__Train.run_once in file "lib/train.ml", line 551, characters 25-89
+ Re-raised at Ocannl__Train.run_once in file "lib/train.ml", lines 531-554, characters 25-17
+ Called from Ocannl__Train.forward_once in file "lib/train.ml", lines 566-569, characters 4-46
+ Called from Operations_tutorials__Test_threefry4x32.(fun).test_precision in file "test/operations/test_threefry4x32.ml", line 63, characters 11-63
+ Called from Operations_tutorials__Test_threefry4x32.(fun) in file "test/operations/test_threefry4x32.ml", line 71, characters 2-39
+ Called from Ppx_expect_runtime__Test_block.Configured.dump_backtrace in file "runtime/test_block.ml", line 142, characters 10-28
+
+ Trailing output
+ ---------------
+ Cc_backend.c_compile_and_load: compilation failed with errors:
+ /usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccAWixoq.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n7_fwd_453ce3.c:(.text+0x53): undefined reference to `single_to_uint4x32'
+ /usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccAWixoq.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n7_fwd_453ce3.c:(.text+0x64): undefined reference to `single_to_uint4x32'
+ /usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccAWixoq.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n7_fwd_453ce3.c:(.text+0x82): undefined reference to `arrayjit_threefry4x32'
+ /usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccAWixoq.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n7_fwd_453ce3.c:(.text+0x8d): undefined reference to `uint4x32_to_single_uniform_vec'
+ collect2: error: ld returned 1 exit status
+ |}]
File "test/operations/primitive_ops.ml", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations/primitive_ops.ml _build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations/primitive_ops.ml.corrected
diff --git a/_build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations/primitive_ops.ml b/_build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations/primitive_ops.ml.corrected
index 478cb3c..357c547 100644
--- a/_build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations/primitive_ops.ml
+++ b/_build/.sandbox/85bac36eb52554d7171427ed85c1c036/default/test/operations/primitive_ops.ml.corrected
@@ -736,54 +736,38 @@ let%expect_test "uint4x32_to_prec_uniform(x)" =
let%op f x = uint4x32_to_prec_uniform x in
let plot_box = plot_unop ~f () in
PrintBox_text.output Stdio.stdout plot_box;
- [%expect
- {|
- ┌────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
- │ 7.52e-1│# │
- │ │ ### ### ### ### ######## ############### ######## │
- │ │ │
- │ │ │
- │ │ │
- │ │ │
- │ │ │
- │ │ │
- │ │ │
- │ │ │
- │ │ │
- │ │ │
- │ │ │
- │ │ │
- │ │ │
- │ │ │
- │ │ │
- │ │ │
- │f │ │
- │( │ │
- │x │ │
- │) │ │
- │ │ │
- │ │ │
- │ │ │
- │ │ │
- │ │ #### #### ####### ####│
- │ │ # ########################### │
- │ │ │
- │ │ │
- │ │ │
- │ │ │
- │ │ │
- │ │ │
- │ │ │
- │ │ │
- │ │ │
- │ │ │
- │ │ │
- │ 0.00 │**** *** *** *** ********-*************** ********-******************************* **** *******-****│
- ├────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
- │ │-5.00 5.00│
- │ │ x │
- └────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘
- |}]
+ [%expect.unreachable]
+[@@expect.uncaught_exn {|
+ (* CR expect_test_collector: This test expectation appears to contain a backtrace.
+ This is strongly discouraged as backtraces are fragile.
+ Please change this test to not include a backtrace. *)
+ (Invalid_argument
+ "Cc_backend.c_compile_and_load: compilation failed with errors:\
+ \n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccpiHACF.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n4_gradient_update_5c78ec.c:(.text+0x48): undefined reference to `single_to_uint4x32'\
+ \n/usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccpiHACF.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n4_gradient_update_5c78ec.c:(.text+0x55): undefined reference to `uint4x32_to_single_uniform_vec'\
+ \ncollect2: error: ld returned 1 exit status\
+ \n")
+ Raised at Stdlib.invalid_arg in file "stdlib.ml", line 30, characters 20-45
+ Called from Backends__Cc_backend.c_compile_and_load in file "arrayjit/lib/cc_backend.ml", line 140, characters 4-22
+ Re-raised at Backends__Cc_backend.c_compile_and_load in file "arrayjit/lib/cc_backend.ml", lines 134-140, characters 18-23
+ Re-raised at Backends__Cc_backend.c_compile_and_load in file "arrayjit/lib/cc_backend.ml", lines 106-165, characters 35-8
+ Called from Backends__Cc_backend.compile in file "arrayjit/lib/cc_backend.ml", line 204, characters 23-67
+ Called from Backends.Add_device.compile in file "arrayjit/lib/backends.ml", line 325, characters 15-45
+ Called from Backends.Raise_backend.compile in file "arrayjit/lib/backends.ml", line 442, characters 29-59
+ Re-raised at Backends.Raise_backend.compile in file "arrayjit/lib/backends.ml", line 442, characters 4-59
+ Re-raised at Backends.Raise_backend.compile in file "arrayjit/lib/backends.ml", lines 438-446, characters 26-99
+ Called from Ocannl__Train.to_routine in file "lib/train.ml", line 353, characters 26-82
+ Called from Operations_tutorials__Primitive_ops.plot_unop in file "test/operations/primitive_ops.ml", line 28, characters 19-72
+ Called from Operations_tutorials__Primitive_ops.(fun) in file "test/operations/primitive_ops.ml", line 737, characters 17-32
+ Called from Ppx_expect_runtime__Test_block.Configured.dump_backtrace in file "runtime/test_block.ml", line 142, characters 10-28
+
+ Trailing output
+ ---------------
+ Cc_backend.c_compile_and_load: compilation failed with errors:
+ /usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccpiHACF.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n4_gradient_update_5c78ec.c:(.text+0x48): undefined reference to `single_to_uint4x32'
+ /usr/lib/gcc/x86_64-w64-mingw32/13/../../../../x86_64-w64-mingw32/bin/ld: /cygdrive/c/Users/opam/AppData/Local/Temp/ccpiHACF.o:C:/Users/opam/AppData/Local/Temp/build_cceb91_dune/n4_gradient_update_5c78ec.c:(.text+0x55): undefined reference to `uint4x32_to_single_uniform_vec'
+ collect2: error: ld returned 1 exit status
+ |}]
let%expect_test "where(x < 0, sin(x), cos(x))" =
let%op f x = where (x < !.0.) (sin x) (cos x) in
(cd _build/.sandbox/822e96b0f2aa52a82a478d5decd6b8e0/default/test/einsum && .einsum_tutorials.inline-tests\inline-test-runner.exe inline-test-runner einsum_tutorials -partition einsum_trivia.ml -source-tree-root ../.. -diff-cmd -)
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
File "test/einsum/einsum_trivia.ml", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/822e96b0f2aa52a82a478d5decd6b8e0/default/test/einsum/einsum_trivia.ml _build/.sandbox/822e96b0f2aa52a82a478d5decd6b8e0/default/test/einsum/einsum_trivia.ml.corrected
diff --git a/_build/.sandbox/822e96b0f2aa52a82a478d5decd6b8e0/default/test/einsum/einsum_trivia.ml b/_build/.sandbox/822e96b0f2aa52a82a478d5decd6b8e0/default/test/einsum/einsum_trivia.ml.corrected
index 3049108..9207a17 100644
--- a/_build/.sandbox/822e96b0f2aa52a82a478d5decd6b8e0/default/test/einsum/einsum_trivia.ml
+++ b/_build/.sandbox/822e96b0f2aa52a82a478d5decd6b8e0/default/test/einsum/einsum_trivia.ml.corrected
@@ -976,177 +976,177 @@ let%expect_test "outer_sum simulating axis concatenation" =
[%expect
{|
HERE: test/einsum/einsum_trivia.ml:975:21
- ┌────────────────────────────────┐
- │[9]: ;=>+ shape 0:4,1:5,2:6,3:3 │
- │┌──────┬──────────────────┐ │
- ││0 @ 0 │axis 3 │ │
- │├──────┼──────────────────┤ │
- ││0 @ 1 │ 0.00 0.00 0.00 │ │
- ││axis 2│ 0.00 0.00 1.00 │ │
- ││ │ ... ... ... │ │
- ││ │ 0.00 0.00 4.00 │ │
- ││ │ 0.00 0.00 5.00 │ │
- │├──────┼──────────────────┤ │
- ││1 @ 1 │ 0.00 1.00 0.00 │ │
- ││axis 2│ 0.00 1.00 1.00 │ │
- ││ │ ... ... ... │ │
- ││ │ 0.00 1.00 4.00 │ │
- ││ │ 0.00 1.00 5.00 │ │
- │├──────┼──────────────────┤ │
- ││2 @ 1 │ 0.00 2.00 0.00 │ │
- ││axis 2│ 0.00 2.00 1.00 │ │
- ││ │ ... ... ... │ │
- ││ │ 0.00 2.00 4.00 │ │
- ││ │ 0.00 2.00 5.00 │ │
- │├──────┼──────────────────┤ │
- ││3 @ 1 │ 0.00 3.00 0.00 │ │
- ││axis 2│ 0.00 3.00 1.00 │ │
- ││ │ ... ... ... │ │
- ││ │ 0.00 3.00 4.00 │ │
- ││ │ 0.00 3.00 5.00 │ │
- │├──────┼──────────────────┤ │
- ││4 @ 1 │ 0.00 4.00 0.00 │ │
- ││axis 2│ 0.00 4.00 1.00 │ │
- ││ │ ... ... ... │ │
- ││ │ 0.00 4.00 4.00 │ │
- ││ │ 0.00 4.00 5.00 │ │
- │└──────┴──────────────────┘ │
- ├────────────────────────────────┤
- │┌──────┬──────────────────┐ │
- ││1 @ 0 │axis 3 │ │
- │├──────┼──────────────────┤ │
- ││0 @ 1 │ 1.00 0.00 0.00 │ │
- ││axis 2│ 1.00 0.00 1.00 │ │
- ││ │ ... ... ... │ │
- ││ │ 1.00 0.00 4.00 │ │
- ││ │ 1.00 0.00 5.00 │ │
- │├──────┼──────────────────┤ │
- ││1 @ 1 │ 1.00 1.00 0.00 │ │
- ││axis 2│ 1.00 1.00 1.00 │ │
- ││ │ ... ... ... │ │
- ││ │ 1.00 1.00 4.00 │ │
- ││ │ 1.00 1.00 5.00 │ │
- │├──────┼──────────────────┤ │
- ││2 @ 1 │ 1.00 2.00 0.00 │ │
- ││axis 2│ 1.00 2.00 1.00 │ │
- ││ │ ... ... ... │ │
- ││ │ 1.00 2.00 4.00 │ │
- ││ │ 1.00 2.00 5.00 │ │
- │├──────┼──────────────────┤ │
- ││3 @ 1 │ 1.00 3.00 0.00 │ │
- ││axis 2│ 1.00 3.00 1.00 │ │
- ││ │ ... ... ... │ │
- ││ │ 1.00 3.00 4.00 │ │
- ││ │ 1.00 3.00 5.00 │ │
- │├──────┼──────────────────┤ │
- ││4 @ 1 │ 1.00 4.00 0.00 │ │
- ││axis 2│ 1.00 4.00 1.00 │ │
- ││ │ ... ... ... │ │
- ││ │ 1.00 4.00 4.00 │ │
- ││ │ 1.00 4.00 5.00 │ │
- │└──────┴──────────────────┘ │
- ├────────────────────────────────┤
- │┌──────┬──────────────────┐ │
- ││2 @ 0 │axis 3 │ │
- │├──────┼──────────────────┤ │
- ││0 @ 1 │ 2.00 0.00 0.00 │ │
- ││axis 2│ 2.00 0.00 1.00 │ │
- ││ │ ... ... ... │ │
- ││ │ 2.00 0.00 4.00 │ │
- ││ │ 2.00 0.00 5.00 │ │
- │├──────┼──────────────────┤ │
- ││1 @ 1 │ 2.00 1.00 0.00 │ │
- ││axis 2│ 2.00 1.00 1.00 │ │
- ││ │ ... ... ... │ │
- ││ │ 2.00 1.00 4.00 │ │
- ││ │ 2.00 1.00 5.00 │ │
- │├──────┼──────────────────┤ │
- ││2 @ 1 │ 2.00 2.00 0.00 │ │
- ││axis 2│ 2.00 2.00 1.00 │ │
- ││ │ ... ... ... │ │
- ││ │ 2.00 2.00 4.00 │ │
- ││ │ 2.00 2.00 5.00 │ │
- │├──────┼──────────────────┤ │
- ││3 @ 1 │ 2.00 3.00 0.00 │ │
- ││axis 2│ 2.00 3.00 1.00 │ │
- ││ │ ... ... ... │ │
- ││ │ 2.00 3.00 4.00 │ │
- ││ │ 2.00 3.00 5.00 │ │
- │├──────┼──────────────────┤ │
- ││4 @ 1 │ 2.00 4.00 0.00 │ │
- ││axis 2│ 2.00 4.00 1.00 │ │
- ││ │ ... ... ... │ │
- ││ │ 2.00 4.00 4.00 │ │
- ││ │ 2.00 4.00 5.00 │ │
- │└──────┴──────────────────┘ │
- ├────────────────────────────────┤
- │┌──────┬──────────────────┐ │
- ││3 @ 0 │axis 3 │ │
- │├──────┼──────────────────┤ │
- ││0 @ 1 │ 3.00 0.00 0.00 │ │
- ││axis 2│ 3.00 0.00 1.00 │ │
- ││ │ ... ... ... │ │
- ││ │ 3.00 0.00 4.00 │ │
- ││ │ 3.00 0.00 5.00 │ │
- │├──────┼──────────────────┤ │
- ││1 @ 1 │ 3.00 1.00 0.00 │ │
- ││axis 2│ 3.00 1.00 1.00 │ │
- ││ │ ... ... ... │ │
- ││ │ 3.00 1.00 4.00 │ │
- ││ │ 3.00 1.00 5.00 │ │
- │├──────┼──────────────────┤ │
- ││2 @ 1 │ 3.00 2.00 0.00 │ │
- ││axis 2│ 3.00 2.00 1.00 │ │
- ││ │ ... ... ... │ │
- ││ │ 3.00 2.00 4.00 │ │
- ││ │ 3.00 2.00 5.00 │ │
- │├──────┼──────────────────┤ │
- ││3 @ 1 │ 3.00 3.00 0.00 │ │
- ││axis 2│ 3.00 3.00 1.00 │ │
- ││ │ ... ... ... │ │
- ││ │ 3.00 3.00 4.00 │ │
- ││ │ 3.00 3.00 5.00 │ │
- │├──────┼──────────────────┤ │
- ││4 @ 1 │ 3.00 4.00 0.00 │ │
- ││axis 2│ 3.00 4.00 1.00 │ │
- ││ │ ... ... ... │ │
- ││ │ 3.00 4.00 4.00 │ │
- ││ │ 3.00 4.00 5.00 │ │
- │└──────┴──────────────────┘ │
- └────────────────────────────────┘
+ ┌───────────────────────────────────────┐
+ │[9]: ;=>+ shape 0:4,1:5,2:6,3:3 │
+ │┌──────┬──────────────────────────────┐│
+ ││0 @ 0 │axis 3 ││
+ │├──────┼──────────────────────────────┤│
+ ││0 @ 1 │ 1.23e-38 1.43e-38 1.39e-38 ││
+ ││axis 2│ 1.23e-38 1.58e-38 1.00 ││
+ ││ │ ... ... ... ││
+ ││ │ 1.23e-38 1.34e-38 4.00 ││
+ ││ │ 1.26e-38 7.16e-39 5.00 ││
+ │├──────┼──────────────────────────────┤│
+ ││1 @ 1 │ 1.35e-38 1.00 1.33e-38 ││
+ ││axis 2│ 1.34e-38 1.00 1.00 ││
+ ││ │ ... ... ... ││
+ ││ │ 1.35e-38 1.00 4.00 ││
+ ││ │ 1.38e-38 1.00 5.00 ││
+ │├──────┼──────────────────────────────┤│
+ ││2 @ 1 │ 1.48e-38 2.00 1.38e-38 ││
+ ││axis 2│ 1.48e-38 2.00 1.00 ││
+ ││ │ ... ... ... ││
+ ││ │ 1.48e-38 2.00 4.00 ││
+ ││ │ 1.52e-38 2.00 5.00 ││
+ │├──────┼──────────────────────────────┤│
+ ││3 @ 1 │ 1.33e-38 3.00 1.41e-38 ││
+ ││axis 2│ 1.33e-38 3.00 1.00 ││
+ ││ │ ... ... ... ││
+ ││ │ 1.33e-38 3.00 4.00 ││
+ ││ │ 1.36e-38 3.00 5.00 ││
+ │├──────┼──────────────────────────────┤│
+ ││4 @ 1 │ 1.25e-38 4.00 1.36e-38 ││
+ ││axis 2│ 1.25e-38 4.00 1.00 ││
+ ││ │ ... ... ... ││
+ ││ │ 1.25e-38 4.00 4.00 ││
+ ││ │ 1.29e-38 4.00 5.00 ││
+ │└──────┴──────────────────────────────┘│
+ ├───────────────────────────────────────┤
+ │┌──────┬──────────────────────────┐ │
+ ││1 @ 0 │axis 3 │ │
+ │├──────┼──────────────────────────┤ │
+ ││0 @ 1 │ 1.00 1.58e-38 1.32e-38 │ │
+ ││axis 2│ 1.00 1.74e-38 1.00 │ │
+ ││ │ ... ... ... │ │
+ ││ │ 1.00 1.49e-38 4.00 │ │
+ ││ │ 1.00 8.72e-39 5.00 │ │
+ │├──────┼──────────────────────────┤ │
+ ││1 @ 1 │ 1.00 1.00 1.25e-38 │ │
+ ││axis 2│ 1.00 1.00 1.00 │ │
+ ││ │ ... ... ... │ │
+ ││ │ 1.00 1.00 4.00 │ │
+ ││ │ 1.00 1.00 5.00 │ │
+ │├──────┼──────────────────────────┤ │
+ ││2 @ 1 │ 1.00 2.00 1.31e-38 │ │
+ ││axis 2│ 1.00 2.00 1.00 │ │
+ ││ │ ... ... ... │ │
+ ││ │ 1.00 2.00 4.00 │ │
+ ││ │ 1.00 2.00 5.00 │ │
+ │├──────┼──────────────────────────┤ │
+ ││3 @ 1 │ 1.00 3.00 1.34e-38 │ │
+ ││axis 2│ 1.00 3.00 1.00 │ │
+ ││ │ ... ... ... │ │
+ ││ │ 1.00 3.00 4.00 │ │
+ ││ │ 1.00 3.00 5.00 │ │
+ │├──────┼──────────────────────────┤ │
+ ││4 @ 1 │ 1.00 4.00 1.29e-38 │ │
+ ││axis 2│ 1.00 4.00 1.00 │ │
+ ││ │ ... ... ... │ │
+ ││ │ 1.00 4.00 4.00 │ │
+ ││ │ 1.00 4.00 5.00 │ │
+ │└──────┴──────────────────────────┘ │
+ ├───────────────────────────────────────┤
+ │┌──────┬──────────────────────────┐ │
+ ││2 @ 0 │axis 3 │ │
+ │├──────┼──────────────────────────┤ │
+ ││0 @ 1 │ 2.00 1.58e-38 1.46e-38 │ │
+ ││axis 2│ 2.00 1.74e-38 1.00 │ │
+ ││ │ ... ... ... │ │
+ ││ │ 2.00 1.49e-38 4.00 │ │
+ ││ │ 2.00 8.72e-39 5.00 │ │
+ │├──────┼──────────────────────────┤ │
+ ││1 @ 1 │ 2.00 1.00 1.40e-38 │ │
+ ││axis 2│ 2.00 1.00 1.00 │ │
+ ││ │ ... ... ... │ │
+ ││ │ 2.00 1.00 4.00 │ │
+ ││ │ 2.00 1.00 5.00 │ │
+ │├──────┼──────────────────────────┤ │
+ ││2 @ 1 │ 2.00 2.00 1.46e-38 │ │
+ ││axis 2│ 2.00 2.00 1.00 │ │
+ ││ │ ... ... ... │ │
+ ││ │ 2.00 2.00 4.00 │ │
+ ││ │ 2.00 2.00 5.00 │ │
+ │├──────┼──────────────────────────┤ │
+ ││3 @ 1 │ 2.00 3.00 1.48e-38 │ │
+ ││axis 2│ 2.00 3.00 1.00 │ │
+ ││ │ ... ... ... │ │
+ ││ │ 2.00 3.00 4.00 │ │
+ ││ │ 2.00 3.00 5.00 │ │
+ │├──────┼──────────────────────────┤ │
+ ││4 @ 1 │ 2.00 4.00 1.44e-38 │ │
+ ││axis 2│ 2.00 4.00 1.00 │ │
+ ││ │ ... ... ... │ │
+ ││ │ 2.00 4.00 4.00 │ │
+ ││ │ 2.00 4.00 5.00 │ │
+ │└──────┴──────────────────────────┘ │
+ ├───────────────────────────────────────┤
+ │┌──────┬─────────────────────────┐ │
+ ││3 @ 0 │axis 3 │ │
+ │├──────┼─────────────────────────┤ │
+ ││0 @ 1 │ 3.00 7.16e-39 4.62e+2 │ │
+ ││axis 2│ 3.00 8.72e-39 4.63e+2 │ │
+ ││ │ ... ... ... │ │
+ ││ │ 3.00 6.24e-39 4.66e+2 │ │
+ ││ │ 3.00 2.05e-43 4.67e+2 │ │
+ │├──────┼─────────────────────────┤ │
+ ││1 @ 1 │ 3.00 1.00 4.62e+2 │ │
+ ││axis 2│ 3.00 1.00 4.63e+2 │ │
+ ││ │ ... ... ... │ │
+ ││ │ 3.00 1.00 4.66e+2 │ │
+ ││ │ 3.00 1.00 4.67e+2 │ │
+ │├──────┼─────────────────────────┤ │
+ ││2 @ 1 │ 3.00 2.00 4.62e+2 │ │
+ ││axis 2│ 3.00 2.00 4.63e+2 │ │
+ ││ │ ... ... ... │ │
+ ││ │ 3.00 2.00 4.66e+2 │ │
+ ││ │ 3.00 2.00 4.67e+2 │ │
+ │├──────┼─────────────────────────┤ │
+ ││3 @ 1 │ 3.00 3.00 4.62e+2 │ │
+ ││axis 2│ 3.00 3.00 4.63e+2 │ │
+ ││ │ ... ... ... │ │
+ ││ │ 3.00 3.00 4.66e+2 │ │
+ ││ │ 3.00 3.00 4.67e+2 │ │
+ │├──────┼─────────────────────────┤ │
+ ││4 @ 1 │ 3.00 4.00 4.62e+2 │ │
+ ││axis 2│ 3.00 4.00 4.63e+2 │ │
+ ││ │ ... ... ... │ │
+ ││ │ 3.00 4.00 4.66e+2 │ │
+ ││ │ 3.00 4.00 4.67e+2 │ │
+ │└──────┴─────────────────────────┘ │
+ └───────────────────────────────────────┘
|}];
Train.printf ~here:[%here] ~with_code:false ~with_grad:false ti;
[%expect
{|
HERE: test/einsum/einsum_trivia.ml:1118:21
- ┌───────────────────────────┐
- │[1]: =>_ti shape 0:4,1:3 │
- │┌──────┬──────────────────┐│
- ││ │axis 1 ││
- │├──────┼──────────────────┤│
- ││axis 0│ 0.00 0.00 0.00 ││
- ││ │ 1.00 0.00 0.00 ││
- ││ │ 2.00 0.00 0.00 ││
- ││ │ 3.00 0.00 0.00 ││
- │└──────┴──────────────────┘│
- └───────────────────────────┘
+ ┌───────────────────────────────────┐
+ │[1]: =>_ti shape 0:4,1:3 │
+ │┌──────┬──────────────────────────┐│
+ ││ │axis 1 ││
+ │├──────┼──────────────────────────┤│
+ ││axis 0│ 0.00 7.16e-39 6.97e-39 ││
+ ││ │ 1.00 8.72e-39 6.24e-39 ││
+ ││ │ 2.00 8.72e-39 7.71e-39 ││
+ ││ │ 3.00 9.66e-44 4.62e+2 ││
+ │└──────┴──────────────────────────┘│
+ └───────────────────────────────────┘
|}];
Train.printf ~here:[%here] ~with_code:false ~with_grad:false tk;
[%expect
{|
HERE: test/einsum/einsum_trivia.ml:1134:21
- ┌───────────────────────────┐
- │[7]: =>_tk shape 0:6,1:3 │
- │┌──────┬──────────────────┐│
- ││ │axis 1 ││
- │├──────┼──────────────────┤│
- ││axis 0│ 0.00 0.00 0.00 ││
- ││ │ 0.00 0.00 1.00 ││
- ││ │ ... ... ... ││
- ││ │ 0.00 0.00 4.00 ││
- ││ │ 0.00 0.00 5.00 ││
- │└──────┴──────────────────┘│
- └───────────────────────────┘
+ ┌───────────────────────────────────┐
+ │[7]: =>_tk shape 0:6,1:3 │
+ │┌──────┬──────────────────────────┐│
+ ││ │axis 1 ││
+ │├──────┼──────────────────────────┤│
+ ││axis 0│ 6.15e-39 7.16e-39 0.00 ││
+ ││ │ 6.15e-39 8.72e-39 1.00 ││
+ ││ │ ... ... ... ││
+ ││ │ 6.15e-39 6.24e-39 4.00 ││
+ ││ │ 6.52e-39 1.09e-43 5.00 ││
+ │└──────┴──────────────────────────┘│
+ └───────────────────────────────────┘
|}]
let%expect_test "einsum with a leftmost input axis preserved as output axis" =
"cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-08-01 20:33.28: Job failed: Failed: Build failed