Skip llama.cpp install in Docker mode
This commit is contained in:
parent
aea8a8df18
commit
8effebfe43
1 changed files with 4 additions and 0 deletions
|
|
@ -585,6 +585,9 @@ fi
|
|||
fi
|
||||
|
||||
# ── 7. Prefer prebuilt llama.cpp bundles before any source build path ──
|
||||
if [ "$_DOCKER_NO_VENV" = true ]; then
|
||||
step "llama.cpp" "skipped (Docker)"
|
||||
else # begin non-Docker llama.cpp block
|
||||
UNSLOTH_HOME="$HOME/.unsloth"
|
||||
mkdir -p "$UNSLOTH_HOME"
|
||||
LLAMA_CPP_DIR="$UNSLOTH_HOME/llama.cpp"
|
||||
|
|
@ -1068,6 +1071,7 @@ else
|
|||
fi
|
||||
}
|
||||
fi # end _SKIP_GGUF_BUILD check
|
||||
fi # end non-Docker llama.cpp block
|
||||
|
||||
# ── Footer ──
|
||||
if [ "$_LLAMA_ONLY" = "1" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue