Skip to content

Commit

Permalink
try to disable MPS
Browse files Browse the repository at this point in the history
  • Loading branch information
XinyuWuu committed Sep 5, 2024
1 parent 881f5be commit 3cf75f2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3cf75f2

Please sign in to comment.