Repository navigation
Conversation
torch 2.15.0 replaced the MPS device-family check with MTLGPUFamilyApple7, which the paravirtual GPU of GitHub-hosted macOS runners does not support, so torch.backends.mps.is_available() returns False and this workflow has failed at the install step on every run since 2026-10-28. Pin to the last known-good series and revisit when pytorch/pytorch#202529 is resolved. Signed-off-by: Ma, Guokai <guokai.ma@intel.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mps-torch-latesthas failed on every run since 2026-10-28 (nightly master runs included, e.g. runs #231 and #238), always at the Install PyTorch step within ~50s. Root cause is upstream, not a DeepSpeed change:MTLGPUFamilyApple7(pytorch/pytorch#197200).MTLGPUFamilyMac2, sotorch.backends.mps.is_available()returnsFalse("Skipping device Apple Paravirtual device that does not support Metal 2.0") and the workflow's assert fires.This PR pins
torch<2.15(last known-good series: 2.14.1) in the workflow with a comment referencing the upstream issue, restoring CI signal until the fix ships (patch release or 2.16). It also unblocks unrelated PRs that touchaccelerator/**and currently inherit a red MPS check, e.g. #8933.Verification
Dispatched the workflow on both refs as a controlled A/B (runs):
master(torch 2.15.0)gma/mps-pin-torch-pre-2.15(torch 2.14.x)The only delta between the two is the pin, which closes the causal chain.
Notes
.github/workflows/mps-torch-latest.yml.AI assistance was used to investigate the CI failure history and draft this change; the diff is a two-line workflow pin plus comment, reviewed and test-dispatched by the submitter.