Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1name: CI (cann)2 3on:4 workflow_dispatch: # allows manual triggering5 push:6 branches:7 - master8 paths: [9 '.github/workflows/build-cann.yml',10 '**/CMakeLists.txt',11 '**/.cmake',12 '**/*.h',13 '**/*.hpp',14 '**/*.c',15 '**/*.cpp'16 ]17 18 pull_request:19 types: [opened, synchronize, reopened]20 paths: [21 '.github/workflows/build-cann.yml',22 'ggml/src/ggml-cann/**'23 ]24 25concurrency:26 group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}27 cancel-in-progress: true28 29env:30 GGML_NLOOP: 331 GGML_N_THREADS: 132 LLAMA_ARG_LOG_COLORS: 133 LLAMA_ARG_LOG_PREFIX: 134 LLAMA_ARG_LOG_TIMESTAMPS: 135 36jobs:37# TODO: this build is disabled to save Github Actions resources (https://github.com/ggml-org/llama.cpp/pull/23705)38# in order to enable it again, we have to provision dedicated runners to run it39# openEuler-latest-cann:40# defaults:41# run:42# shell: bash -el {0}43# strategy:44# matrix:45# arch: [x86, aarch64]46# chip_type: ['910b', '310p']47# build: ['Release']48# use_acl_graph: ['on', 'off']49# exclude:50# # 310P does not support USE_ACL_GRAPH=on51# - chip_type: '310p'52# use_acl_graph: 'on'53# runs-on: ${{ matrix.arch == 'aarch64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}54# steps:55# - name: Checkout56# uses: actions/checkout@v657# with:58# fetch-depth: 059#60# - name: Free up disk space61# uses: ggml-org/free-disk-space@v1.3.162# with:63# tool-cache: true64#65# - name: Set container image66# id: cann-image67# run: |68# image="ascendai/cann:${{ matrix.chip_type == '910b' && '8.5.0-910b-openeuler24.03-py3.11' || '8.5.0-310p-openeuler24.03-py3.11' }}"69# echo "image=${image}" >> "${GITHUB_OUTPUT}"70#71# - name: Pull container image72# run: docker pull "${{ steps.cann-image.outputs.image }}"73#74# - name: Build75# env:76# BUILD_TYPE: ${{ matrix.build }}77# SOC_TYPE: ascend${{ matrix.chip_type }}78# USE_ACL_GRAPH: ${{ matrix.use_acl_graph }}79# run: |80# HOST_UID=$(id -u)81# HOST_GID=$(id -g)82#83# docker run --rm \84# -v "${PWD}:/workspace" \85# -w /workspace \86# -e SOC_TYPE=${SOC_TYPE} \87# -e BUILD_TYPE=${BUILD_TYPE} \88# -e USE_ACL_GRAPH=${USE_ACL_GRAPH} \89# "${{ steps.cann-image.outputs.image }}" \90# bash -lc '91# set -e92# yum install -y --setopt=install_weak_deps=False --setopt=tsflags=nodocs git gcc gcc-c++ make cmake openssl-devel93# yum clean all && rm -rf /var/cache/yum94# git config --global --add safe.directory "/workspace"95# export LD_LIBRARY_PATH=${ASCEND_TOOLKIT_HOME}/lib64:${ASCEND_TOOLKIT_HOME}/$(uname -m)-linux/devlib/:${LD_LIBRARY_PATH}96# cmake -S . -B build \97# -DCMAKE_BUILD_TYPE=${BUILD_TYPE} \98# -DGGML_CANN=on \99# -DSOC_TYPE=${SOC_TYPE} \100# -DUSE_ACL_GRAPH=${USE_ACL_GRAPH}101# cmake --build build -j $(nproc)102#103# chown -R '"${HOST_UID}"':'"${HOST_GID}"' /workspace/build104# '105 