From 8ecfb07616d8a244296b2ed80e6d6ddd47d2af7a Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Thu, 2 Apr 2026 18:40:45 +0000 Subject: [PATCH] fix(studio): revert llama.cpp default tag to latest ggml-org/llama.cpp b8637 (latest release) now includes Gemma 4 support (ggml-org/llama.cpp#21309). Revert the temporary "master" default from #4790 back to "latest" so the prebuilt resolver picks the newest release automatically. This eliminates the HTTP 422 errors from the prebuilt resolver (which could not find a release matching "master"), avoids unnecessary source builds, and restores prebuilt binary downloads on all platforms. --- studio/install_llama_prebuilt.py | 2 +- studio/setup.ps1 | 2 +- studio/setup.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/studio/install_llama_prebuilt.py b/studio/install_llama_prebuilt.py index 61e57614a8..898606514e 100755 --- a/studio/install_llama_prebuilt.py +++ b/studio/install_llama_prebuilt.py @@ -59,7 +59,7 @@ def env_int(name: str, default: int, *, minimum: int | None = None) -> int: return value -DEFAULT_LLAMA_TAG = os.environ.get("UNSLOTH_LLAMA_TAG", "master") +DEFAULT_LLAMA_TAG = os.environ.get("UNSLOTH_LLAMA_TAG", "latest") # Force all installs to use mainline llama.cpp from ggml-org. # Previously: DEFAULT_PUBLISHED_REPO = os.environ.get("UNSLOTH_LLAMA_RELEASE_REPO", "unslothai/llama.cpp") DEFAULT_PUBLISHED_REPO = "ggml-org/llama.cpp" diff --git a/studio/setup.ps1 b/studio/setup.ps1 index 396a04486f..29425b8641 100644 --- a/studio/setup.ps1 +++ b/studio/setup.ps1 @@ -29,7 +29,7 @@ $PackageDir = Split-Path -Parent $ScriptDir # -------------------------------------------------------------------------- $DefaultLlamaPrForce = "" $DefaultLlamaSource = "https://github.com/ggml-org/llama.cpp" -$DefaultLlamaTag = "master" +$DefaultLlamaTag = "latest" # Verbose can be enabled either by CLI flag or by UNSLOTH_VERBOSE=1. $script:UnslothVerbose = ($env:UNSLOTH_VERBOSE -eq '1') diff --git a/studio/setup.sh b/studio/setup.sh index 116dc12e08..09d4d46cb2 100755 --- a/studio/setup.sh +++ b/studio/setup.sh @@ -19,7 +19,7 @@ RULE=$(printf '\342\224\200%.0s' {1..52}) # ────────────────────────────────────────────────────────────────────────── _DEFAULT_LLAMA_PR_FORCE="" _DEFAULT_LLAMA_SOURCE="https://github.com/ggml-org/llama.cpp" -_DEFAULT_LLAMA_TAG="master" +_DEFAULT_LLAMA_TAG="latest" # ── Colors (same palette as startup_banner / install_python_stack) ── if [ -n "${NO_COLOR:-}" ]; then