Skip to content

ci: Ignore torch MPS warning on macOS runners - #834

Merged
ValerianRey merged 1 commit into
mainfrom
ci/ignore-mps-warning
Oct 30, 2026
Merged

ValerianRey merged 1 commit into
mainfrom
ci/ignore-mps-warning

Conversation

@ValerianRey

Copy link
Copy Markdown
Member

Since torch 2.15, the paravirtual GPU of the GitHub macOS runners is rejected by torch, which emits UserWarning: Skipping device Apple Paravirtual device that does not support Metal 2.0 during the first backward pass. With -W error, this makes the first autogram test fail in the scheduled Checks runs since 2026-10-28.

This ignores only that warning in the unit test step, with a comment pointing to pytorch/pytorch#202529 so the filter can be removed once it's fixed upstream. Our tests never use MPS, so no coverage is lost.

🤖 Generated with Claude Code

Since torch 2.15, the paravirtual GPU of GitHub's macOS runners is rejected
and torch warns about it during the first backward pass, which fails the
tests run with -W error. See pytorch/pytorch#202529.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ValerianRey ValerianRey added the cc: ci Conventional commit type for changes to the CI (Github workflows and actions). label Oct 30, 2026
@github-actions github-actions Bot changed the title Ignore torch MPS warning on macOS runners ci: Ignore torch MPS warning on macOS runners Oct 30, 2026
@ValerianRey
ValerianRey merged commit 8340799 into main Oct 30, 2026
19 checks passed
@ValerianRey
ValerianRey deleted the ci/ignore-mps-warning branch October 30, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cc: ci Conventional commit type for changes to the CI (Github workflows and actions).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant