Skip to content

Commit

Permalink
path testing
Browse files Browse the repository at this point in the history
  • Loading branch information
udaij12 committed Oct 31, 2023
1 parent 888e9ce commit b1bf5eb
Showing 1 changed file with 45 additions and 52 deletions.
97 changes: 45 additions & 52 deletions .github/workflows/regression_tests_gpu_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,55 +26,43 @@ jobs:
sudo rm -rf ./* || true
sudo rm -rf ./.??* || true
ls -la ./
- name: Checkout TorchServe
uses: actions/checkout@v3
- name: conda env
shell: bash -el {0}
- uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Setup Conda
uses: s-weigand/setup-conda@v1
with:
update-conda: true
python-version: ${{ matrix.python-version }}
conda-channels: anaconda, conda-forge
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: debug
run: |
conda create -n python38 python=3.8
conda activate
python --version
python ts_scripts/install_dependencies.py --environment=dev --cuda=cu121
python test/regression_tests.py --binaries --${{ matrix.binaries }} --nightly
# - uses: conda-incubator/setup-miniconda@v2
# with:
# miniconda-version: "latest"
# python-version: ${{ matrix.python-version }}
# activate-environment: "foo"
# - name: Setup Python ${{ matrix.python-version }}
# uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python-version }}
# architecture: x64
# - name: Setup Conda
# uses: s-weigand/setup-conda@v1
# with:
# update-conda: true
# python-version: ${{ matrix.python-version }}
# conda-channels: anaconda, conda-forge
# - name: Setup Python ${{ matrix.python-version }}
# uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python-version }}
# architecture: x64
# - name: debug
# run: |
# which python
# echo $PATH
# which conda
# echo $GITHUB_PATH

echo "3/condabin" >>"${GITHUB_PATH}"
which python
echo $PATH
which conda
echo $GITHUB_PATH
which python3.8
# - name: Setup Anaconda
# run: |
# conda install -y conda-build anaconda-client
# - run: python --version
# - run: conda --version
# - name: Setup Java 17
# uses: actions/setup-java@v3
# with:
# distribution: 'zulu'
# java-version: '17'
- run: python --version
- run: conda --version
- name: Setup Java 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'

# - name: Clean up previous run
# run: |
Expand Down Expand Up @@ -104,10 +92,15 @@ jobs:
# - run: conda --version
# - run: python --version


# - name: Install dependencies
# run: |
# python ts_scripts/install_dependencies.py --environment=dev --cuda=cu121
# - name: Torchserve Regression Tests
# run: |
# python test/regression_tests.py --binaries --${{ matrix.binaries }} --nightly
- name: Checkout TorchServe
uses: actions/checkout@v3
- name: debug 2
shell: bash -el {0}
run: |
conda list
- name: Install dependencies
run: |
python ts_scripts/install_dependencies.py --environment=dev --cuda=cu121
- name: Torchserve Regression Tests
run: |
python test/regression_tests.py --binaries --${{ matrix.binaries }} --nightly

0 comments on commit b1bf5eb

Please sign in to comment.