Trim the verbose comments added by the fixes
This commit is contained in:
parent
3bb3734879
commit
756c715721
17 changed files with 75 additions and 170 deletions
|
|
@ -380,9 +380,8 @@ function Uninstall-UnslothStudio {
|
|||
continue
|
||||
}
|
||||
_RemovePath $r
|
||||
# The native diffusion sibling (<custom root>.parent\stable-diffusion.cpp) is
|
||||
# intentionally NOT removed: sd.cpp writes no owner marker and sits in the user's
|
||||
# own parent dir, so auto-deleting it could destroy a user-managed clone.
|
||||
# The native diffusion sibling (<custom root>.parent\stable-diffusion.cpp) is left
|
||||
# in place: sd.cpp writes no owner marker, so auto-deleting it could destroy a clone.
|
||||
}
|
||||
# Default install dir (always at %USERPROFILE%\.unsloth\studio when present).
|
||||
if ($defaultStudioHome) { _RemovePath $defaultStudioHome }
|
||||
|
|
|
|||
|
|
@ -217,11 +217,9 @@ _remove_path "$HOME/.unsloth/studio"
|
|||
# when absent. A user-set UNSLOTH_LLAMA_CPP_PATH is intentionally kept.
|
||||
_remove_path "$HOME/.unsloth/llama.cpp"
|
||||
# Default-mode native diffusion (stable-diffusion.cpp / sd-cli) build, a sibling of
|
||||
# studio like llama.cpp (install_sd_cpp_prebuilt.default_install_dir()). Only the default
|
||||
# location is removed. In env/custom mode the install is <custom root>.parent/
|
||||
# stable-diffusion.cpp, which is intentionally left in place: sd.cpp writes no owner
|
||||
# marker and sits in the user's own parent dir, so auto-deleting it could destroy a
|
||||
# user-managed stable-diffusion.cpp clone. A user-set UNSLOTH_SD_CPP_PATH is kept.
|
||||
# studio like llama.cpp. Only the default location is removed; the env/custom-mode
|
||||
# sibling (<custom root>.parent/stable-diffusion.cpp) is left in place since sd.cpp
|
||||
# writes no owner marker and auto-deleting it could destroy a user-managed clone.
|
||||
_remove_path "$HOME/.unsloth/stable-diffusion.cpp"
|
||||
_remove_path "$HOME/.unsloth/.cache"
|
||||
# Isolated Node.js runtime (install_node_prebuilt.py), a sibling of studio in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue