From 44bd5594f9982caee0523de6173fdd86fead29d1 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Thu, 7 May 2026 04:57:09 +0000 Subject: [PATCH] ci(mlx): pass --simple-policy when installing from ggml-org Studio's install_llama_prebuilt.py default policy expects a llama-prebuilt-manifest.json asset on the published release, which unslothai/llama.cpp ships but the upstream ggml-org/llama.cpp does not. Without --simple-policy the resolver falls back to source build with the message "published release ggml-org/llama.cpp@b9049 did not expose a usable llama.cpp manifest". setup.sh passes --simple-policy in this exact configuration; mirror that here so the CI step exercises the same path Studio takes on macOS. --- .github/workflows/mlx-ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mlx-ci.yml b/.github/workflows/mlx-ci.yml index 01007e4d86..4e70ec487e 100644 --- a/.github/workflows/mlx-ci.yml +++ b/.github/workflows/mlx-ci.yml @@ -245,10 +245,17 @@ jobs: set -euo pipefail INSTALL_DIR="$HOME/.unsloth-studio-prebuilt-test/llama.cpp" rm -rf "$INSTALL_DIR" + # --simple-policy is required when --published-repo points + # at upstream ggml-org/llama.cpp; that repo doesn't ship the + # llama-prebuilt-manifest.json asset Studio's default policy + # expects, so the simple platform-specific policy maps + # Darwin+arm64 -> bin-macos-arm64 directly. setup.sh passes + # this flag too. python studio/install_llama_prebuilt.py \ --install-dir "$INSTALL_DIR" \ --published-repo ggml-org/llama.cpp \ - --published-release-tag b9049 + --published-release-tag b9049 \ + --simple-policy LLAMA_CLI="" for c in \