Skip to content

Commit 08ea096

Browse files
authored
Update llamacpp.yaml
1 parent 2f3607f commit 08ea096

File tree

1 file changed

+22
-21
lines changed

1 file changed

+22
-21
lines changed

.github/workflows/llamacpp.yaml

+22-21
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: llama.cpp
22

3-
defaults:
4-
run:
5-
shell: bash -el {0}
3+
# defaults:
4+
# run:
5+
# shell: bash -el {0}
66
on:
77
workflow_dispatch:
88
pull_request:
@@ -23,26 +23,26 @@ permissions:
2323
issues: write
2424

2525
jobs:
26-
ubuntu-arm64-test:
27-
runs-on: ubuntu-latest
28-
steps:
29-
- uses: actions/checkout@v4
26+
# ubuntu-arm64-test:
27+
# runs-on: ubuntu-latest
28+
# steps:
29+
# - uses: actions/checkout@v4
3030

31-
- uses: uraimo/run-on-arch-action@v2
32-
name: Run Docker on ARM64
33-
with:
34-
arch: aarch64
35-
distro: ubuntu22.04
36-
base_image: --platform=linux/arm64 ascendai/cann:openeuler-python3.10-cann8.0.rc2.beta1
37-
run: |
38-
yum update -y
39-
yum install git cmake gcc gcc-c++ make -y
40-
export LD_LIBRARY_PATH=/usr/local/Ascend/ascend-toolkit/latest/lib64:/usr/local/Ascend/ascend-toolkit/latest/aarch64-linux/devlib/:${LD_LIBRARY_PATH}
31+
# - uses: uraimo/run-on-arch-action@v2
32+
# name: Run Docker on ARM64
33+
# with:
34+
# arch: aarch64
35+
# distro: ubuntu22.04
36+
# base_image: --platform=linux/arm64 ascendai/cann:openeuler-python3.10-cann8.0.rc2.beta1
37+
# run: |
38+
# yum update -y
39+
# yum install git cmake gcc gcc-c++ make -y
40+
# export LD_LIBRARY_PATH=/usr/local/Ascend/ascend-toolkit/latest/lib64:/usr/local/Ascend/ascend-toolkit/latest/aarch64-linux/devlib/:${LD_LIBRARY_PATH}
4141

42-
git clone https://github.com/ggerganov/llama.cpp.git
43-
cd llama.cpp
44-
cmake -B build -DCMAKE_BUILD_TYPE=release -DGGML_CANN=on -DSOC_TYPE=ascend910b3 -DGGML_NATIVE=OFF -DGGML_CPU_ARM_ARCH=armv8-a
45-
cmake --build build
42+
# git clone https://github.com/ggerganov/llama.cpp.git
43+
# cd llama.cpp
44+
# cmake -B build -DCMAKE_BUILD_TYPE=release -DGGML_CANN=on -DSOC_TYPE=ascend910b3 -DGGML_NATIVE=OFF -DGGML_CPU_ARM_ARCH=armv8-a
45+
# cmake --build build
4646

4747
ubuntu-unit-tests:
4848

@@ -97,5 +97,6 @@ jobs:
9797
cd llama.cpp
9898
mkdir build
9999
cd build
100+
bash ~/.bashrc
100101
export LD_LIBRARY_PATH=/usr/local/Ascend/ascend-toolkit/latest/lib64:/usr/local/Ascend/ascend-toolkit/latest/x86_64-linux/devlib/:${LD_LIBRARY_PATH}
101102
cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DGGML_CANN=on -DSOC_TYPE=${{ matrix.device }} && cmake --build . -j $(nproc)

0 commit comments

Comments
 (0)