Skip to content

Commit 91dcd63

Browse files
authored
Modify cann image version
1 parent 10b5b2b commit 91dcd63

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,7 +1463,7 @@ jobs:
14631463

14641464
strategy:
14651465
matrix:
1466-
cann: ['python3.9-cann8.0.rc2.beta1']
1466+
cann: ['openeuler-python3.10-cann8.0.rc3.beta1']
14671467
build: ['Release']
14681468
device: ['ascend910b3']
14691469

@@ -1477,12 +1477,13 @@ jobs:
14771477
with:
14781478
arch: aarch64
14791479
distro: ubuntu22.04
1480-
base_image: --platform=linux/arm64 ascendai/cann:openeuler-${{ matrix.cann }}
1480+
base_image: --platform=linux/arm64 ascendai/cann:${{ matrix.cann }}
14811481
run: |
14821482
yum update -y
14831483
yum install git cmake gcc gcc-c++ make -y
14841484
export LD_LIBRARY_PATH=/usr/local/Ascend/ascend-toolkit/latest/lib64:/usr/local/Ascend/ascend-toolkit/latest/aarch64-linux/devlib/:${LD_LIBRARY_PATH}
14851485
1486-
cd llama.cpp
1487-
cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DGGML_CANN=on -DGGML_NATIVE=OFF -DSOC_TYPE=${{ matrix.device }}
1488-
cmake --build build
1486+
mkdir build
1487+
cd build
1488+
cmake -B .. -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DGGML_CANN=on -DGGML_NATIVE=OFF -DSOC_TYPE=${{ matrix.device }}
1489+
cmake --build .

0 commit comments

Comments
 (0)