Skip to content

BabyLlama with CPP backend #56

BabyLlama with CPP backend

BabyLlama with CPP backend #56

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