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 lora: outputs path local

Shine1i8529f89a7531
diff --git a/studio/backend/utils/paths/path_utils.py b/studio/backend/utils/paths/path_utils.py
index 7743952b6b0..856e478bc2d 100644
--- a/studio/backend/utils/paths/path_utils.py
+++ b/studio/backend/utils/paths/path_utils.py
@@ -41,6 +41,13 @@ def is_local_path(path: str) -> bool:
if not path:
return False
+ # If it exists on disk, treat as local (covers relative paths like "outputs/foo").
+ try:
+ if Path(normalize_path(path)).expanduser().exists():
+ return True
+ except Exception:
+ pass
+
# Obvious HF patterns
if path.count('/') == 1 and not path.startswith(('/', '.', '~')):
return False # Looks like org/model format