Skip to content

Commit

Permalink
Update llamacpp.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
xuedinge233 authored Nov 19, 2024
1 parent 3223f4c commit 3042f50
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/llamacpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@ permissions:
jobs:
unit-tests:
runs-on: ubuntu-latest
container:
image: ascendai/cann:8.0.rc2.beta1-910b-openeuler22.03-py3.9

strategy:
matrix:
cann: ['8.0.rc2.beta1']
build: ['cann']

build: ['Release']

container:
image: ascendai/cann:${{ matrix.build }}-910b-openeuler22.03-py3.9

steps:
- uses: actions/checkout@v4

Expand All @@ -42,20 +43,19 @@ jobs:
timeout_minutes: 30
max_attempts: 3
retry_on: error
command: |
command: |
yum update -y
yum install git cmake gcc gcc-c++ make -y
git clone https://github.com/ggerganov/llama.cpp.git
- name: Build
- name: Build
run: |
cd llama.cpp
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=release -DWITH_CANN=on
cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DWITH_CANN=on
cmake --build . -j $(nproc)
Expand Down

0 comments on commit 3042f50

Please sign in to comment.