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.

Windows installer: restore the split-layout comment in setup.ps1 (Defender ML false positive) (#14520)

Daniel Han46c3bbbdf6eb
diff --git a/studio/setup.ps1 b/studio/setup.ps1
index 33a6410bcbe..267e00d6edb 100644
--- a/studio/setup.ps1
+++ b/studio/setup.ps1
@@ -3657,7 +3657,10 @@ function Test-MasterRootNoteIsHonoured {
Write-StudioLine " UNSLOTH_HOME whenever you run Unsloth." -ForegroundColor Yellow
return $false
}
- # Reject split layouts: readers require Studio inside the recorded root to prevent deleting another install.
+ # A note must describe the tree it is written into: every reader requires the Studio
+ # directory to lie INSIDE the root it names, so a tree copied between master roots cannot aim
+ # a removal at the original install. A split layout, with the runtimes under the master root
+ # and Studio outside it, is that shape: say so, rather than leave a note no reader honours.
$sep = [System.IO.Path]::DirectorySeparatorChar
if (($here -ieq $norm) -or $here.StartsWith($norm + $sep, [System.StringComparison]::OrdinalIgnoreCase)) {
return $true