build(deps): update mmdet requirement from <=3.3.0,>=3.0.0 to <=3.3.0,>=3.3.0 in /requirements #191
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: functional-test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'configs/**' | |
| - 'edgelab/**' | |
| - 'requirements/**' | |
| - 'scripts/**' | |
| - 'tools/**' | |
| - 'environment.yml' | |
| - 'environment_cuda.yml' | |
| - 'requirements.txt' | |
| - 'requirements_cuda.txt' | |
| - 'setup.py' | |
| - '.github/workflows/functional-test.yml' | |
| pull_request: | |
| branches: | |
| - dev | |
| paths: | |
| - 'configs/**' | |
| - 'edgelab/**' | |
| - 'requirements/**' | |
| - 'scripts/**' | |
| - 'tools/**' | |
| - 'environment.yml' | |
| - 'environment_cuda.yml' | |
| - 'requirements.txt' | |
| - 'requirements_cuda.txt' | |
| - 'setup.py' | |
| - '.github/workflows/functional-test.yml' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| partial-test: | |
| name: functional test for (${{ matrix.task }}, ${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 60 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| python-version: | |
| - '3.11' | |
| task: | |
| - classification | |
| - detection | |
| - pose | |
| steps: | |
| - name: checkout repository | |
| uses: actions/checkout@v4 | |
| - name: setup python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: 'pip' | |
| - name: pip install deps | |
| run: | | |
| python -m pip install --upgrade pip wheel "setuptools>=65.5,<70" | |
| python -m pip install torch==2.0.0+cpu torchvision==0.15.1+cpu torchaudio==2.0.1 --index-url https://download.pytorch.org/whl/cpu | |
| python -m pip install --no-build-isolation -r requirements/pytorch_cpu.txt | |
| python -m pip install --no-build-isolation -r requirements/base.txt | |
| python -m pip install --no-build-isolation -r requirements/inference.txt | |
| python -m pip install --no-build-isolation -r requirements/export.txt | |
| echo "ethos-u-vela>=5.0.0" > /tmp/pip-constraints.txt | |
| PIP_CONSTRAINT=/tmp/pip-constraints.txt python -m mim install -r requirements/mmlab.txt | |
| PIP_CONSTRAINT=/tmp/pip-constraints.txt python -m mim install -e . | |
| python --version | |
| python -m pip --version | |
| python -m pip list | |
| - name: fetch datasets (${{ matrix.task }}) | |
| run: | | |
| bash scripts/test_functional.sh ${{ matrix.task }} fetch | |
| - name: train models (${{ matrix.task }}) | |
| run: | | |
| bash scripts/test_functional.sh ${{ matrix.task }} train | |
| - name: export models (${{ matrix.task }}) | |
| run: | | |
| bash scripts/test_functional.sh ${{ matrix.task }} export | |
| - name: inference (${{ matrix.task }}) | |
| run: | | |
| bash scripts/test_functional.sh ${{ matrix.task }} inference |