From 3750ed04e294b13481d643ee9e550c83df7910df Mon Sep 17 00:00:00 2001 From: jiahao su Date: Tue, 5 Nov 2024 19:45:13 +0800 Subject: [PATCH] Update llamacpp.yaml --- .github/workflows/llamacpp.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/llamacpp.yaml b/.github/workflows/llamacpp.yaml index 57ea1efa4..d75d3e542 100644 --- a/.github/workflows/llamacpp.yaml +++ b/.github/workflows/llamacpp.yaml @@ -49,6 +49,13 @@ jobs: - name: Install llamacpp run: | + npu-smi info + apt-get update + apt-get install sudo + pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple + echo "y" | apt-get install git + source /root/.bashrc + git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build