Skip to content

Commit

Permalink
fix mmcls dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
xiexinch committed Apr 6, 2023
1 parent c83ed69 commit 9bb1d6d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 46 deletions.
5 changes: 2 additions & 3 deletions .circleci/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
pip install git+https://github.com/open-mmlab/mmengine.git@main
pip install -U openmim
mim install 'mmcv>=2.0.0rc4'
pip install git+https://github.com/open-mmlab/[email protected]
pip install mmcls==1.0.0rc6
pip install git+https://github.com/open-mmlab/[email protected]
pip install -r requirements/tests.txt -r requirements/optional.txt
- run:
Expand Down Expand Up @@ -96,7 +96,6 @@ jobs:
name: Clone Repos
command: |
git clone -b main --depth 1 https://github.com/open-mmlab/mmengine.git /home/circleci/mmengine
git clone -b dev-1.x --depth 1 https://github.com/open-mmlab/mmclassification.git /home/circleci/mmclassification
git clone -b dev-3.x --depth 1 https://github.com/open-mmlab/mmdetection.git /home/circleci/mmdetection
- run:
name: Build Docker image
Expand All @@ -109,7 +108,7 @@ jobs:
docker exec mmseg pip install -e /mmengine
docker exec mmseg pip install -U openmim
docker exec mmseg mim install 'mmcv>=2.0.0rc4'
docker exec mmseg pip install -e /mmclassification
docker exec mmseg pip install mmcls==1.0.0rc6
docker exec mmseg pip install -e /mmdetection
docker exec mmseg pip install -r requirements/tests.txt -r requirements/optional.txt
- run:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/merge_stage_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
pip install -U openmim
pip install git+https://github.com/open-mmlab/mmengine.git
mim install 'mmcv>=2.0.0rc4'
pip install git+https://github.com/open-mmlab/[email protected]
pip install mmcls==1.0.0rc6
pip install git+https://github.com/open-mmlab/[email protected]
- name: Install unittest dependencies
run: pip install -r requirements/tests.txt -r requirements/optional.txt
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
pip install -U openmim
pip install git+https://github.com/open-mmlab/mmengine.git
mim install 'mmcv>=2.0.0rc4'
pip install git+https://github.com/open-mmlab/[email protected]
pip install mmcls==1.0.0rc6
pip install git+https://github.com/open-mmlab/[email protected]
- name: Install unittest dependencies
run: pip install -r requirements/tests.txt -r requirements/optional.txt
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
pip install -U openmim
pip install git+https://github.com/open-mmlab/mmengine.git
mim install 'mmcv>=2.0.0rc4'
pip install git+https://github.com/open-mmlab/[email protected]
pip install mmcls==1.0.0rc6
pip install git+https://github.com/open-mmlab/[email protected]
- name: Install unittest dependencies
run: pip install -r requirements/tests.txt -r requirements/optional.txt
Expand Down
42 changes: 2 additions & 40 deletions .github/workflows/pr_stage_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
pip install -U openmim
pip install git+https://github.com/open-mmlab/mmengine.git
mim install 'mmcv>=2.0.0rc4'
pip install git+https://github.com/open-mmlab/[email protected]
pip install mmcls==1.0.0rc6
pip install git+https://github.com/open-mmlab/[email protected]
- name: Install unittest dependencies
run: pip install -r requirements/tests.txt -r requirements/optional.txt
Expand All @@ -66,44 +66,6 @@ jobs:
env_vars: OS,PYTHON
name: codecov-umbrella
fail_ci_if_error: false

# build_cu102:
# runs-on: ubuntu-22.04
# container:
# image: pytorch/pytorch:1.8.1-cuda10.2-cudnn7-devel
# env:
# MKL_THREADING_LAYER: GNU
# strategy:
# matrix:
# python-version: [3.7]
# steps:
# - uses: actions/checkout@v3
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python-version }}
# - name: Upgrade pip
# run: pip install pip --upgrade
# - name: Fetch GPG keys
# run: |
# apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
# apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
# - name: Install system dependencies
# run: apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libxrender-dev libxext6
# - name: Install mmseg dependencies
# run: |
# python -V
# pip install -U openmim
# pip install git+https://github.com/open-mmlab/mmengine.git
# mim install 'mmcv>=2.0.0rc4'
# pip install git+https://github.com/open-mmlab/[email protected]
# pip install git+https://github.com/open-mmlab/[email protected]
# - name: Install unittest dependencies
# run: pip install -r requirements/tests.txt -r requirements/optional.txt
# - name: Build and install
# run: |
# python setup.py check -m -s
# TORCH_CUDA_ARCH_LIST=7.0 pip install -e .
build_windows:
runs-on: ${{ matrix.os }}
strategy:
Expand Down Expand Up @@ -131,7 +93,7 @@ jobs:
pip install -U openmim
pip install git+https://github.com/open-mmlab/mmengine.git
mim install 'mmcv>=2.0.0rc4'
pip install git+https://github.com/open-mmlab/[email protected]
pip install mmcls==1.0.0rc6
pip install git+https://github.com/open-mmlab/[email protected]
- name: Install unittest dependencies
run: pip install -r requirements/tests.txt -r requirements/optional.txt
Expand Down

0 comments on commit 9bb1d6d

Please sign in to comment.