Skip to content

Upgrade to PyTorch 2.2.1 #76

Upgrade to PyTorch 2.2.1

Upgrade to PyTorch 2.2.1 #76

Workflow file for this run

name: CI CPU - CPP Build
on:
push:
branches:
- master
pull_request:
branches:
- master
concurrency:
group: ci-cpu-${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && 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: Install dependencies
run: |
python ts_scripts/install_dependencies.py --environment=dev --cpp
- name: Build
run: |
cd cpp && ./build.sh --install-dependencies