File tree 1 file changed +22
-21
lines changed
1 file changed +22
-21
lines changed Original file line number Diff line number Diff line change 1
1
name : llama.cpp
2
2
3
- defaults :
4
- run :
5
- shell : bash -el {0}
3
+ # defaults:
4
+ # run:
5
+ # shell: bash -el {0}
6
6
on :
7
7
workflow_dispatch :
8
8
pull_request :
@@ -23,26 +23,26 @@ permissions:
23
23
issues : write
24
24
25
25
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
30
30
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}
41
41
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
46
46
47
47
ubuntu-unit-tests :
48
48
97
97
cd llama.cpp
98
98
mkdir build
99
99
cd build
100
+ bash ~/.bashrc
100
101
export LD_LIBRARY_PATH=/usr/local/Ascend/ascend-toolkit/latest/lib64:/usr/local/Ascend/ascend-toolkit/latest/x86_64-linux/devlib/:${LD_LIBRARY_PATH}
101
102
cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DGGML_CANN=on -DSOC_TYPE=${{ matrix.device }} && cmake --build . -j $(nproc)
You can’t perform that action at this time.
0 commit comments