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
Studio: read diffusion.py as utf-8 in the encoder pin structural test (#15242)
Daniel Hanfabc696892f6
diff --git a/studio/backend/tests/test_image_encoder_background_pin.py b/studio/backend/tests/test_image_encoder_background_pin.pyindex 2f858cad2a6..90203d9952f 100644--- a/studio/backend/tests/test_image_encoder_background_pin.py+++ b/studio/backend/tests/test_image_encoder_background_pin.py@@ -185,7 +185,7 @@ def _calls(tree, name):def test_the_image_load_requests_starts_and_stops_the_encoder_pins():- tree = ast.parse((_BACKEND / "core" / "inference" / "diffusion.py").read_text())+ tree = ast.parse((_BACKEND / "core" / "inference" / "diffusion.py").read_text(encoding = "utf-8"))request = _calls(tree, "request_background_encoder_pins")apply = _calls(tree, "apply_memory_plan")assert request and apply and min(c.lineno for c in request) < min(c.lineno for c in apply)