disable instable CI tests for windows runners

therefore enable all pytorch versions to verify installation
This commit is contained in:
mauwii 2023-01-19 03:48:23 +01:00
parent fc5fdae562
commit d7217e3801
No known key found for this signature in database
GPG Key ID: D923DB04ADB3F5AB

View File

@ -27,9 +27,9 @@ jobs:
- linux-rocm-5_2 - linux-rocm-5_2
- linux-cpu - linux-cpu
- macos-default - macos-default
# - windows-cpu - windows-cpu
- windows-cuda-11_6 - windows-cuda-11_6
# - windows-cuda-11_7 - windows-cuda-11_7
include: include:
- pytorch: linux-cuda-11_6 - pytorch: linux-cuda-11_6
os: ubuntu-22.04 os: ubuntu-22.04
@ -49,17 +49,17 @@ jobs:
- pytorch: macos-default - pytorch: macos-default
os: macOS-12 os: macOS-12
github-env: $GITHUB_ENV github-env: $GITHUB_ENV
# - pytorch: windows-cpu - pytorch: windows-cpu
# os: windows-2022 os: windows-2022
# github-env: $env:GITHUB_ENV github-env: $env:GITHUB_ENV
- pytorch: windows-cuda-11_6 - pytorch: windows-cuda-11_6
os: windows-2022 os: windows-2022
extra-index-url: 'https://download.pytorch.org/whl/cu116' extra-index-url: 'https://download.pytorch.org/whl/cu116'
github-env: $env:GITHUB_ENV github-env: $env:GITHUB_ENV
# - pytorch: windows-cuda-11_7 - pytorch: windows-cuda-11_7
# os: windows-2022 os: windows-2022
# extra-index-url: 'https://download.pytorch.org/whl/cu117' extra-index-url: 'https://download.pytorch.org/whl/cu117'
# github-env: $env:GITHUB_ENV github-env: $env:GITHUB_ENV
name: ${{ matrix.pytorch }} on ${{ matrix.python-version }} name: ${{ matrix.pytorch }} on ${{ matrix.python-version }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
@ -119,12 +119,13 @@ jobs:
# can't use fp16 weights without a GPU # can't use fp16 weights without a GPU
- name: Run the tests - name: Run the tests
if: runner.os != 'Windows'
id: run-tests id: run-tests
# env: env:
# # Set offline mode to make sure configure preloaded successfully. # Set offline mode to make sure configure preloaded successfully.
# HF_HUB_OFFLINE: 1 HF_HUB_OFFLINE: 1
# HF_DATASETS_OFFLINE: 1 HF_DATASETS_OFFLINE: 1
# TRANSFORMERS_OFFLINE: 1 TRANSFORMERS_OFFLINE: 1
run: > run: >
invoke invoke
--no-patchmatch --no-patchmatch