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): use endswith for mmproj F16 variant selection (#5184)

Leo Borcherdingefed5c37394a
diff --git a/studio/backend/core/inference/llama_cpp.py b/studio/backend/core/inference/llama_cpp.py
index 33722f103ca..c1a37e2fa4a 100644
--- a/studio/backend/core/inference/llama_cpp.py
+++ b/studio/backend/core/inference/llama_cpp.py
@@ -1339,7 +1339,7 @@ class LlamaCppBackend:
# Prefer F16 variant
target = None
for f in mmproj_files:
- if "f16" in f.lower():
+ if f.lower().endswith("-f16.gguf"):
target = f
break
if target is None: