Skip to content

Commit

Permalink
adding ci cpu graviton
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Aug 1, 2024
1 parent 446451c commit 5991181
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 1 deletion.
51 changes: 51 additions & 0 deletions .github/workflows/ci_graviton_cpu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: CI CPU

on:
workflow_dispatch:
push:
branches:
- master
pull_request:
branches:
- master
merge_group:


concurrency:
group: ci-cpu-${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_number || github.ref }}
cancel-in-progress: true

jobs:
ci-cpu:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [self-hosted, graviton-test]
steps:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: arm64
- name: Setup Java 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- name: Checkout TorchServe
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install dependencies
run: |
python ts_scripts/install_dependencies.py --environment=dev
- name: Torchserve Sanity
uses: nick-fields/retry@v3
with:
timeout_minutes: 60
max_attempts: 3
retry_on: error
command: |
python torchserve_sanity.py
2 changes: 1 addition & 1 deletion .github/workflows/regression_tests_gpu_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ jobs:
/home/ubuntu/actions-runner/_work/serve/serve/3/condabin/conda info --envs
python --version
echo "=====RUN REGRESSION TESTS===="
python test/regression_tests.py --binaries --${{ matrix.binaries }} --nightly
python test/regression_tests.py --binaries --${{ matrix.binaries }} --nightly

0 comments on commit 5991181

Please sign in to comment.