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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Preflight llama-server check before downloading remote GGUF files
Roland Tannous4e88092452e1
diff --git a/studio/backend/utils/models/model_config.py b/studio/backend/utils/models/model_config.pyindex 53ac28be651..601ea757709 100644--- a/studio/backend/utils/models/model_config.py+++ b/studio/backend/utils/models/model_config.py@@ -800,6 +800,15 @@ class ModelConfig:# Check if the HF repo contains GGUF filesgguf_filename = detect_gguf_model_remote(identifier, hf_token=hf_token)if gguf_filename:+ # Preflight: verify llama-server binary exists before downloading+ # a potentially multi-GB GGUF file+ from core.inference.llama_cpp import LlamaCppBackend+ if not LlamaCppBackend._find_llama_server_binary():+ raise RuntimeError(+ "llama-server binary not found — cannot load GGUF models. "+ "Run setup.sh to build it, or set LLAMA_SERVER_PATH."+ )+logger.info(f"Detected remote GGUF repo '{identifier}', file: {gguf_filename}")logger.info(f"Downloading GGUF file '{gguf_filename}' from '{identifier}'...")local_gguf_path = download_gguf_file(