"docs/git@developer.sourcefind.cn:OpenDAS/mmdetection3d.git" did not exist on "a8b744b547fbea939e73d1054cc3a3b5d95e93c6"
Commit 5a74f18e authored by rusty1s's avatar rusty1s
Browse files

[skip ci] bash shell

parent a47bb15a
...@@ -13,7 +13,7 @@ jobs: ...@@ -13,7 +13,7 @@ jobs:
# os: [ubuntu-18.04, macos-10.15, windows-latest] # os: [ubuntu-18.04, macos-10.15, windows-latest]
os: [windows-latest] os: [windows-latest]
# python-version: [3.6, 3.7, 3.8, 3.9] # python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.9] python-version: [3.8, 3.9]
# torch-version: [1.8.0, 1.9.0] # torch-version: [1.8.0, 1.9.0]
torch-version: [1.8.0] torch-version: [1.8.0]
# cuda-version: ['cpu', 'cu101', 'cu102', 'cu111'] # cuda-version: ['cpu', 'cu101', 'cu102', 'cu111']
...@@ -46,8 +46,9 @@ jobs: ...@@ -46,8 +46,9 @@ jobs:
- name: Install PyTorch ${{ matrix.torch-version }}+${{ matrix.cuda-version }} - name: Install PyTorch ${{ matrix.torch-version }}+${{ matrix.cuda-version }}
run: | run: |
pip install --no-cache-dir torch==${{ matrix.torch-version}} -f https://download.pytorch.org/whl/${{ matrix.cuda-version }}/torch_stable.html pip install --no-cache-dir --verbose torch==${{ matrix.torch-version}} -f https://download.pytorch.org/whl/${{ matrix.cuda-version }}/torch_stable.html
python -c "import torch; print(torch.__version__ + '+' + torch.version.cuda)" python -c "import torch; print('PyTorch:', torch.__version__)"
python -c "import torch; print('CUDA: ', torch.__version__)"
- name: Install main package for CPU - name: Install main package for CPU
if: ${{ matrix.cuda-version == 'cpu' }} if: ${{ matrix.cuda-version == 'cpu' }}
...@@ -56,7 +57,7 @@ jobs: ...@@ -56,7 +57,7 @@ jobs:
shell: shell:
bash bash
- name: Install main package with CUDA - name: Install main package for GPU
if: ${{ matrix.cuda-version != 'cpu' }} if: ${{ matrix.cuda-version != 'cpu' }}
run: | run: |
source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment