Skip to content

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.

fix(studio): update temporary directory path to use system temp dir

Shine1i7012b8396f39
diff --git a/studio/backend/utils/paths/storage_roots.py b/studio/backend/utils/paths/storage_roots.py
index 8eca28116bf..58d2af16c15 100644
--- a/studio/backend/utils/paths/storage_roots.py
+++ b/studio/backend/utils/paths/storage_roots.py
@@ -1,6 +1,7 @@
from __future__ import annotations
from pathlib import Path
+import tempfile
def studio_root() -> Path:
@@ -32,7 +33,7 @@ def exports_root() -> Path:
def tmp_root() -> Path:
- return studio_root() / "tmp"
+ return Path(tempfile.gettempdir()) / "unsloth-studio"
def seed_uploads_root() -> Path: