Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RunningLeon committed Jun 25, 2023
1 parent 9e7a187 commit c902cf8
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 20 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ jobs:
- uses: actions/checkout@v2
- name: Install PyTorch
run: |
python -m pip install --upgrade pip
python -m pip install --no-cache-dir --upgrade pip
python -V
python -m pip show pip
python -m pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html
python -m pip install --no-cache-dir torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html
- name: Install unittest dependencies
run: |
python -m pip install openmim
python -m pip install -r requirements.txt
python -m pip install -r requirements/backends.txt
python -m pip install --no-cache-dir openmim
python -m pip install --no-cache-dir -r requirements.txt
python -m pip install --no-cache-dir -r requirements/backends.txt
python -m mim install "mmcv>=2.0.0"
python -m mim install -r requirements/codebases.txt
python -m pip install clip numba transformers numpy==1.23
python -m pip install --no-cache-dir clip numba transformers numpy==1.23
python -m pip list
- name: Install mmyolo
run: |
Expand All @@ -66,7 +66,7 @@ jobs:
- name: Run mmyolo deploy unittests
id: badge_status
run: |
python -m pip install xdoctest
python -m pip install --no-cache-dir xdoctest
cd /home/runner/work/mmyolo
pytest tests/test_deploy
- name: create badge
Expand Down Expand Up @@ -167,18 +167,18 @@ jobs:
- name: Install PyTorch
run: |
python -V
python -m pip install --upgrade pip
python -m pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html
python -m pip install --no-cache-dir --upgrade pip
python -m pip install --no-cache-dir torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html
- name: Install dependencies
run: |
python -V
export CFLAGS=`python -c 'import sysconfig;print("-I"+sysconfig.get_paths()["include"])'`
python -m pip install openmim
python -m pip install -r requirements.txt
python -m pip install -r requirements/backends.txt
python -m pip install --no-cache-dir openmim
python -m pip install --no-cache-dir -r requirements.txt
python -m pip install --no-cache-dir -r requirements/backends.txt
python -m mim install "mmcv>=2.0.0rc1"
CFLAGS=$CFLAGS python -m mim install -r requirements/codebases.txt
python -m pip install -U pycuda numpy clip numba transformers
python -m pip install --no-cache-dir -U pycuda numpy clip numba transformers
python -m pip list
- name: Build and install
run: |
Expand Down Expand Up @@ -222,18 +222,18 @@ jobs:
- name: Install PyTorch
run: |
python -V
python -m pip install --upgrade pip
python -m pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html
python -m pip install --no-cache-dir --upgrade pip
python -m pip install --no-cache-dir torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html
- name: Install dependencies
run: |
python -V
export CFLAGS=`python -c 'import sysconfig;print("-I"+sysconfig.get_paths()["include"])'`
python -m pip install openmim
python -m pip install -r requirements.txt
python -m pip install -r requirements/backends.txt
python -m pip install --no-cache-dir openmim
python -m pip install --no-cache-dir -r requirements.txt
python -m pip install --no-cache-dir -r requirements/backends.txt
python -m mim install "mmcv>=2.0.0rc1"
python -m mim install -r requirements/codebases.txt
python -m pip install -U pycuda numpy clip numba transformers
python -m pip install --no-cache-dir -U pycuda numpy clip numba transformers
python -m pip list
- name: Build and install
run: |
Expand Down
3 changes: 2 additions & 1 deletion requirements/backends.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
onnxruntime>=1.8.0
openvino-dev==2022.3.0
openvino-dev[onnx]==2022.3.0
openvino-telemetry==2022.3.0

0 comments on commit c902cf8

Please sign in to comment.