more fixes

This commit is contained in:
Fangjun Kuang 2023-07-26 16:59:15 +08:00
parent 6f5ab0ee14
commit 5a5895d20b

View File

@ -33,13 +33,13 @@ jobs:
run: python -c "import sys; print(sys.version)" run: python -c "import sys; print(sys.version)"
- name: Install torch - name: Install torch
if: startsWith(matrix.os, "macos") if: startsWith(matrix.os, 'macos')
shell: bash shell: bash
run: | run: |
pip install torch==${{ github.event.inputs.torch_version }} pip install torch==${{ github.event.inputs.torch_version }}
- name: Install torch - name: Install torch
if: startsWith(matrix.os, "ubuntu") || startsWith(matrix.os, "windows") if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'windows')
shell: bash shell: bash
run: | run: |
pip install torch==${{ github.event.inputs.torch_version }}+cpu -f https://download.pytorch.org/whl/torch_stable.html pip install torch==${{ github.event.inputs.torch_version }}+cpu -f https://download.pytorch.org/whl/torch_stable.html