Repository navigation
updating website packages - #231
Merged
Merged
Conversation
jeffra
approved these changes
May 26, 2020
banxingmjj
pushed a commit
to openanolis/DeepSpeed
that referenced
this pull request
Oct 31, 2026
…ixed (deepspeedai#8955) ## Summary `mps-torch-latest` has failed on **every** run since 2026-10-28 (nightly master runs included, e.g. runs deepspeedai#231 and deepspeedai#238), always at the *Install PyTorch* step within ~50s. Root cause is upstream, not a DeepSpeed change: - torch 2.15.0 (released 2026-10-28) replaced the MPS device-family check with `MTLGPUFamilyApple7` ([pytorch/pytorch#197200](pytorch/pytorch#197200)). - The paravirtual GPU of GitHub-hosted macOS runners only reports `MTLGPUFamilyMac2`, so `torch.backends.mps.is_available()` returns `False` ("Skipping device Apple Paravirtual device that does not support Metal 2.0") and the workflow's assert fires. - Tracked upstream as [pytorch/pytorch#202529](pytorch/pytorch#202529). Real Apple Silicon is unaffected; only virtualized GPUs (i.e. our CI runners) hit this. 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 touch `accelerator/**` and currently inherit a red MPS check, e.g. deepspeedai#8933. ## Verification Dispatched the workflow on both refs as a controlled A/B ([runs](https://github.com/deepspeedai/DeepSpeed/actions/workflows/mps-torch-latest.yml)): | run | ref | result | |---|---|---| | deepspeedai#244 | `master` (torch 2.15.0) | *Install PyTorch* failed in ~40s | | deepspeedai#243 | `gma/mps-pin-torch-pre-2.15` (torch 2.14.x) | *Install PyTorch* and *Install DeepSpeed* passed; unit tests running (link in run history) | The only delta between the two is the pin, which closes the causal chain. ## Notes - The pin should be reverted once pytorch/pytorch#202529 is fixed and released (a TODO comment marks the spot). - No source code is touched; only `.github/workflows/mps-torch-latest.yml`. - Not a duplicate: no open PR pins torch for the MPS workflow (searched "mps torch pin" and "202529 in:body"). 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. Signed-off-by: Ma, Guokai <guokai.ma@intel.com>
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.
Addressing the automated security alert: https://github.com/microsoft/DeepSpeed/network/alert/docs/Gemfile.lock/activesupport/open