Skip to content

Commit ef6aeb7

Browse files
authored
Update llamacpp.yaml
1 parent 6d0a140 commit ef6aeb7

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/llamacpp.yaml

+3-7
Original file line numberDiff line numberDiff line change
@@ -93,22 +93,18 @@ jobs:
9393
- uses: uraimo/run-on-arch-action@v2
9494
name: Run Docker on ARM64
9595
with:
96-
arch: aarch64
96+
arch: armv7
9797
distro: ubuntu22.04
98-
install: |
99-
# apt-get update
100-
# apt-get install -y docker.io
98+
install: |
10199
uname -a
102-
# docker pull ascendai/cann:latest
103100
base_image: --platform=linux/arm64 ascendai/cann:latest
104101
run: |
105102
uname -a
106103
apt-get update
107104
apt-get install git cmake build-essential make -y
108105
git clone https://github.com/ggerganov/llama.cpp.git
109-
106+
110107
cd llama.cpp
111-
bash ~/.bashrc
112108
export LD_LIBRARY_PATH=/usr/local/Ascend/ascend-toolkit/latest/lib64:/usr/local/Ascend/ascend-toolkit/latest/aarch64-linux/devlib/:${LD_LIBRARY_PATH}
113109
cmake -B build -DCMAKE_BUILD_TYPE=release -DGGML_CANN=on -DSOC_TYPE=ascend910b3 && cmake --build build -j $(nproc)
114110

0 commit comments

Comments
 (0)