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
DiffusionGemma: set UNSLOTH_IS_PRESENT for the shim subprocess (#6259)
Daniel Han2a01ba8aad34
diff --git a/studio/backend/core/inference/llama_cpp.py b/studio/backend/core/inference/llama_cpp.pyindex 19d02d36fe9..75da00451e1 100644--- a/studio/backend/core/inference/llama_cpp.py+++ b/studio/backend/core/inference/llama_cpp.py@@ -2527,6 +2527,10 @@ class LlamaCppBackend:]env = child_env_without_native_path_secret()+ # `python -m unsloth_zoo.diffusion_studio.shim` imports unsloth_zoo, which+ # refuses to load unless UNSLOTH_IS_PRESENT is set (normally by `import+ # unsloth`). The shim never imports unsloth, so set it here as unsloth does.+ env["UNSLOTH_IS_PRESENT"] = "1"env["DG_VISUAL_BIN"] = visual_binenv["DG_GPU"] = gpu# The file-override shim imports its sibling visual_engine; put its dir on PYTHONPATH.