Skip to content

Commit

Permalink
addign graviton ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Aug 1, 2024
1 parent f12da93 commit 446451c
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ jobs:
run : |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov
./codecov
2 changes: 1 addition & 1 deletion .github/workflows/ci_gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ jobs:
run : |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov
./codecov
2 changes: 1 addition & 1 deletion .github/workflows/regression_tests_cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ jobs:
env:
TS_MAC_ARM64_CPU_ONLY: ${{ matrix.os == 'macos-latest' && 'True' || 'False' }}
run: |
python test/regression_tests.py
python test/regression_tests.py
2 changes: 1 addition & 1 deletion .github/workflows/regression_tests_gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ jobs:
- name: Torchserve Regression Tests
run: |
export TS_RUN_IN_DOCKER=False
python test/regression_tests.py
python test/regression_tests.py
21 changes: 11 additions & 10 deletions .github/workflows/regression_tests_gpu_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
python-version: ["3.8", "3.9", "3.10"]
binaries: ["pypi", "conda"]
steps:
- name: Clean up previous run
Expand All @@ -34,11 +34,12 @@ jobs:
with:
miniconda-version: "latest"
python-version: ${{ matrix.python-version }}
# - name: Setup Python ${{ matrix.python-version }}
# uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python-version }}
- run: python3 --version
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- run: python --version
- run: conda --version
- name: Setup Java 17
uses: actions/setup-java@v3
Expand All @@ -50,14 +51,14 @@ jobs:
run: |
echo "=====CHECK ENV AND PYTHON VERSION===="
/home/ubuntu/actions-runner/_work/serve/serve/3/condabin/conda info --envs
python3 --version
python --version
echo "=====RUN INSTALL DEPENDENCIES===="
python3 ts_scripts/install_dependencies.py --environment=dev --cuda=cu121
python ts_scripts/install_dependencies.py --environment=dev --cuda=cu121
- name: Torchserve Regression Tests
shell: bash -el {0}
run: |
echo "=====CHECK ENV AND PYTHON VERSION===="
/home/ubuntu/actions-runner/_work/serve/serve/3/condabin/conda info --envs
python3 --version
python --version
echo "=====RUN REGRESSION TESTS===="
python3 test/regression_tests.py --binaries --${{ matrix.binaries }} --nightly
python test/regression_tests.py --binaries --${{ matrix.binaries }} --nightly

0 comments on commit 446451c

Please sign in to comment.