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.

[pre-commit.ci] auto fixes from pre-commit.com hooks

pre-commit-ci[bot]e885d7308e5e
diff --git a/studio/backend/core/inference/llama_cpp.py b/studio/backend/core/inference/llama_cpp.py
index c1380d7e5d1..eb8387c6ca4 100644
--- a/studio/backend/core/inference/llama_cpp.py
+++ b/studio/backend/core/inference/llama_cpp.py
@@ -181,8 +181,11 @@ class LlamaCppBackend:
if m:
prefix, _, num_total = m.group(1), m.group(2), m.group(3)
sibling_pat = re.compile(
- r"^" + re.escape(prefix) + r"-\d{5}-of-"
- + re.escape(num_total) + r"\.gguf$"
+ r"^"
+ + re.escape(prefix)
+ + r"-\d{5}-of-"
+ + re.escape(num_total)
+ + r"\.gguf$"
)
for sibling in main.parent.iterdir():
if sibling != main and sibling_pat.match(sibling.name):