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
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot]7202f81985ed
diff --git a/studio/backend/core/inference/llama_cpp.py b/studio/backend/core/inference/llama_cpp.pyindex 063a656ecba..e652d92ca2f 100644--- a/studio/backend/core/inference/llama_cpp.py+++ b/studio/backend/core/inference/llama_cpp.py@@ -344,13 +344,20 @@ class LlamaCppBackend:cmd = [binary,- "-m", model_path,- "--port", str(self._port),- "-c", str(n_ctx),- "-ngl", str(n_gpu_layers),- "--parallel", "1", # Single-user studio, saves VRAM- "--flash-attn", "on", # Force flash attention for speed- "--fit", "on", # Auto-fit to available device memory+ "-m",+ model_path,+ "--port",+ str(self._port),+ "-c",+ str(n_ctx),+ "-ngl",+ str(n_gpu_layers),+ "--parallel",+ "1", # Single-user studio, saves VRAM+ "--flash-attn",+ "on", # Force flash attention for speed+ "--fit",+ "on", # Auto-fit to available device memory]if n_threads is not None: