Skip to content

Enable partial support for MacOS/MPS training - #626

Open
dsocolobsky wants to merge 2 commits into
mainfrom
dy/enable-macos-training
Open

Enable partial support for MacOS/MPS training#626
dsocolobsky wants to merge 2 commits into
mainfrom
dy/enable-macos-training

Merge branch 'main' into dy/enable-macos-training

32acdd6
Select commit
Loading
Failed to load commit list.
Garnix CI / check validate-psyche-http-docs-caddyfile [x86_64-linux] succeeded Mar 18, 2026 in 2m 52s

check validate-psyche-http-docs-caddyfile [x86_64-linux]

check validate-psyche-http-docs-caddyfile [x86_64-linux] succeeded

Details

Last 100 lines of logs:

psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-sidecar-0.2.0> +++ command cargo --version
psyche-sidecar-0.2.0> cargo 1.95.0-nightly (85eff7c80 2026-01-15)
psyche-sidecar-0.2.0> +++ command cargo build --release --message-format json-render-diagnostics --features python,parallelism --bin psyche-sidecar
psyche-sidecar-0.2.0>    Compiling bzip2-sys v0.1.13+1.0.8
psyche-sidecar-0.2.0>    Compiling bzip2 v0.4.4
psyche-sidecar-0.2.0>    Compiling zip v0.6.6
psyche-sidecar-0.2.0>    Compiling torch-sys v0.22.0 (https://github.com/NousResearch/tch-rs.git?rev=dda507e05a776547a112b6854d1e611684f8c729#dda507e0)
psyche-sidecar-0.2.0>    Compiling tch v0.22.0 (https://github.com/NousResearch/tch-rs.git?rev=dda507e05a776547a112b6854d1e611684f8c729#dda507e0)
psyche-sidecar-0.2.0>    Compiling psyche-sidecar v0.2.0 (/build/source/tools/rust-tools/psyche-sidecar)
psyche-sidecar-0.2.0>     Finished `release` profile [optimized] target(s) in 54.64s
psyche-sidecar-0.2.0> searching for bins/libs to install from cargo build log at cargoBuildLogwg2P.json
psyche-sidecar-0.2.0> installing /build/source/target/release/psyche-sidecar in postBuildInstallFromCargoBuildLogOutTempXvV/bin
psyche-sidecar-0.2.0> searching for bins/libs complete
psyche-sidecar-0.2.0> buildPhase completed in 59 seconds
psyche-sidecar-0.2.0> Running phase: installPhase
psyche-sidecar-0.2.0> stripping references to Rust toolchain
psyche-sidecar-0.2.0> Rust toolchain at: /nix/store/g8lx95m2mcshkbshdhzyfddak8zh774y-rust-default-1.95.0-nightly-2026-01-22
psyche-sidecar-0.2.0> stripping Rust toolchain references done
psyche-sidecar-0.2.0> stripping references to cargoVendorDir from:
psyche-sidecar-0.2.0> /nix/store/k26f332xqfj080l8da79xrs32b042dld-psyche-sidecar-0.2.0/bin/psyche-sidecar
psyche-sidecar-0.2.0> stripping references done
psyche-sidecar-0.2.0> Running phase: fixupPhase
psyche-sidecar-0.2.0> shrinking RPATHs of ELF executables and libraries in /nix/store/k26f332xqfj080l8da79xrs32b042dld-psyche-sidecar-0.2.0
psyche-sidecar-0.2.0> shrinking /nix/store/k26f332xqfj080l8da79xrs32b042dld-psyche-sidecar-0.2.0/bin/psyche-sidecar
psyche-sidecar-0.2.0> checking for references to /build/ in /nix/store/k26f332xqfj080l8da79xrs32b042dld-psyche-sidecar-0.2.0...
psyche-sidecar-0.2.0> patching script interpreter paths in /nix/store/k26f332xqfj080l8da79xrs32b042dld-psyche-sidecar-0.2.0
psyche-sidecar-0.2.0> stripping (with command strip and flags -S -p) in  /nix/store/k26f332xqfj080l8da79xrs32b042dld-psyche-sidecar-0.2.0/bin
psyche-sidecar-0.2.0> shrinking RPATHs of ELF executables and libraries in /nix/store/k26f332xqfj080l8da79xrs32b042dld-psyche-sidecar-0.2.0
psyche-sidecar-0.2.0> shrinking /nix/store/k26f332xqfj080l8da79xrs32b042dld-psyche-sidecar-0.2.0/bin/psyche-sidecar
psyche-sidecar-0.2.0> autoFixElfFiles: using removeStubsFromRunpath to fix /nix/store/k26f332xqfj080l8da79xrs32b042dld-psyche-sidecar-0.2.0/bin/psyche-sidecar
validate-psyche-http-docs-caddyfile> 2026/03/18 21:37:32.287	INFO	using config from file	{"file": "./Caddyfile"}
validate-psyche-http-docs-caddyfile> 2026/03/18 21:37:32.287	INFO	adapted config to JSON	{"adapter": "caddyfile"}
validate-psyche-http-docs-caddyfile> Valid configuration