Skip to content

Llamacpp with cpp backend #40

Llamacpp with cpp backend

Llamacpp with cpp backend #40

Workflow file for this run

name: CI CPU - CPP Build
on:
push:
branches:
- cpp_backend
pull_request:
branches:
- cpp_backend
concurrency:
group: ci-cpu-${{ github.workflow }}-${{ github.ref == 'refs/heads/cpp_backend' && github.run_number || github.ref }}
cancel-in-progress: true
jobs:
ci-cpu-cpp:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest]
steps:
- name: Checkout TorchServe
uses: actions/checkout@v2
- name: Install libtorch - macOS
if: matrix.os == 'macOS-latest'
run: |
brew install libtorch
- name: Build
run: |
cd cpp && ./build.sh --install-dependencies