Skip to content

Commit 4492015

Browse files
committed
disable mps back
1 parent 8468c80 commit 4492015

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci-tests-fabric.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
strategy:
3939
fail-fast: false
4040
matrix:
41-
os: [macos-14-xlarge, ubuntu-22.04, windows-2022]
41+
os: [macOS-14, ubuntu-22.04, windows-2022]
4242
config:
4343
# only run PyTorch latest
4444
- { pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.1" }
@@ -64,6 +64,8 @@ jobs:
6464
FREEZE_REQUIREMENTS: ${{ ! (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')) }}
6565
TORCH_URL_STABLE: "https://download.pytorch.org/whl/cpu/"
6666
TORCH_URL_TEST: "https://download.pytorch.org/whl/test/cpu/"
67+
# TODO: Remove this - Enable running MPS tests on this platform
68+
DISABLE_MPS: ${{ matrix.os == 'macOS-14' && '1' || '0' }}
6769
UV_TORCH_BACKEND: "cpu"
6870
steps:
6971
- uses: actions/checkout@v5

.github/workflows/ci-tests-pytorch.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
strategy:
4343
fail-fast: false
4444
matrix:
45-
os: [macos-14-xlarge, ubuntu-22.04, windows-2022]
45+
os: [macOS-14, ubuntu-22.04, windows-2022]
4646
config:
4747
# only run PyTorch latest
4848
- { pkg-name: "lightning", python-version: "3.10", pytorch-version: "2.1" }
@@ -69,6 +69,8 @@ jobs:
6969
TORCH_URL_STABLE: "https://download.pytorch.org/whl/cpu/"
7070
TORCH_URL_TEST: "https://download.pytorch.org/whl/test/cpu/"
7171
FREEZE_REQUIREMENTS: ${{ ! (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')) }}
72+
# TODO: Remove this - Enable running MPS tests on this platform
73+
DISABLE_MPS: ${{ matrix.os == 'macOS-14' && '1' || '0' }}
7274
UV_TORCH_BACKEND: "cpu"
7375
steps:
7476
- uses: actions/checkout@v5

0 commit comments

Comments
 (0)