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 21, 2024
1 parent 655645e commit 6bc423a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/llamacpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ jobs:
run: |
cat /root/.bashrc
cat /usr/local/Ascend/ascend-toolkit/set_env.sh
source /usr/local/Ascend/ascend-toolkit/set_env.sh
export LIBRARY_PATH=${ASCEND_TOOLKIT_HOME}/lib64:${LIBRARY_PATH}
echo "-----------111111111-----------------"
echo $LIBRARY_PATH
Expand Down Expand Up @@ -88,15 +87,14 @@ jobs:
run: |
cat /root/.bashrc
cat /usr/local/Ascend/ascend-toolkit/set_env.sh
source /usr/local/Ascend/ascend-toolkit/set_env.sh
export LIBRARY_PATH=${ASCEND_TOOLKIT_HOME}/lib64:${LIBRARY_PATH}
echo "-----------111111111-----------------"
echo $LIBRARY_PATH
echo "----------111111111111------------------"
cd llama.cpp
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DGGML_CANN=on && make -j32
cmake .. -DCMAKE_BUILD_TYPE=Release -DGGML_CANN=on && make -j32
Expand Down

0 comments on commit 6bc423a

Please sign in to comment.