π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
ci: run torch 2.5.1 Windows legs on windows-2022 (#3903)
Dmytro Mishkin70ff242a70f8
diff --git a/.github/workflows/pr_test_cpu.yml b/.github/workflows/pr_test_cpu.ymlindex 26a5309db..d11a2812b 100644--- a/.github/workflows/pr_test_cpu.yml+++ b/.github/workflows/pr_test_cpu.yml@@ -69,6 +69,28 @@ jobs:# macOS only runs float32 tests- os: macos-latestpytorch-dtype: "float64"+ # torch 2.5.1 wheels crash with STATUS_ILLEGAL_INSTRUCTION (0xc000001d) in+ # affine_grid on the windows-2025 runner image (now rolling out as+ # windows-latest); run those legs on windows-2022 via `include` below.+ - os: windows-latest+ pytorch-version: "2.5.1"+ include:+ - os: windows-2022+ pytorch-dtype: "float32"+ python-version: "3.11"+ pytorch-version: "2.5.1"+ - os: windows-2022+ pytorch-dtype: "float64"+ python-version: "3.11"+ pytorch-version: "2.5.1"+ - os: windows-2022+ pytorch-dtype: "float32"+ python-version: "3.12"+ pytorch-version: "2.5.1"+ - os: windows-2022+ pytorch-dtype: "float64"+ python-version: "3.12"+ pytorch-version: "2.5.1"uses: ./.github/workflows/tests.ymlwith:diff --git a/.github/workflows/scheduled_test_cpu.yml b/.github/workflows/scheduled_test_cpu.ymlindex 6f0ae3aae..a7996dc89 100644--- a/.github/workflows/scheduled_test_cpu.yml+++ b/.github/workflows/scheduled_test_cpu.yml@@ -123,6 +123,7 @@ jobs:strategy:fail-fast: falsematrix:+ os: ["windows-latest"]pytorch-dtype: ["float32", "float64"]python-version: ["3.11", "3.12", "3.13"]pytorch-version: ["2.5.1", "2.9.1"]@@ -130,10 +131,31 @@ jobs:# PyTorch 2.5.1 doesn't have wheels for Python 3.13 on Windows- python-version: "3.13"pytorch-version: "2.5.1"+ # torch 2.5.1 wheels crash with STATUS_ILLEGAL_INSTRUCTION (0xc000001d) on+ # the windows-2025 runner image; run those legs on windows-2022 instead.+ - os: windows-latest+ pytorch-version: "2.5.1"+ include:+ - os: windows-2022+ pytorch-dtype: "float32"+ python-version: "3.11"+ pytorch-version: "2.5.1"+ - os: windows-2022+ pytorch-dtype: "float64"+ python-version: "3.11"+ pytorch-version: "2.5.1"+ - os: windows-2022+ pytorch-dtype: "float32"+ python-version: "3.12"+ pytorch-version: "2.5.1"+ - os: windows-2022+ pytorch-dtype: "float64"+ python-version: "3.12"+ pytorch-version: "2.5.1"uses: ./.github/workflows/tests.ymlwith:- os: "windows-latest"+ os: ${{ matrix.os }}python-version: '["${{ matrix.python-version }}"]'pytorch-version: '["${{ matrix.pytorch-version }}"]'pytorch-dtype: ${{ matrix.pytorch-dtype }}