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
Installer: name the encoding when syncing the prebuilt marker (#7554)
Daniel Han0e9010c8b9d7
diff --git a/studio/install_llama_prebuilt.py b/studio/install_llama_prebuilt.pyindex 346796a8c73..529b90c3e37 100644--- a/studio/install_llama_prebuilt.py+++ b/studio/install_llama_prebuilt.py@@ -5644,7 +5644,7 @@ def sync_marker_llama_backend(install_dir: Path, llama_backend: str | None) -> N"""Sync the persisted llama.cpp backend when the bundle is reused unchanged."""marker_path = install_dir / "UNSLOTH_PREBUILT_INFO.json"try:- marker = json.loads(marker_path.read_text())+ marker = json.loads(marker_path.read_text(encoding = "utf-8"))except (OSError, ValueError):returnif not isinstance(marker, dict) or marker.get("llama_backend") == llama_backend:@@ -5653,7 +5653,7 @@ def sync_marker_llama_backend(install_dir: Path, llama_backend: str | None) -> Nmarker.pop("llama_backend", None)else:marker["llama_backend"] = llama_backend- marker_path.write_text(json.dumps(marker, indent = 2) + "\n")+ marker_path.write_text(json.dumps(marker, indent = 2) + "\n", encoding = "utf-8")log(f"existing install reused; recorded llama_backend={llama_backend!r} from this run")