From 3cf75f256b600e4604a039d96020c6f952ee7529 Mon Sep 17 00:00:00 2001 From: XinyuWuu Date: Thu, 5 Sep 2024 15:15:35 +0800 Subject: [PATCH] try to disable MPS --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2fab5d9a..9e82a2d1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -111,6 +111,11 @@ jobs: - name: Show dependencies run: python -m pip list + - name: disable MPS + if: runner.os == 'macOS' + run: | + sudo defaults write /Library/Preferences/com.apple.CoreDisplay useMetal -boolean no + - name: test MPS shell: bash run: python -m pytest tests/test_mps.py -s