Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

fix(studio): suppress fatal error when prebuilt manifest is missing (#4799)

Daniel Hane553a8ad0bc9
diff --git a/studio/install_llama_prebuilt.py b/studio/install_llama_prebuilt.py
index 1b02729649d..5e8fe314b4e 100755
--- a/studio/install_llama_prebuilt.py
+++ b/studio/install_llama_prebuilt.py
@@ -4733,6 +4733,12 @@ if __name__ == "__main__":
f"fatal helper busy conflict: {textwrap.shorten(str(exc), width = 400, placeholder = '...')}"
)
raise SystemExit(EXIT_BUSY)
+ except PrebuiltFallback as exc:
+ # Expected when the published repo (e.g. ggml-org/llama.cpp) has no
+ # prebuilt manifest. Exit quietly with EXIT_FALLBACK so the caller
+ # falls back to source build without a noisy "fatal helper error".
+ log(textwrap.shorten(str(exc), width = 400, placeholder = "..."))
+ raise SystemExit(EXIT_FALLBACK)
except Exception as exc:
message = textwrap.shorten(str(exc), width = 400, placeholder = "...")
log(f"fatal helper error: {message}")