Skip to content

Model analysis in Object Detection #295

Model analysis in Object Detection

Model analysis in Object Detection #295

Workflow file for this run

name: Waffle Hub multi-gpu(ddp) test on self-hosted runner
on:
pull_request:
branches: ["*"]
jobs:
Tests:
timeout-minutes: 60
runs-on: self-hosted
strategy:
fail-fast: false
matrix:
python-version: ['3.9']
pytorch-version: [
'torch==1.13.1+cu117 torchvision==0.14.1+cu117 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu117',
'torch==2.0.0+cu117 torchvision==0.15.1+cu117 torchaudio==2.0.1 --index-url https://download.pytorch.org/whl/cu117',
'torch==2.0.1+cu117 torchvision==0.15.2+cu117 torchaudio==2.0.2+cu117 --index-url https://download.pytorch.org/whl/cu117'
]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install requirements
run: |
python -m pip install --upgrade pip wheel
pip install ${{ matrix.pytorch-version }}
pip install -r requirements.txt
pip install pytest
shell: bash # for Windows compatibility
- name: Check environment
run: |
python --version
pip --version
pip list
- name: Pytest tests
shell: bash # for Windows compatibility
run: python -m pytest tests/test_ddp.py -v