Enable partial support for MacOS/MPS training - #626
Open
dsocolobsky wants to merge 2 commits into
Open
Garnix CI / package psyche-solana-client [x86_64-linux]
succeeded
Mar 18, 2026 in 2m 38s
package psyche-solana-client [x86_64-linux]
package psyche-solana-client [x86_64-linux] succeeded
Details
Last 100 lines of logs:
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> ++++++ command cargo metadata --format-version 1 --no-deps
psyche-solana-client-0.2.0> +++ command cargo --version
psyche-solana-client-0.2.0> cargo 1.95.0-nightly (85eff7c80 2026-01-15)
psyche-solana-client-0.2.0> +++ command cargo build --release --message-format json-render-diagnostics --features python,parallelism --bin psyche-solana-client
psyche-solana-client-0.2.0> Compiling pyo3-build-config v0.24.2
psyche-solana-client-0.2.0> Compiling bzip2-sys v0.1.13+1.0.8
psyche-solana-client-0.2.0> Compiling psyche-core v0.2.0 (/build/source/shared/core)
psyche-solana-client-0.2.0> Compiling psyche-tui v0.2.0 (/build/source/shared/tui)
psyche-solana-client-0.2.0> Compiling psyche-solana-authorizer v0.2.0 (/build/source/architectures/decentralized/solana-authorizer/programs/solana-authorizer)
psyche-solana-client-0.2.0> Compiling bzip2 v0.4.4
psyche-solana-client-0.2.0> Compiling zip v0.6.6
psyche-solana-client-0.2.0> Compiling pyo3-ffi v0.24.2
psyche-solana-client-0.2.0> Compiling pyo3-macros-backend v0.24.2
psyche-solana-client-0.2.0> Compiling pyo3 v0.24.2
psyche-solana-client-0.2.0> Compiling torch-sys v0.22.0 (https://github.com/NousResearch/tch-rs.git?rev=dda507e05a776547a112b6854d1e611684f8c729#dda507e0)
psyche-solana-client-0.2.0> Compiling psyche-coordinator v0.2.0 (/build/source/shared/coordinator)
psyche-solana-client-0.2.0> Compiling psyche-metrics v0.2.0 (/build/source/shared/metrics)
psyche-solana-client-0.2.0> Compiling psyche-watcher v0.2.0 (/build/source/shared/watcher)
psyche-solana-client-0.2.0> Compiling pyo3-macros v0.24.2
psyche-solana-client-0.2.0> Compiling psyche-solana-coordinator v0.2.0 (/build/source/architectures/decentralized/solana-coordinator/programs/solana-coordinator)
psyche-solana-client-0.2.0> Compiling psyche-solana-treasurer v0.2.0 (/build/source/architectures/decentralized/solana-treasurer/programs/solana-treasurer)
psyche-solana-client-0.2.0> Compiling psyche-solana-rpc v0.2.0 (/build/source/architectures/decentralized/solana-common)
psyche-solana-client-0.2.0> Compiling tch v0.22.0 (https://github.com/NousResearch/tch-rs.git?rev=dda507e05a776547a112b6854d1e611684f8c729#dda507e0)
psyche-solana-client-0.2.0> Compiling pyo3-tch v0.22.0 (https://github.com/NousResearch/tch-rs.git?rev=dda507e05a776547a112b6854d1e611684f8c729#dda507e0)
psyche-solana-client-0.2.0> Compiling psyche-modeling v0.2.0 (/build/source/shared/modeling)
psyche-solana-client-0.2.0> Compiling psyche-network v0.2.0 (/build/source/shared/network)
psyche-solana-client-0.2.0> Compiling psyche-python-extension-impl v0.2.0 (/build/source/python/extension-impl)
psyche-solana-client-0.2.0> Compiling psyche-data-provider v0.2.0 (/build/source/shared/data-provider)
psyche-solana-client-0.2.0> Compiling psyche-eval v0.2.0 (/build/source/shared/eval)
psyche-solana-client-0.2.0> Compiling psyche-client v0.2.0 (/build/source/shared/client)
psyche-solana-client-0.2.0> Compiling psyche-solana-client v0.2.0 (/build/source/architectures/decentralized/solana-client)
psyche-solana-client-0.2.0> Finished `release` profile [optimized] target(s) in 1m 18s
psyche-solana-client-0.2.0> searching for bins/libs to install from cargo build log at cargoBuildLog3Dhf.json
psyche-solana-client-0.2.0> installing /build/source/target/release/deps/libpsyche_solana_authorizer.so in postBuildInstallFromCargoBuildLogOutTempVhq/lib
psyche-solana-client-0.2.0> installing /build/source/target/release/deps/libpsyche_solana_coordinator.so in postBuildInstallFromCargoBuildLogOutTempVhq/lib
psyche-solana-client-0.2.0> installing /build/source/target/release/deps/libpsyche_solana_treasurer.so in postBuildInstallFromCargoBuildLogOutTempVhq/lib
psyche-solana-client-0.2.0> installing /build/source/target/release/psyche-solana-client in postBuildInstallFromCargoBuildLogOutTempVhq/bin
psyche-solana-client-0.2.0> searching for bins/libs complete
psyche-solana-client-0.2.0> buildPhase completed in 1 minutes 22 seconds
psyche-solana-client-0.2.0> Running phase: installPhase
psyche-solana-client-0.2.0> stripping references to Rust toolchain
psyche-solana-client-0.2.0> Rust toolchain at: /nix/store/g8lx95m2mcshkbshdhzyfddak8zh774y-rust-default-1.95.0-nightly-2026-01-22
psyche-solana-client-0.2.0> stripping Rust toolchain references done
psyche-solana-client-0.2.0> stripping references to cargoVendorDir from:
psyche-solana-client-0.2.0> /nix/store/c6623snivwgkddrq6dl9jw4447hbdw11-psyche-solana-client-0.2.0/bin/psyche-solana-client
psyche-solana-client-0.2.0> stripping references done
psyche-solana-client-0.2.0> Running phase: fixupPhase
psyche-solana-client-0.2.0> shrinking RPATHs of ELF executables and libraries in /nix/store/c6623snivwgkddrq6dl9jw4447hbdw11-psyche-solana-client-0.2.0
psyche-solana-client-0.2.0> shrinking /nix/store/c6623snivwgkddrq6dl9jw4447hbdw11-psyche-solana-client-0.2.0/bin/psyche-solana-client
psyche-solana-client-0.2.0> checking for references to /build/ in /nix/store/c6623snivwgkddrq6dl9jw4447hbdw11-psyche-solana-client-0.2.0...
psyche-solana-client-0.2.0> patching script interpreter paths in /nix/store/c6623snivwgkddrq6dl9jw4447hbdw11-psyche-solana-client-0.2.0
psyche-solana-client-0.2.0> stripping (with command strip and flags -S -p) in /nix/store/c6623snivwgkddrq6dl9jw4447hbdw11-psyche-solana-client-0.2.0/bin
psyche-solana-client-0.2.0> shrinking RPATHs of ELF executables and libraries in /nix/store/c6623snivwgkddrq6dl9jw4447hbdw11-psyche-solana-client-0.2.0
psyche-solana-client-0.2.0> shrinking /nix/store/c6623snivwgkddrq6dl9jw4447hbdw11-psyche-solana-client-0.2.0/bin/psyche-solana-client
psyche-solana-client-0.2.0> autoFixElfFiles: using removeStubsFromRunpath to fix /nix/store/c6623snivwgkddrq6dl9jw4447hbdw11-psyche-solana-client-0.2.0/bin/psyche-solana-client
Loading