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
fix: clear stale model state on failed inference subprocess reload
Roland Tannousa7c34b42be74
diff --git a/studio/backend/core/inference/orchestrator.py b/studio/backend/core/inference/orchestrator.pyindex a6c297c0462..5db7e563570 100644--- a/studio/backend/core/inference/orchestrator.py+++ b/studio/backend/core/inference/orchestrator.py@@ -319,10 +319,14 @@ class InferenceOrchestrator:else:error = resp.get("error", "Failed to load model")self.loading_models.discard(model_name)+ self.active_model_name = None+ self.models.clear()raise Exception(error)except Exception:self.loading_models.discard(model_name)+ self.active_model_name = None+ self.models.clear()raisedef unload_model(self, model_name: str) -> bool: