mirror of
https://github.com/mudler/LocalAI.git
synced 2026-10-28 09:08:54 -04:00
chore: ⬆️ Update ggml-org/llama.cpp to 6050b467c07a95c7b87debd4ddac2f8ba8d9b807 (#12908)
* ⬆️ Update ggml-org/llama.cpp Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix(llama-cpp): retry transient source fetches GitHub TLS handshake failures stop CUDA builds before checkout. Retry the shared source fetch three times with 3s and 6s delays. Keep checkout blocked when all attempts fail. Assisted-by: nib:gpt-6.1-sol Signed-off-by: Ettore Di Giacinto <mudler@localai.io> --------- Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Ettore Di Giacinto <mudler@localai.io> Co-authored-by: mudler <2420543+mudler@users.noreply.github.com> Co-authored-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
1 file changed
+14
-2
@@ -1,5 +1,5 @@
|
||||
|
||||
LLAMA_VERSION?=78a8ae14be559b45f5f13ddee82c188b683d5d8d
|
||||
LLAMA_VERSION?=6050b467c07a95c7b87debd4ddac2f8ba8d9b807
|
||||
LLAMA_REPO?=https://github.com/ggerganov/llama.cpp
|
||||
|
||||
CMAKE_ARGS?=
|
||||
@@ -169,7 +169,19 @@ llama.cpp:
|
||||
cd llama.cpp && \
|
||||
git init && \
|
||||
git remote add origin $(LLAMA_REPO) && \
|
||||
git fetch --all --tags && \
|
||||
( \
|
||||
attempt=1; \
|
||||
until git fetch --all --tags; do \
|
||||
if [ "$$attempt" -ge 3 ]; then \
|
||||
echo "git fetch failed after $$attempt attempts" >&2; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
delay=$$((attempt * 3)); \
|
||||
echo "git fetch attempt $$attempt failed; retrying in $${delay}s" >&2; \
|
||||
sleep "$$delay" || exit 1; \
|
||||
attempt=$$((attempt + 1)); \
|
||||
done \
|
||||
) && \
|
||||
git checkout -b build $(LLAMA_VERSION) && \
|
||||
git submodule update --init --recursive --depth 1 --single-branch
|
||||
|
||||
|
||||
Reference in new issue
Block a user